ASoC: codecs: add wsa881x amplifier support
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 7 Jan 2020 13:59:29 +0000 (13:59 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 9 Jan 2020 21:19:00 +0000 (21:19 +0000)
commita0aab9e1404ac9f8a300b4546cac3c38e04d07bf
tree7377e41e4600de84b279c72a8b5a85093faf89a4
parentfbcdf32f6b54266132c6697a80f49c0c494b8877
ASoC: codecs: add wsa881x amplifier support

This patch adds support to WSA8810/WSA8815 Class-D Smart Speaker
Amplifier. This Amplifier is primarily interfaced with SoundWire.
One WSA is used for mono speaker configuration and second one
would give stereo setup.

This patch is tested on SDM845 based DragonBoard DB845c and
Lenovo YOGA C630 Laptop based on SDM850 with WSA8815
speaker amplifiers.

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