mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 22:14:03 +02:00
ASoC: codecs: add Qualcomm WSA885X codec driver
Add an ASoC codec driver for the Qualcomm WSA885X stereo smart speaker amplifier. The driver programs the register map, handles reset and interrupt support, exposes DAI operations for PCM/TDM playback, and provides mixer controls for usage mode, speaker volume and RX slot mask. Keep stream-time power-state sequencing in the DAI callbacks and use regmap for the control path. Signed-off-by: Prasad Kumpatla <prasad.kumpatla@oss.qualcomm.com> Link: https://patch.msgid.link/20260715115220.3093799-3-prasad.kumpatla@oss.qualcomm.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
9151afc314
commit
1d0368c987
|
|
@ -367,6 +367,7 @@ config SND_SOC_ALL_CODECS
|
|||
imply SND_SOC_WSA881X
|
||||
imply SND_SOC_WSA883X
|
||||
imply SND_SOC_WSA884X
|
||||
imply SND_SOC_WSA885X
|
||||
imply SND_SOC_ZL38060
|
||||
help
|
||||
Normally ASoC codec drivers are only built if a machine driver which
|
||||
|
|
@ -2770,6 +2771,16 @@ config SND_SOC_WSA884X
|
|||
This enables support for Qualcomm WSA8840/WSA8845/WSA8845H Class-D
|
||||
Smart Speaker Amplifier.
|
||||
|
||||
config SND_SOC_WSA885X
|
||||
tristate "WSA885X Codec"
|
||||
depends on I2C
|
||||
select REGMAP_I2C
|
||||
help
|
||||
This enables support for Qualcomm WSA885X Stereo Smart Speaker
|
||||
Amplifier. The codec driver programs the amplifier register
|
||||
map and exposes the DAI and mixer controls used by Qualcomm
|
||||
audio machine drivers.
|
||||
|
||||
config SND_SOC_ZL38060
|
||||
tristate "Microsemi ZL38060 Connected Home Audio Processor"
|
||||
depends on SPI_MASTER
|
||||
|
|
|
|||
|
|
@ -426,6 +426,7 @@ snd-soc-wm-hubs-y := wm_hubs.o
|
|||
snd-soc-wsa881x-y := wsa881x.o
|
||||
snd-soc-wsa883x-y := wsa883x.o
|
||||
snd-soc-wsa884x-y := wsa884x.o
|
||||
snd-soc-wsa885x-y := wsa885x.o
|
||||
snd-soc-zl38060-y := zl38060.o
|
||||
# Amp
|
||||
snd-soc-max9877-y := max9877.o
|
||||
|
|
@ -876,6 +877,7 @@ obj-$(CONFIG_SND_SOC_WM_HUBS) += snd-soc-wm-hubs.o
|
|||
obj-$(CONFIG_SND_SOC_WSA881X) += snd-soc-wsa881x.o
|
||||
obj-$(CONFIG_SND_SOC_WSA883X) += snd-soc-wsa883x.o
|
||||
obj-$(CONFIG_SND_SOC_WSA884X) += snd-soc-wsa884x.o
|
||||
obj-$(CONFIG_SND_SOC_WSA885X) += snd-soc-wsa885x.o
|
||||
obj-$(CONFIG_SND_SOC_ZL38060) += snd-soc-zl38060.o
|
||||
|
||||
# Amp
|
||||
|
|
|
|||
1533
sound/soc/codecs/wsa885x.c
Normal file
1533
sound/soc/codecs/wsa885x.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user