This patchset adds support to Qualcomm WCD9340/WCD9341 Codec which is a standalone Hi-Fi audio codec IC. This codec supports both I2S/I2C and SLIMbus audio interfaces. On slimbus interface it supports two data lanes; 16 Tx ports and 8 Rx ports. It has Five DACs and seven dedicated interpolators, Multibutton headset control (MBHC), Active noise cancellation, Sidetone paths, MAD (mic activity detection) and codec processing engine. It supports Class-H differential earpiece out and stereo single ended headphones out. This codec also has integrated SoundWire controller. Patchset for this is already sent for review at https://lwn.net/Articles/790651/
This patchset has been tested on SDM845 based DragonBoard DB845c with WSA881x smart speaker amplifiers via soundwire and 4 DMICs.
Thanks, srini
Srinivas Kandagatla (6): ASoC: dt-bindings: add dt bindings for WCD9340/WCD9341 audio codec ASoC: wcd934x: add support to wcd9340/wcd9341 codec ASoC: wcd934x: add basic controls ASoC: wcd934x: add playback dapm widgets ASoC: wcd934x: add capture dapm widgets ASoC: wcd934x: add audio routings
.../bindings/sound/qcom,wcd934x.txt | 188 + sound/soc/codecs/Kconfig | 10 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/wcd934x.c | 5979 +++++++++++++++++ sound/soc/codecs/wcd934x.h | 426 ++ 5 files changed, 6605 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,wcd934x.txt create mode 100644 sound/soc/codecs/wcd934x.c create mode 100644 sound/soc/codecs/wcd934x.h