Commit 8ade6cc7 authored by Weidong Wang's avatar Weidong Wang Committed by Mark Brown

ASoC: codecs: Add aw88399 amplifier driver

Add i2c and amplifier registration for
aw88399 and their associated operation functions.
Signed-off-by: default avatarWeidong Wang <wangweidong.a@awinic.com>
Link: https://lore.kernel.org/r/20231025112625.959587-4-wangweidong.a@awinic.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 725f3b96
...@@ -57,6 +57,7 @@ config SND_SOC_ALL_CODECS ...@@ -57,6 +57,7 @@ config SND_SOC_ALL_CODECS
imply SND_SOC_AW87390 imply SND_SOC_AW87390
imply SND_SOC_AW88395 imply SND_SOC_AW88395
imply SND_SOC_AW88261 imply SND_SOC_AW88261
imply SND_SOC_AW88399
imply SND_SOC_BT_SCO imply SND_SOC_BT_SCO
imply SND_SOC_BD28623 imply SND_SOC_BD28623
imply SND_SOC_CHV3_CODEC imply SND_SOC_CHV3_CODEC
...@@ -680,6 +681,19 @@ config SND_SOC_AW87390 ...@@ -680,6 +681,19 @@ config SND_SOC_AW87390
sound quality, which is a new high efficiency, low sound quality, which is a new high efficiency, low
noise, constant large volume, 6th Smart K audio amplifier. noise, constant large volume, 6th Smart K audio amplifier.
config SND_SOC_AW88399
tristate "Soc Audio for awinic aw88399"
depends on I2C
select CRC8
select REGMAP_I2C
select GPIOLIB
select SND_SOC_AW88399_LIB
help
This option enables support for aw88399 Smart PA.
The awinic AW88399 is an I2S/TDM input, high efficiency
digital Smart K audio amplifier and SKTune speaker
protection algorithms.
config SND_SOC_BD28623 config SND_SOC_BD28623
tristate "ROHM BD28623 CODEC" tristate "ROHM BD28623 CODEC"
help help
......
...@@ -52,6 +52,7 @@ snd-soc-aw88395-lib-objs := aw88395/aw88395_lib.o ...@@ -52,6 +52,7 @@ snd-soc-aw88395-lib-objs := aw88395/aw88395_lib.o
snd-soc-aw88395-objs := aw88395/aw88395.o \ snd-soc-aw88395-objs := aw88395/aw88395.o \
aw88395/aw88395_device.o aw88395/aw88395_device.o
snd-soc-aw88261-objs := aw88261.o snd-soc-aw88261-objs := aw88261.o
snd-soc-aw88399-objs := aw88399.o
snd-soc-bd28623-objs := bd28623.o snd-soc-bd28623-objs := bd28623.o
snd-soc-bt-sco-objs := bt-sco.o snd-soc-bt-sco-objs := bt-sco.o
snd-soc-chv3-codec-objs := chv3-codec.o snd-soc-chv3-codec-objs := chv3-codec.o
...@@ -440,6 +441,7 @@ obj-$(CONFIG_SND_SOC_AW87390) += snd-soc-aw87390.o ...@@ -440,6 +441,7 @@ obj-$(CONFIG_SND_SOC_AW87390) += snd-soc-aw87390.o
obj-$(CONFIG_SND_SOC_AW88395_LIB) += snd-soc-aw88395-lib.o obj-$(CONFIG_SND_SOC_AW88395_LIB) += snd-soc-aw88395-lib.o
obj-$(CONFIG_SND_SOC_AW88395) +=snd-soc-aw88395.o obj-$(CONFIG_SND_SOC_AW88395) +=snd-soc-aw88395.o
obj-$(CONFIG_SND_SOC_AW88261) +=snd-soc-aw88261.o obj-$(CONFIG_SND_SOC_AW88261) +=snd-soc-aw88261.o
obj-$(CONFIG_SND_SOC_AW88399) += snd-soc-aw88399.o
obj-$(CONFIG_SND_SOC_BD28623) += snd-soc-bd28623.o obj-$(CONFIG_SND_SOC_BD28623) += snd-soc-bd28623.o
obj-$(CONFIG_SND_SOC_BT_SCO) += snd-soc-bt-sco.o obj-$(CONFIG_SND_SOC_BT_SCO) += snd-soc-bt-sco.o
obj-$(CONFIG_SND_SOC_CHV3_CODEC) += snd-soc-chv3-codec.o obj-$(CONFIG_SND_SOC_CHV3_CODEC) += snd-soc-chv3-codec.o
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment