Skip to content

Commit 43b8c7d

Browse files
Srinivas-Kandagatlabroonie
authored andcommitted
ASoC: codecs: add wsa883x amplifier support
This patch adds support to WSA8830/WSA8812/WSA8835 Class-D Smart Speaker Amplifier. This Amplifier is primarily interfaced with SoundWire. This patch is tested on SM8450 MTP Board. Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 16e2f8a commit 43b8c7d

File tree

3 files changed

+1313
-0
lines changed

3 files changed

+1313
-0
lines changed

sound/soc/codecs/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ config SND_SOC_ALL_CODECS
308308
imply SND_SOC_WM9712
309309
imply SND_SOC_WM9713
310310
imply SND_SOC_WSA881X
311+
imply SND_SOC_WSA883X
311312
imply SND_SOC_ZL38060
312313
help
313314
Normally ASoC codec drivers are only built if a machine driver which
@@ -1985,6 +1986,15 @@ config SND_SOC_WSA881X
19851986
This enables support for Qualcomm WSA8810/WSA8815 Class-D
19861987
Smart Speaker Amplifier.
19871988

1989+
config SND_SOC_WSA883X
1990+
tristate "WSA883X Codec"
1991+
depends on SOUNDWIRE
1992+
select REGMAP_SOUNDWIRE
1993+
tristate
1994+
help
1995+
This enables support for Qualcomm WSA8830/WSA8835 Class-D
1996+
Smart Speaker Amplifier.
1997+
19881998
config SND_SOC_ZL38060
19891999
tristate "Microsemi ZL38060 Connected Home Audio Processor"
19902000
depends on SPI_MASTER

sound/soc/codecs/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ snd-soc-wm9712-objs := wm9712.o
338338
snd-soc-wm9713-objs := wm9713.o
339339
snd-soc-wm-hubs-objs := wm_hubs.o
340340
snd-soc-wsa881x-objs := wsa881x.o
341+
snd-soc-wsa883x-objs := wsa883x.o
341342
snd-soc-zl38060-objs := zl38060.o
342343
# Amp
343344
snd-soc-max9877-objs := max9877.o
@@ -690,6 +691,7 @@ obj-$(CONFIG_SND_SOC_WM9713) += snd-soc-wm9713.o
690691
obj-$(CONFIG_SND_SOC_WM_ADSP) += snd-soc-wm-adsp.o
691692
obj-$(CONFIG_SND_SOC_WM_HUBS) += snd-soc-wm-hubs.o
692693
obj-$(CONFIG_SND_SOC_WSA881X) += snd-soc-wsa881x.o
694+
obj-$(CONFIG_SND_SOC_WSA883X) += snd-soc-wsa883x.o
693695
obj-$(CONFIG_SND_SOC_ZL38060) += snd-soc-zl38060.o
694696

695697
# Amp

0 commit comments

Comments
 (0)