Skip to content

Commit 88f2009

Browse files
committed
ASoC: codecs: Add aw88166 amplifier driver
Merge series from wangweidong.a@awinic.com: Add the awinic,aw88166 property to support the aw88166 chip. The driver is for amplifiers aw88166 of Awinic Technology Corporation. The AW88166 is a high efficiency digital Smart K audio amplifier
2 parents 4103337 + 94e412c commit 88f2009

File tree

5 files changed

+2483
-0
lines changed

5 files changed

+2483
-0
lines changed

Documentation/devicetree/bindings/sound/awinic,aw88395.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ properties:
1919
enum:
2020
- awinic,aw88081
2121
- awinic,aw88083
22+
- awinic,aw88166
2223
- awinic,aw88261
2324
- awinic,aw88395
2425
- awinic,aw88399

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)