devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] ASoC: codecs: wsa88xx: add support for static port mapping.
@ 2024-06-27 11:55 srinivas.kandagatla
  2024-06-27 11:55 ` [PATCH 1/6] ASoC: dt-bindings: wsa883x: Document port mapping property srinivas.kandagatla
                   ` (6 more replies)
  0 siblings, 7 replies; 22+ messages in thread
From: srinivas.kandagatla @ 2024-06-27 11:55 UTC (permalink / raw)
  To: Banajit Goswami, Liam Girdwood, Mark Brown, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Jaroslav Kysela, Takashi Iwai,
	Bjorn Andersson, Konrad Dybcio
  Cc: linux-arm-msm, Neil Armstrong, alsa-devel, linux-sound,
	devicetree, linux-kernel, Krzysztof Kozlowski,
	Srinivas Kandagatla, Manikantan R

Existing way of allocating soundwire master ports on Qualcommm platforms is
dynamic, and in linear order starting from 1 to MAX_PORTS.
This will work as long as soundwire device ports are 1:1 mapped
linearly. However on most Qcom SoCs like SM8550, SM8650, x1e80100, these
are NOT mapped in that order.

The result of this is that only one speaker among the pair of speakers
is always silent, With recent changes for WSA codec to support codec
versions and along with these patches we are able to get all speakers
working on these SoCs.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
Manikantan R (1):
      ASoC: dt-bindings: wsa883x: Document port mapping property

Srinivas Kandagatla (5):
      ASoC: codecs: wsa883x: parse port-mapping information
      ASoC: dt-bindings: wsa8840: Document port mapping property
      ASoC: codecs: wsa884x: parse port-mapping information
      arm64: dts: x1e80100-crd: fix wsa soundwire port mapping
      arm64: dts: x1e80100-qcp: fix wsa soundwire port mapping

 Documentation/devicetree/bindings/sound/qcom,wsa883x.yaml | 8 ++++++++
 Documentation/devicetree/bindings/sound/qcom,wsa8840.yaml | 8 ++++++++
 arch/arm64/boot/dts/qcom/x1e80100-crd.dts                 | 4 ++++
 arch/arm64/boot/dts/qcom/x1e80100-qcp.dts                 | 2 ++
 sound/soc/codecs/wsa883x.c                                | 8 ++++++++
 sound/soc/codecs/wsa884x.c                                | 8 ++++++++
 6 files changed, 38 insertions(+)
---
base-commit: 9935be184a55dd84fc3275094f2df095491f6ea1
change-id: 20240626-port-map-ef50c3304d4a

Best regards,
-- 
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>


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

end of thread, other threads:[~2024-06-27 15:12 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-27 11:55 [PATCH 0/6] ASoC: codecs: wsa88xx: add support for static port mapping srinivas.kandagatla
2024-06-27 11:55 ` [PATCH 1/6] ASoC: dt-bindings: wsa883x: Document port mapping property srinivas.kandagatla
2024-06-27 12:05   ` Krzysztof Kozlowski
2024-06-27 11:55 ` [PATCH 2/6] ASoC: codecs: wsa883x: parse port-mapping information Srinivas Kandagatla
2024-06-27 12:06   ` Krzysztof Kozlowski
2024-06-27 13:36   ` Dmitry Baryshkov
2024-06-27 14:34     ` Srinivas Kandagatla
2024-06-27 11:55 ` [PATCH 3/6] ASoC: dt-bindings: wsa8840: Document port mapping property Srinivas Kandagatla
2024-06-27 12:06   ` Krzysztof Kozlowski
2024-06-27 11:55 ` [PATCH 4/6] ASoC: codecs: wsa884x: parse port-mapping information Srinivas Kandagatla
2024-06-27 12:07   ` Krzysztof Kozlowski
2024-06-27 12:58   ` Neil Armstrong
2024-06-27 13:38   ` Dmitry Baryshkov
2024-06-27 14:16     ` Krzysztof Kozlowski
2024-06-27 15:12       ` Dmitry Baryshkov
2024-06-27 14:34     ` Srinivas Kandagatla
2024-06-27 15:11       ` Dmitry Baryshkov
2024-06-27 11:55 ` [PATCH 5/6] arm64: dts: x1e80100-crd: fix wsa soundwire port mapping Srinivas Kandagatla
2024-06-27 12:07   ` Krzysztof Kozlowski
2024-06-27 11:55 ` [PATCH 6/6] arm64: dts: x1e80100-qcp: " Srinivas Kandagatla
2024-06-27 12:07   ` Krzysztof Kozlowski
2024-06-27 12:51 ` [PATCH 0/6] ASoC: codecs: wsa88xx: add support for static " Neil Armstrong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).