public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 00/10] qrb4210-rb2: add wsa/wcd audio playback support
@ 2024-11-01  5:31 Alexey Klimov
  2024-11-01  5:31 ` [PATCH v1 01/10] arm64: dts: qcom: sm6115: add LPASS devices Alexey Klimov
                   ` (9 more replies)
  0 siblings, 10 replies; 30+ messages in thread
From: Alexey Klimov @ 2024-11-01  5:31 UTC (permalink / raw)
  To: broonie, konradybcio, konrad.dybcio, andersson,
	srinivas.kandagatla
  Cc: tiwai, lgirdwood, perex, robh, krzk+dt, conor+dt,
	dmitry.baryshkov, linux-sound, linux-arm-msm, devicetree,
	linux-kernel

This is basically RFC, REVIEW or v1. At least to understand if splitting
wsa881x is a right direction and also it is not clear to me what should
be done to force mono output (to mix two channels together).

Unfortunately, only one amplifier is wired in hence only single speaker.
There is no support for capture, visense, reading wsa temperature yet.

This implements the playback via the following path:
RX1 from DSP is connected to rxmacro which communicates with wcd codec
using soundwire. This goes into AUX input of wcd.
wcd codec outputs analog audio into wsa amplifier which can, surprisingly,
amplify the signal.

Special thanks to Srini. Without his help and support this patchset
wouldn't be here.

This series depends on:
 -- HDMI audio playback
https://lore.kernel.org/linux-sound/20241101005925.186696-1-alexey.klimov@linaro.org/
 -- and on LPASS clock controller
https://lore.kernel.org/linux-clk/20241101012247.216825-1-alexey.klimov@linaro.org/

The other bits like fixes for rxmacro and wcd937x codecs were accepted
as far as I understand.

Alexey Klimov (10):
  arm64: dts: qcom: sm6115: add LPASS devices
  arm64: dts: qcom: sm4250: add description of soundwire pins
  arm64: dts: qcom: qrb4210-rb2: add wcd937x codec support
  ASoC: codecs: wsa881x: split into common and soundwire drivers
  dt-bindings: arm: qcom-soc: extend pattern matching for
    QRB4210/QRB2210 SoCs
  ASoC: dt-bindings: add wsa881x-i2c binding for analog mode
  ASoC: codecs: add wsa881x-i2c amplifier codec driver
  arm64: dts: qcom: qrb4210-rb2: enable wsa881x amplifier
  arm64: dts: qcom: qrb4210-rb2: add WSA audio playback support
  ASoC: qcom: sm8250: force single channel via RX_1 output

 .../devicetree/bindings/arm/qcom-soc.yaml     |    4 +-
 .../bindings/sound/qcom,wsa881x-i2c.yaml      |  103 ++
 arch/arm64/boot/dts/qcom/qrb4210-rb2.dts      |  120 +-
 arch/arm64/boot/dts/qcom/sm4250.dtsi          |   46 +
 arch/arm64/boot/dts/qcom/sm6115.dtsi          |  132 ++
 sound/soc/codecs/Kconfig                      |   15 +
 sound/soc/codecs/Makefile                     |    4 +
 sound/soc/codecs/wsa881x-common.c             |  123 ++
 sound/soc/codecs/wsa881x-common.h             |  425 +++++
 sound/soc/codecs/wsa881x-i2c.c                | 1454 +++++++++++++++++
 sound/soc/codecs/wsa881x.c                    |  493 +-----
 sound/soc/qcom/sm8250.c                       |   10 +
 12 files changed, 2445 insertions(+), 484 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/sound/qcom,wsa881x-i2c.yaml
 create mode 100644 sound/soc/codecs/wsa881x-common.c
 create mode 100644 sound/soc/codecs/wsa881x-common.h
 create mode 100644 sound/soc/codecs/wsa881x-i2c.c

-- 
2.45.2


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

end of thread, other threads:[~2024-12-12  7:23 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-01  5:31 [PATCH v1 00/10] qrb4210-rb2: add wsa/wcd audio playback support Alexey Klimov
2024-11-01  5:31 ` [PATCH v1 01/10] arm64: dts: qcom: sm6115: add LPASS devices Alexey Klimov
2024-11-01  5:31 ` [PATCH v1 02/10] arm64: dts: qcom: sm4250: add description of soundwire pins Alexey Klimov
2024-11-01  5:31 ` [PATCH v1 03/10] arm64: dts: qcom: qrb4210-rb2: add wcd937x codec support Alexey Klimov
2024-11-01  7:59   ` Krzysztof Kozlowski
2024-12-11 20:37     ` Alexey Klimov
2024-11-01  5:31 ` [PATCH v1 04/10] ASoC: codecs: wsa881x: split into common and soundwire drivers Alexey Klimov
2024-11-01  5:31 ` [PATCH v1 05/10] dt-bindings: arm: qcom-soc: extend pattern matching for QRB4210/QRB2210 SoCs Alexey Klimov
2024-11-01  7:54   ` Krzysztof Kozlowski
2024-12-11 20:12     ` Alexey Klimov
2024-11-01  5:31 ` [PATCH v1 06/10] ASoC: dt-bindings: add wsa881x-i2c binding for analog mode Alexey Klimov
2024-11-01  7:57   ` Krzysztof Kozlowski
2024-11-01  8:00     ` Krzysztof Kozlowski
2024-12-11 20:35     ` Alexey Klimov
2024-12-12  7:23       ` Krzysztof Kozlowski
2024-11-01  5:31 ` [PATCH v1 07/10] ASoC: codecs: add wsa881x-i2c amplifier codec driver Alexey Klimov
2024-11-01  8:12   ` Krzysztof Kozlowski
2024-11-01 13:12     ` Mark Brown
2024-11-01 13:53       ` Krzysztof Kozlowski
2024-11-01 14:03         ` Mark Brown
2024-12-11 21:17     ` Alexey Klimov
2024-11-01 12:02   ` Rob Herring
2024-11-01  5:31 ` [PATCH v1 08/10] arm64: dts: qcom: qrb4210-rb2: enable wsa881x amplifier Alexey Klimov
2024-11-01  8:14   ` Krzysztof Kozlowski
2024-12-12  0:46     ` Alexey Klimov
2024-11-02  9:30   ` Konrad Dybcio
2024-12-11 23:18     ` Alexey Klimov
2024-11-01  5:31 ` [PATCH v1 09/10] arm64: dts: qcom: qrb4210-rb2: add WSA audio playback support Alexey Klimov
2024-11-01  5:31 ` [PATCH v1 10/10] ASoC: qcom: sm8250: force single channel via RX_1 output Alexey Klimov
2024-11-04 11:19   ` Konrad Dybcio

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