[v9,0/2] ASoC: codecs: Add WSA881x Smart Speaker amplifier support

Message ID 20191219100328.14850-1-srinivas.kandagatla@linaro.org
Headers show
  • ASoC: codecs: Add WSA881x Smart Speaker amplifier support
Related show


Srinivas Kandagatla Dec. 19, 2019, 10:03 a.m.
This patchset adds support to WSA8810/WSA8815 Class-D Smart Speaker
Amplifier which is SoundWire interfaced.

This patchset along with DB845c machine driver and WCD934x codec driver
has been tested on SDM845 SoC based DragonBoard DB845c with two
WSA8810 and Lenovo YOGA C630 Laptop based on SDM850 with WSA8815
speaker amplifiers.

Most of the code in this driver is rework of Qualcomm downstream drivers
used in Andriod. Credits to Banajit Goswami and Patrick Lai's Team.

        Add thermal sensor support in WSA881x.


Changes since v8:
	- Moved soundwire stream handling into this codec as there is
 strong requirements on sequence of PA and soundwire port enables from hw side.

Srinivas Kandagatla (2):
  dt-bindings: ASoC: Add WSA881x bindings
  ASoC: codecs: add wsa881x amplifier support

 .../bindings/sound/qcom,wsa881x.yaml          |   68 +
 sound/soc/codecs/Kconfig                      |   10 +
 sound/soc/codecs/Makefile                     |    2 +
 sound/soc/codecs/wsa881x.c                    | 1206 +++++++++++++++++
 4 files changed, 1286 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/qcom,wsa881x.yaml
 create mode 100644 sound/soc/codecs/wsa881x.c


Alsa-devel mailing list