Skip to content

Commit 8ade6cc

Browse files
wangweidongabroonie
authored andcommitted
ASoC: codecs: Add aw88399 amplifier driver
Add i2c and amplifier registration for aw88399 and their associated operation functions. Signed-off-by: Weidong Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 725f3b9 commit 8ade6cc

File tree

4 files changed

+2526
-0
lines changed

4 files changed

+2526
-0
lines changed

sound/soc/codecs/Kconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ config SND_SOC_ALL_CODECS
5757
imply SND_SOC_AW87390
5858
imply SND_SOC_AW88395
5959
imply SND_SOC_AW88261
60+
imply SND_SOC_AW88399
6061
imply SND_SOC_BT_SCO
6162
imply SND_SOC_BD28623
6263
imply SND_SOC_CHV3_CODEC
@@ -680,6 +681,19 @@ config SND_SOC_AW87390
680681
sound quality, which is a new high efficiency, low
681682
noise, constant large volume, 6th Smart K audio amplifier.
682683

684+
config SND_SOC_AW88399
685+
tristate "Soc Audio for awinic aw88399"
686+
depends on I2C
687+
select CRC8
688+
select REGMAP_I2C
689+
select GPIOLIB
690+
select SND_SOC_AW88399_LIB
691+
help
692+
This option enables support for aw88399 Smart PA.
693+
The awinic AW88399 is an I2S/TDM input, high efficiency
694+
digital Smart K audio amplifier and SKTune speaker
695+
protection algorithms.
696+
683697
config SND_SOC_BD28623
684698
tristate "ROHM BD28623 CODEC"
685699
help

sound/soc/codecs/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ snd-soc-aw88395-lib-objs := aw88395/aw88395_lib.o
5252
snd-soc-aw88395-objs := aw88395/aw88395.o \
5353
aw88395/aw88395_device.o
5454
snd-soc-aw88261-objs := aw88261.o
55+
snd-soc-aw88399-objs := aw88399.o
5556
snd-soc-bd28623-objs := bd28623.o
5657
snd-soc-bt-sco-objs := bt-sco.o
5758
snd-soc-chv3-codec-objs := chv3-codec.o
@@ -440,6 +441,7 @@ obj-$(CONFIG_SND_SOC_AW87390) += snd-soc-aw87390.o
440441
obj-$(CONFIG_SND_SOC_AW88395_LIB) += snd-soc-aw88395-lib.o
441442
obj-$(CONFIG_SND_SOC_AW88395) +=snd-soc-aw88395.o
442443
obj-$(CONFIG_SND_SOC_AW88261) +=snd-soc-aw88261.o
444+
obj-$(CONFIG_SND_SOC_AW88399) += snd-soc-aw88399.o
443445
obj-$(CONFIG_SND_SOC_BD28623) += snd-soc-bd28623.o
444446
obj-$(CONFIG_SND_SOC_BT_SCO) += snd-soc-bt-sco.o
445447
obj-$(CONFIG_SND_SOC_CHV3_CODEC) += snd-soc-chv3-codec.o

0 commit comments

Comments
 (0)