Skip to contentSkip to conversation

ASoC: rt1017: Add RT1017 SDCA amplifier driver

PATCH In review [email protected] 2 participants 2 messages Jul 18, 2023 – Jul 25, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: rt1017: Add RT1017 SDCA amplifier driver

From: Derek Fang <[email protected]>

This is the initial amplifier driver for rt1017 SDCA version.

---
 sound/soc/codecs/Kconfig           |   6 +
 sound/soc/codecs/Makefile          |   2 +
 sound/soc/codecs/rt1017-sdca-sdw.c | 824 +++++++++++++++++++++++++++++
 sound/soc/codecs/rt1017-sdca-sdw.h | 188 +++++++
 4 files changed, 1020 insertions(+)
 create mode 100644 sound/soc/codecs/rt1017-sdca-sdw.c
 create mode 100644 sound/soc/codecs/rt1017-sdca-sdw.h
sound/soc/codecs/Kconfig +6 -0
index 88c3dbe47..8aba442d1 100644
@@ -184,6 +184,7 @@ config SND_SOC_ALL_CODECS
 	imply SND_SOC_RT1015
 	imply SND_SOC_RT1015P
 	imply SND_SOC_RT1016
+	imply SND_SOC_RT1017_SDCA_SDW
 	imply SND_SOC_RT1019
 	imply SND_SOC_RT1305
 	imply SND_SOC_RT1308
@@ -1428,6 +1429,11 @@ config SND_SOC_RT1016
 	tristate
 	depends on I2C
 
+config SND_SOC_RT1017_SDCA_SDW
+	tristate "Realtek RT1017 SDCA Codec - SDW"
+	depends on SOUNDWIRE
+	select REGMAP_SOUNDWIRE
+
 config SND_SOC_RT1019
 	tristate
 	depends on I2C
sound/soc/codecs/Makefile +2 -0
index 32dcc6de5..be367839c 100644
@@ -205,6 +205,7 @@ snd-soc-rt1011-objs := rt1011.o
 snd-soc-rt1015-objs := rt1015.o
 snd-soc-rt1015p-objs := rt1015p.o
 snd-soc-rt1016-objs := rt1016.o
+snd-soc-rt1017-sdca-objs := rt1017-sdca-sdw.o
 snd-soc-rt1019-objs := rt1019.o
 snd-soc-rt1305-objs := rt1305.o
 snd-soc-rt1308-objs := rt1308.o
@@ -583,6 +584,7 @@ obj-$(CONFIG_SND_SOC_RT1011)	+= snd-soc-rt1011.o
 obj-$(CONFIG_SND_SOC_RT1015)	+= snd-soc-rt1015.o
 obj-$(CONFIG_SND_SOC_RT1015P)	+= snd-soc-rt1015p.o
 obj-$(CONFIG_SND_SOC_RT1016)	+= snd-soc-rt1016.o
+obj-$(CONFIG_SND_SOC_RT1017_SDCA_SDW)	+= snd-soc-rt1017-sdca.o
 obj-$(CONFIG_SND_SOC_RT1019)	+= snd-soc-rt1019.o
 obj-$(CONFIG_SND_SOC_RT1305)	+= snd-soc-rt1305.o
 obj-$(CONFIG_SND_SOC_RT1308)	+= snd-soc-rt1308.o
sound/soc/codecs/rt1017-sdca-sdw.c new file +824 -0

824 lines not on this page · raw message

sound/soc/codecs/rt1017-sdca-sdw.h new file +188 -0

188 lines not on this page · raw message

Signature · 1 line
2.34.1
maintainer
#1 lore raw
Quoted 3 lines · On Tue, 18 Jul 2023 16:42:38 +0800, [email protected] wrote:

This is the initial amplifier driver for rt1017 SDCA version.

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: rt1017: Add RT1017 SDCA amplifier driver

      commit: 2b7aecd58528551e6e3da58091ff7ceb4718e6be

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark