ASoC: rt1308-sdw: add rt1308 SdW amplifier driver
Subsystems (3)
PATCH 2/2 ASoC: rt1308-sdw: add rt1308 SdW amplifier driver
From: Shuming Fan <[email protected]>
This is the initial amplifier driver for rt1308-sdw.
Signed-off-by Shuming Fan <[email protected]>
--- sound/soc/codecs/Kconfig | 6 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/rt1308-sdw.c | 736 ++++++++++++++++++++++++++++++++++ sound/soc/codecs/rt1308-sdw.h | 169 ++++++++ 4 files changed, 913 insertions(+) create mode 100644 sound/soc/codecs/rt1308-sdw.c create mode 100644 sound/soc/codecs/rt1308-sdw.h
sound/soc/codecs/Kconfig +6 -0
@@ -167,6 +167,7 @@ config SND_SOC_ALL_CODECS select SND_SOC_RT5682 if I2C select SND_SOC_RT700_SDW if SOUNDWIRE select SND_SOC_RT711_SDW if SOUNDWIRE + select SND_SOC_RT1308_SDW if SOUNDWIRE select SND_SOC_SGTL5000 if I2C select SND_SOC_SI476X if MFD_SI476X_CORE select SND_SOC_SIMPLE_AMPLIFIER
@@ -1004,6 +1005,11 @@ config SND_SOC_RT1305 config SND_SOC_RT1308 tristate +config SND_SOC_RT1308_SDW + tristate "Realtek RT1308 Codec - SDW" + depends on SOUNDWIRE + select REGMAP_SOUNDWIRE + config SND_SOC_RT5514 tristate
sound/soc/codecs/Makefile +2 -0
@@ -154,6 +154,7 @@ snd-soc-rl6347a-objs := rl6347a.o snd-soc-rt1011-objs := rt1011.o snd-soc-rt1305-objs := rt1305.o snd-soc-rt1308-objs := rt1308.o +snd-soc-rt1308-sdw-objs := rt1308-sdw.o snd-soc-rt274-objs := rt274.o snd-soc-rt286-objs := rt286.o snd-soc-rt298-objs := rt298.o
@@ -447,6 +448,7 @@ obj-$(CONFIG_SND_SOC_RL6347A) += snd-soc-rl6347a.o obj-$(CONFIG_SND_SOC_RT1011) += snd-soc-rt1011.o obj-$(CONFIG_SND_SOC_RT1305) += snd-soc-rt1305.o obj-$(CONFIG_SND_SOC_RT1308) += snd-soc-rt1308.o +obj-$(CONFIG_SND_SOC_RT1308_SDW) += snd-soc-rt1308-sdw.o obj-$(CONFIG_SND_SOC_RT274) += snd-soc-rt274.o obj-$(CONFIG_SND_SOC_RT286) += snd-soc-rt286.o obj-$(CONFIG_SND_SOC_RT298) += snd-soc-rt298.o
sound/soc/codecs/rt1308-sdw.c new file +736 -0
736 lines not on this page · raw message
sound/soc/codecs/rt1308-sdw.h new file +169 -0
169 lines not on this page · raw message
Signature · 6 lines
2.24.1 _______________________________________________ Alsa-devel mailing list [email protected] https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 5 lines · On 1/9/20 7:46 PM, [email protected] wrote:
From: Shuming Fan <[email protected]>
This is the initial amplifier driver for rt1308-sdw.
Signed-off-by Shuming Fan <[email protected]>
this driver has also been tested extensively by Intel using Realtek 3-in-1 eval boards connected to CML/ICL/TGL reference platforms, as well as form-factor devices, so
Tested-by Pierre-Louis Bossart <[email protected]>
_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel