ASoC: rt1320: Add RT1320 SDCA vendor-specific driver
Subsystems (3)
PATCH v4 1/1 ASoC: rt1320: Add RT1320 SDCA vendor-specific driver
From: Shuming Fan <[email protected]>
This is the initial amplifier driver for rt1320.
Signed-off-by Shuming Fan <[email protected]>
--
v2: add Capture DAI for AEC feedback
v3: add some comments for blind writes/patch_code/calling sdw_slave_read_prop
add class id 1
v4: add comments for different class id
--- sound/soc/codecs/Kconfig | 7 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/rt1320-sdw.c | 2260 +++++++++++++++++++++++++++++++++ sound/soc/codecs/rt1320-sdw.h | 94 ++ 4 files changed, 2363 insertions(+) create mode 100644 sound/soc/codecs/rt1320-sdw.c create mode 100644 sound/soc/codecs/rt1320-sdw.h
sound/soc/codecs/Kconfig +7 -0
@@ -222,6 +222,7 @@ config SND_SOC_ALL_CODECS imply SND_SOC_RT1308_SDW imply SND_SOC_RT1316_SDW imply SND_SOC_RT1318_SDW + imply SND_SOC_RT1320_SDW imply SND_SOC_RT9120 imply SND_SOC_RTQ9128 imply SND_SOC_SDW_MOCKUP
@@ -1575,6 +1576,12 @@ config SND_SOC_RT1318_SDW depends on SOUNDWIRE select REGMAP_SOUNDWIRE +config SND_SOC_RT1320_SDW + tristate "Realtek RT1320 Codec - SDW" + depends on SOUNDWIRE + select REGMAP_SOUNDWIRE + select REGMAP_SOUNDWIRE_MBQ + config SND_SOC_RT5514 tristate depends on I2C
sound/soc/codecs/Makefile +2 -0
@@ -222,6 +222,7 @@ snd-soc-rt1308-y := rt1308.o snd-soc-rt1308-sdw-y := rt1308-sdw.o snd-soc-rt1316-sdw-y := rt1316-sdw.o snd-soc-rt1318-sdw-y := rt1318-sdw.o +snd-soc-rt1320-sdw-y := rt1320-sdw.o snd-soc-rt274-y := rt274.o snd-soc-rt286-y := rt286.o snd-soc-rt298-y := rt298.o
@@ -614,6 +615,7 @@ obj-$(CONFIG_SND_SOC_RT1308) += snd-soc-rt1308.o obj-$(CONFIG_SND_SOC_RT1308_SDW) += snd-soc-rt1308-sdw.o obj-$(CONFIG_SND_SOC_RT1316_SDW) += snd-soc-rt1316-sdw.o obj-$(CONFIG_SND_SOC_RT1318_SDW) += snd-soc-rt1318-sdw.o +obj-$(CONFIG_SND_SOC_RT1320_SDW) += snd-soc-rt1320-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/rt1320-sdw.c new file +2260 -0
2,260 lines not on this page · raw message
sound/soc/codecs/rt1320-sdw.h new file +94 -0
94 lines not on this page · raw message
Signature · 1 line
2.34.1
Quoted 10 lines · On 5/21/24 03:46, [email protected] wrote:
From: Shuming Fan <[email protected]>
This is the initial amplifier driver for rt1320.
Signed-off-by Shuming Fan <[email protected]>--
v2: add Capture DAI for AEC feedback
v3: add some comments for blind writes/patch_code/callingsdw_slave_read_prop
add class id 1
v4: add comments for different class id
Thanks for the update Shuming, looks good now.
Reviewed-by Pierre-Louis Bossart <[email protected]>