Commit 7228d835 authored by ChiYuan Huang's avatar ChiYuan Huang Committed by Mark Brown

ASoC: rt9120: Add rt9210 audio amplifier support

Add Richtek rt9120 audio amplifier support.
Signed-off-by: default avatarChiYuan Huang <cy_huang@richtek.com>
Link: https://lore.kernel.org/r/1634088519-995-3-git-send-email-u0084500@gmail.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent f9d4b015
...@@ -191,6 +191,7 @@ config SND_SOC_ALL_CODECS ...@@ -191,6 +191,7 @@ config SND_SOC_ALL_CODECS
imply SND_SOC_RT715_SDCA_SDW imply SND_SOC_RT715_SDCA_SDW
imply SND_SOC_RT1308_SDW imply SND_SOC_RT1308_SDW
imply SND_SOC_RT1316_SDW imply SND_SOC_RT1316_SDW
imply SND_SOC_RT9120
imply SND_SOC_SDW_MOCKUP imply SND_SOC_SDW_MOCKUP
imply SND_SOC_SGTL5000 imply SND_SOC_SGTL5000
imply SND_SOC_SI476X imply SND_SOC_SI476X
...@@ -1307,6 +1308,15 @@ config SND_SOC_RT715_SDCA_SDW ...@@ -1307,6 +1308,15 @@ config SND_SOC_RT715_SDCA_SDW
select REGMAP_SOUNDWIRE select REGMAP_SOUNDWIRE
select REGMAP_SOUNDWIRE_MBQ select REGMAP_SOUNDWIRE_MBQ
config SND_SOC_RT9120
tristate "Richtek RT9120 Stereo Class-D Amplifier"
depends on I2C
select REGMAP_I2C
select GPIOLIB
help
Enable support for Richtek RT9120 20W, stereo, inductor-less,
high-efficiency Class-D audio amplifier.
config SND_SOC_SDW_MOCKUP config SND_SOC_SDW_MOCKUP
tristate "SoundWire mockup codec" tristate "SoundWire mockup codec"
depends on EXPERT depends on EXPERT
......
...@@ -207,6 +207,7 @@ snd-soc-rt711-objs := rt711.o rt711-sdw.o ...@@ -207,6 +207,7 @@ snd-soc-rt711-objs := rt711.o rt711-sdw.o
snd-soc-rt711-sdca-objs := rt711-sdca.o rt711-sdca-sdw.o snd-soc-rt711-sdca-objs := rt711-sdca.o rt711-sdca-sdw.o
snd-soc-rt715-objs := rt715.o rt715-sdw.o snd-soc-rt715-objs := rt715.o rt715-sdw.o
snd-soc-rt715-sdca-objs := rt715-sdca.o rt715-sdca-sdw.o snd-soc-rt715-sdca-objs := rt715-sdca.o rt715-sdca-sdw.o
snd-soc-rt9120-objs := rt9120.o
snd-soc-sdw-mockup-objs := sdw-mockup.o snd-soc-sdw-mockup-objs := sdw-mockup.o
snd-soc-sgtl5000-objs := sgtl5000.o snd-soc-sgtl5000-objs := sgtl5000.o
snd-soc-alc5623-objs := alc5623.o snd-soc-alc5623-objs := alc5623.o
...@@ -539,6 +540,7 @@ obj-$(CONFIG_SND_SOC_RT711) += snd-soc-rt711.o ...@@ -539,6 +540,7 @@ obj-$(CONFIG_SND_SOC_RT711) += snd-soc-rt711.o
obj-$(CONFIG_SND_SOC_RT711_SDCA_SDW) += snd-soc-rt711-sdca.o obj-$(CONFIG_SND_SOC_RT711_SDCA_SDW) += snd-soc-rt711-sdca.o
obj-$(CONFIG_SND_SOC_RT715) += snd-soc-rt715.o obj-$(CONFIG_SND_SOC_RT715) += snd-soc-rt715.o
obj-$(CONFIG_SND_SOC_RT715_SDCA_SDW) += snd-soc-rt715-sdca.o obj-$(CONFIG_SND_SOC_RT715_SDCA_SDW) += snd-soc-rt715-sdca.o
obj-$(CONFIG_SND_SOC_RT9120) += snd-soc-rt9120.o
obj-$(CONFIG_SND_SOC_SDW_MOCKUP) += snd-soc-sdw-mockup.o obj-$(CONFIG_SND_SOC_SDW_MOCKUP) += snd-soc-sdw-mockup.o
obj-$(CONFIG_SND_SOC_SGTL5000) += snd-soc-sgtl5000.o obj-$(CONFIG_SND_SOC_SGTL5000) += snd-soc-sgtl5000.o
obj-$(CONFIG_SND_SOC_SIGMADSP) += snd-soc-sigmadsp.o obj-$(CONFIG_SND_SOC_SIGMADSP) += snd-soc-sigmadsp.o
......
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