ASoC: wcd934x: add support to wcd9340/wcd9341 codec
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 19 Dec 2019 10:31:45 +0000 (10:31 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 25 Dec 2019 18:19:27 +0000 (18:19 +0000)
commita61f3b4f476eceb25274161e5a53a8d18e42610b
tree93975de0c7f8aff755d998f4c19ffa5657aefa57
parenta6b748713205242d1483a78662bf147b1aa7d90b
ASoC: wcd934x: add support to wcd9340/wcd9341 codec

Qualcomm WCD9340/WCD9341 Codec is a standalone Hi-Fi audio codec IC,
It 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,
Seven (six audio ADCs, and one VBAT ADC), 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.

This patchset adds very basic support for playback and capture
via the interpolators and ADC respectively.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20191219103153.14875-4-srinivas.kandagatla@linaro.org
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig
sound/soc/codecs/Makefile
sound/soc/codecs/wcd934x.c [new file with mode: 0644]