Skip to content

Commit 88264e4

Browse files
wangweidongabroonie
authored andcommitted
ASoC: codecs: Add aw88081 amplifier driver
The driver is for amplifiers aw88081 of Awinic Technology Corporation. The awinic AW88081 is an I2S/TDM input, high efficiency digital Smart K audio amplifier Signed-off-by: Weidong Wang <[email protected]> Reviewed-by: anish kumar <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 1d534bf commit 88264e4

File tree

4 files changed

+1387
-0
lines changed

4 files changed

+1387
-0
lines changed

sound/soc/codecs/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ config SND_SOC_ALL_CODECS
5757
imply SND_SOC_AW8738
5858
imply SND_SOC_AW87390
5959
imply SND_SOC_AW88395
60+
imply SND_SOC_AW88081
6061
imply SND_SOC_AW88261
6162
imply SND_SOC_AW88399
6263
imply SND_SOC_BT_SCO
@@ -689,6 +690,17 @@ config SND_SOC_AW88261
689690
boost converter can be adjusted smartly according to
690691
the input amplitude.
691692

693+
config SND_SOC_AW88081
694+
tristate "Soc Audio for awinic aw88081"
695+
depends on I2C
696+
select REGMAP_I2C
697+
select SND_SOC_AW88395_LIB
698+
help
699+
This option enables support for aw88081 Smart PA.
700+
The awinic AW88081 is an I2S/TDM input, high efficiency
701+
digital Smart K audio amplifier. Due to its 9uV noise
702+
floor and ultra-low distortion, clean listening is guaranteed.
703+
692704
config SND_SOC_AW87390
693705
tristate "Soc Audio for awinic aw87390"
694706
depends on I2C

sound/soc/codecs/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ snd-soc-arizona-y := arizona.o arizona-jack.o
4949
snd-soc-audio-iio-aux-y := audio-iio-aux.o
5050
snd-soc-aw8738-y := aw8738.o
5151
snd-soc-aw87390-y := aw87390.o
52+
snd-soc-aw88081-y := aw88081.o
5253
snd-soc-aw88395-lib-y := aw88395/aw88395_lib.o
5354
snd-soc-aw88395-y := aw88395/aw88395.o \
5455
aw88395/aw88395_device.o
@@ -465,6 +466,7 @@ obj-$(CONFIG_SND_SOC_ARIZONA) += snd-soc-arizona.o
465466
obj-$(CONFIG_SND_SOC_AUDIO_IIO_AUX) += snd-soc-audio-iio-aux.o
466467
obj-$(CONFIG_SND_SOC_AW8738) += snd-soc-aw8738.o
467468
obj-$(CONFIG_SND_SOC_AW87390) += snd-soc-aw87390.o
469+
obj-$(CONFIG_SND_SOC_AW88081) += snd-soc-aw88081.o
468470
obj-$(CONFIG_SND_SOC_AW88395_LIB) += snd-soc-aw88395-lib.o
469471
obj-$(CONFIG_SND_SOC_AW88395) +=snd-soc-aw88395.o
470472
obj-$(CONFIG_SND_SOC_AW88261) +=snd-soc-aw88261.o

0 commit comments

Comments
 (0)