Skip to content

Commit 94e412c

Browse files
wangweidongabroonie
authored andcommitted
ASoC: codecs: Add aw88166 amplifier driver
The driver is for amplifiers aw88166 of Awinic Technology Corporation. The AW88166 is a high efficiency digital Smart K audio amplifier Signed-off-by: Weidong Wang <wangweidong.a@awinic.com> Link: https://patch.msgid.link/20250312120100.9730-3-wangweidong.a@awinic.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 399f9bd commit 94e412c

File tree

4 files changed

+2482
-0
lines changed

4 files changed

+2482
-0
lines changed

sound/soc/codecs/Kconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ config SND_SOC_ALL_CODECS
5858
imply SND_SOC_AW87390
5959
imply SND_SOC_AW88395
6060
imply SND_SOC_AW88081
61+
imply SND_SOC_AW88166
6162
imply SND_SOC_AW88261
6263
imply SND_SOC_AW88399
6364
imply SND_SOC_BT_SCO
@@ -678,6 +679,18 @@ config SND_SOC_AW88395
678679
digital Smart K audio amplifier with an integrated 10V
679680
smart boost convert.
680681

682+
config SND_SOC_AW88166
683+
tristate "Soc Audio for awinic aw88166"
684+
depends on I2C
685+
select REGMAP_I2C
686+
select GPIOLIB
687+
select SND_SOC_AW88395_LIB
688+
help
689+
This option enables support for aw88166 Smart PA.
690+
The awinic AW88166 is an I2S/TDM input, high efficiency
691+
digital Smart K audio amplifier with sound quality
692+
enhancement algorithms and speaker protection.
693+
681694
config SND_SOC_AW88261
682695
tristate "Soc Audio for awinic aw88261"
683696
depends on I2C

sound/soc/codecs/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ snd-soc-aw88081-y := aw88081.o
5353
snd-soc-aw88395-lib-y := aw88395/aw88395_lib.o
5454
snd-soc-aw88395-y := aw88395/aw88395.o \
5555
aw88395/aw88395_device.o
56+
snd-soc-aw88166-y := aw88166.o
5657
snd-soc-aw88261-y := aw88261.o
5758
snd-soc-aw88399-y := aw88399.o
5859
snd-soc-bd28623-y := bd28623.o
@@ -470,6 +471,7 @@ obj-$(CONFIG_SND_SOC_AW87390) += snd-soc-aw87390.o
470471
obj-$(CONFIG_SND_SOC_AW88081) += snd-soc-aw88081.o
471472
obj-$(CONFIG_SND_SOC_AW88395_LIB) += snd-soc-aw88395-lib.o
472473
obj-$(CONFIG_SND_SOC_AW88395) +=snd-soc-aw88395.o
474+
obj-$(CONFIG_SND_SOC_AW88166) +=snd-soc-aw88166.o
473475
obj-$(CONFIG_SND_SOC_AW88261) +=snd-soc-aw88261.o
474476
obj-$(CONFIG_SND_SOC_AW88399) += snd-soc-aw88399.o
475477
obj-$(CONFIG_SND_SOC_BD28623) += snd-soc-bd28623.o

0 commit comments

Comments
 (0)