Skip to content

Commit

Permalink
ASoC:codecs:aw883xx corresponds to the modified Makefile and Kconfig
Browse files Browse the repository at this point in the history
Modified the Makefile and Kconfig to compile aw883xx

Signed-off-by: Weidong Wang <wangweidong.a@awinic.com>
  • Loading branch information
wangweidonga authored and intel-lab-lkp committed Nov 15, 2022
1 parent 26c6cef commit c8a5709
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
10 changes: 10 additions & 0 deletions sound/soc/codecs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ config SND_SOC_ALL_CODECS
imply SND_SOC_ALC5623
imply SND_SOC_ALC5632
imply SND_SOC_AW8738
imply SND_SOC_AW883XX
imply SND_SOC_BT_SCO
imply SND_SOC_BD28623
imply SND_SOC_CQ0093VC
Expand Down Expand Up @@ -2161,4 +2162,13 @@ config SND_SOC_LPASS_TX_MACRO
select SND_SOC_LPASS_MACRO_COMMON
tristate "Qualcomm TX Macro in LPASS(Low Power Audio SubSystem)"

config SND_SOC_AW883XX
tristate "Soc Audio for awinic aw883xx series"
depends on I2C
help
this option enables support for aw883xx series Smart PA.
The Awinic AW883XX is an I2S/TDM input, high efficiency
digital Smart K audio amplifier with an integrated 10V
smart boost convert.

endmenu
7 changes: 7 additions & 0 deletions sound/soc/codecs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,11 @@ snd-soc-tas2780-objs := tas2780.o
# Mux
snd-soc-simple-mux-objs := simple-mux.o

snd_soc_aw883xx-objs := aw883xx/aw883xx.o \
aw883xx/aw883xx_init.o \
aw883xx/aw883xx_device.o \
aw883xx/aw883xx_bin_parse.o \

obj-$(CONFIG_SND_SOC_88PM860X) += snd-soc-88pm860x.o
obj-$(CONFIG_SND_SOC_AB8500_CODEC) += snd-soc-ab8500-codec.o
obj-$(CONFIG_SND_SOC_AC97_CODEC) += snd-soc-ac97.o
Expand Down Expand Up @@ -719,3 +724,5 @@ obj-$(CONFIG_SND_SOC_LPASS_TX_MACRO) += snd-soc-lpass-tx-macro.o

# Mux
obj-$(CONFIG_SND_SOC_SIMPLE_MUX) += snd-soc-simple-mux.o

obj-$(CONFIG_SND_SOC_AW883XX) +=snd_soc_aw883xx.o

0 comments on commit c8a5709

Please sign in to comment.