Devicetree
 help / color / mirror / Atom feed
* [PATCH v2 0/2] soundwire: qcom: Add Shikra soundwire support
@ 2026-09-10  6:20 Mohammad Rafi Shaik
  2026-09-10  6:20 ` [PATCH v2 1/2] dt-bindings: soundwire: qcom: add qcom,shikra-soundwire compatible Mohammad Rafi Shaik
  2026-09-10  6:20 ` [PATCH v2 2/2] soundwire: qcom: add EE-aware register layout for Shikra Mohammad Rafi Shaik
  0 siblings, 2 replies; 5+ messages in thread
From: Mohammad Rafi Shaik @ 2026-09-10  6:20 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Srinivas Kandagatla, Rao Mandadapu, Vinod Koul, Bard Liao,
	Pierre-Louis Bossart
  Cc: Mohammad Rafi Shaik, linux-arm-msm, devicetree, linux-kernel,
	linux-sound

This series adds support for the Shikra SoundWire controller.

Unlike existing Qualcomm platforms, Shikra assigns the SoundWire master
controller to EE0 instead of EE1. On SoundWire v2.0 and later hardware,
FIFO, and status registers are banked per Execution Environment (EE),
making the register layout dependent on the EE assignment.

To support this difference, the series introduces a dedicated
qcom,shikra-soundwire compatible and updates the driver to select
the appropriate register layout based on SoC match data. Existing
Soc's continue to use the default EE1 configuration without any
functional changes.

Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
---
Changes in v2:
- Drop qcom,swr-master-ee-val DT property; the EE assignment is a
  fixed SoC integration detail, not a board-level property. Encode
  it in qcom_swrm_data match data instead and introduce a dedicated
  qcom,shikra-soundwire compatible to select EE0 at probe time.
- Remove the dt-bindings patch for qcom,swr-master-ee-val (no longer needed).
- Apply EE stride offset to SWRM_V2_0_CLK_CTRL in qcom_swrm_init()
  and swrm_runtime_resume() for correctness on EE0.
- Remove the mmio guard from the INTERRUPT_CPU_EN write; always enable
  CPU IRQs for the selected EE window.
- Link to v1: https://patch.msgid.link/20260608175345.3118060-1-mohammad.rafi.shaik@oss.qualcomm.com

To: Rob Herring <robh@kernel.org>
To: Krzysztof Kozlowski <krzk+dt@kernel.org>
To: Conor Dooley <conor+dt@kernel.org>
To: Srinivas Kandagatla <srini@kernel.org>
To: Rao Mandadapu <quic_srivasam@quicinc.com>
To: Vinod Koul <vkoul@kernel.org>
To: Bard Liao <yung-chuan.liao@linux.intel.com>
To: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Cc: linux-arm-msm@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-sound@vger.kernel.org

---
Mohammad Rafi Shaik (2):
      dt-bindings: soundwire: qcom: add qcom,shikra-soundwire compatible
      soundwire: qcom: add EE-aware register layout for Shikra

 .../bindings/soundwire/qcom,soundwire.yaml         |  1 +
 drivers/soundwire/qcom.c                           | 85 ++++++++++++++++++----
 2 files changed, 72 insertions(+), 14 deletions(-)
---
base-commit: c68a982815dcce5464e3bf2a31ac94f5146c04ca
change-id: 20260910-shikra_soundwire_support-96dd8130874a

Best regards,
--  
Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-09-11  8:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-10  6:20 [PATCH v2 0/2] soundwire: qcom: Add Shikra soundwire support Mohammad Rafi Shaik
2026-09-10  6:20 ` [PATCH v2 1/2] dt-bindings: soundwire: qcom: add qcom,shikra-soundwire compatible Mohammad Rafi Shaik
2026-09-11  8:36   ` Krzysztof Kozlowski
2026-09-10  6:20 ` [PATCH v2 2/2] soundwire: qcom: add EE-aware register layout for Shikra Mohammad Rafi Shaik
2026-09-10  6:34   ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox