|
|
Log in / Subscribe / Register

soundwire: qcom: add support for v3.1.0

From:  Srinivas Kandagatla <srinivas.kandagatla-AT-oss.qualcomm.com>
To:  robh-AT-kernel.org, krzk+dt-AT-kernel.org, vkoul-AT-kernel.org
Subject:  [PATCH v4 0/7] soundwire: qcom: add support for v3.1.0
Date:  Fri, 12 Sep 2025 09:32:18 +0100
Message-ID:  <20250912083225.228778-1-srinivas.kandagatla@oss.qualcomm.com>
Cc:  conor+dt-AT-kernel.org, srini-AT-kernel.org, yung-chuan.liao-AT-linux.intel.com, pierre-louis.bossart-AT-linux.dev, linux-arm-msm-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, alexey.klimov-AT-linaro.org, linux-sound-AT-vger.kernel.org, Srinivas Kandagatla <srinivas.kandagatla-AT-oss.qualcomm.com>
Archive-link:  Article

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 T14s and Glymur reference platform.
Alexey also tested this on SM8550

Merge strategy:

I think the patches can go via soundwire tree given that Rob has
provided Reviewed-by on the of_property patch.
Vinod are you okay with this?

Changes since v3:
	- added bit more flexiblity to driver with a missmatch message
	to address incorrectly specified dt-entires.

Thanks,
Srini

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                      | 257 +++++++++++-------
 include/linux/of.h                            |   9 +
 4 files changed, 199 insertions(+), 108 deletions(-)

-- 
2.50.0




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds