Skip to content

ASoC: codecs: wsa88xx: add support for static port mapping.

[email protected] alsa-devel linux-arm-msm linux-devicetree linux-sound lkml 2 versions Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected] change-id 20240626-port-map-ef50c3304d4a

Versions newest first

  1. v2 Latest6 patches 4 repliesApplied
  2. v16 patches 15 repliesSuperseded

Changes in v2 from the cover letter

- used dev_dbg instead of dev_info
- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/6ASoC: dt-bindings: wsa883x: Document port mapping propertyDocumentation/devicetree/bindings/sound/qcom,wsa883x.yaml+8 -00 replies
2/6ASoC: codecs: wsa883x: parse port-mapping informationsound/soc/codecs/wsa883x.c+8 -01 reply
3/6ASoC: dt-bindings: wsa8840: Document port mapping propertyDocumentation/devicetree/bindings/sound/qcom,wsa8840.yaml+8 -00 replies
4/6ASoC: codecs: wsa884x: parse port-mapping informationsound/soc/codecs/wsa884x.c+8 -01 reply
5/6arm64: dts: x1e80100-crd: fix wsa soundwire port mappingarch/arm64/boot/dts/qcom/x1e80100-crd.dts+4 -00 replies
6/6arm64: dts: x1e80100-qcp: fix wsa soundwire port mappingarch/arm64/boot/dts/qcom/x1e80100-qcp.dts+2 -00 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchKrzysztof KozlowskiNeil ArmstrongDmitry Baryshkov
1/6R-b T-b
2/6R-b T-b T-b R-b
3/6R-b T-b
4/6R-b T-b R-b T-b R-b
5/6R-b T-b T-b
6/6R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/6] ASoC: codecs: wsa88xx: add support for static port mapping.

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.

---
Changes in v2:
- used dev_dbg instead of dev_info
- Link to v1: https://lore.kernel.org/r/[email protected]

---
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,

Signature · 1 line
Srinivas Kandagatla <[email protected]>