Skip to content

Commit aaa7382

Browse files
committed
ASoC: codecs: Add aw88081 amplifier driver
Merge series from [email protected]: Add the awinic,aw88081 property to support the aw88081 chip. 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
2 parents a441eff + 88264e4 commit aaa7382

File tree

5 files changed

+1390
-1
lines changed

5 files changed

+1390
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ description:
1717
properties:
1818
compatible:
1919
enum:
20-
- awinic,aw88395
20+
- awinic,aw88081
2121
- awinic,aw88261
22+
- awinic,aw88395
2223
- awinic,aw88399
2324

2425
reg:
@@ -56,6 +57,7 @@ allOf:
5657
compatible:
5758
contains:
5859
enum:
60+
- awinic,aw88081
5961
- awinic,aw88261
6062
then:
6163
properties:

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)