This patch series adds support for Qualcomm Soundwire Controller version v3.1.0. As part for adding this support, a new macro of_property_read_u8_index() is added so that we can remove the qcom,din-ports and qcom,dout-ports. As v3.1.0 supports more than 17 soundwire ports. Also due to change in the register offsets, new entries are added to the variant data. Tested this patchset on X14s and Glymur reference platform. Thanks, Srini Changes since v1: - fixed typo in non OF config of of_property_read_u8_index - adjusted scoped-based cleanup initalization. - remove unused macros. Srinivas Kandagatla (7): of: base: Add of_property_read_u8_index soundwire: qcom: remove unused rd_fifo_depth dt-bindings: soundwire: qcom: deprecate qcom,din/out-ports soundwire: qcom: deprecate qcom,din/out-ports soundwire: qcom: prepare for v3.x dt-bindings: soundwire: qcom: Document v3.1.0 version of IP block soundwire: qcom: adding support for v3.1.0 .../bindings/soundwire/qcom,soundwire.yaml | 8 +- drivers/of/property.c | 33 +++ drivers/soundwire/qcom.c | 249 ++++++++++-------- include/linux/of.h | 9 + 4 files changed, 185 insertions(+), 114 deletions(-) -- 2.50.0