Skip to contentSkip to conversation

ASoC: rt715-sdca: Add RT715 sdca vendor-specific driver

PATCH In review [email protected] 2 participants 2 messages Mar 2, 2021 – Mar 8, 2021

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

PATCH 1/1 ASoC: rt715-sdca: Add RT715 sdca vendor-specific driver

From: Jack Yu <[email protected]>

This is initial sdca version of codec driver for rt715.

---
 sound/soc/codecs/Kconfig          |    7 +
 sound/soc/codecs/Makefile         |    2 +
 sound/soc/codecs/rt715-sdca-sdw.c |  278 ++++++++
 sound/soc/codecs/rt715-sdca-sdw.h |  170 +++++
 sound/soc/codecs/rt715-sdca.c     | 1076 +++++++++++++++++++++++++++++
 sound/soc/codecs/rt715-sdca.h     |  136 ++++
 6 files changed, 1669 insertions(+)
 create mode 100644 sound/soc/codecs/rt715-sdca-sdw.c
 create mode 100644 sound/soc/codecs/rt715-sdca-sdw.h
 create mode 100644 sound/soc/codecs/rt715-sdca.c
 create mode 100644 sound/soc/codecs/rt715-sdca.h
sound/soc/codecs/Kconfig +7 -0
index ae833a54bcb3..d4d3b4e87207 100644
@@ -181,6 +181,7 @@ config SND_SOC_ALL_CODECS
 	imply SND_SOC_RT700_SDW
 	imply SND_SOC_RT711_SDW
 	imply SND_SOC_RT715_SDW
+	imply SND_SOC_RT715_SDCA_SDW
 	imply SND_SOC_RT1308_SDW
 	imply SND_SOC_RT1316_SDW
 	imply SND_SOC_SGTL5000
@@ -1257,6 +1258,12 @@ config SND_SOC_RT715_SDW
 	select SND_SOC_RT715
 	select REGMAP_SOUNDWIRE
 
+config SND_SOC_RT715_SDCA_SDW
+	tristate "Realtek RT715 SDCA Codec - SDW"
+	depends on SOUNDWIRE
+	select REGMAP_SOUNDWIRE
+	select REGMAP_SOUNDWIRE_MBQ
+
 #Freescale sgtl5000 codec
 config SND_SOC_SGTL5000
 	tristate "Freescale SGTL5000 CODEC"
sound/soc/codecs/Makefile +2 -0
index 1585bc1d9a25..09dd9c168aac 100644
@@ -198,6 +198,7 @@ snd-soc-rt5682-i2c-objs := rt5682-i2c.o
 snd-soc-rt700-objs := rt700.o rt700-sdw.o
 snd-soc-rt711-objs := rt711.o rt711-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-sgtl5000-objs := sgtl5000.o
 snd-soc-alc5623-objs := alc5623.o
 snd-soc-alc5632-objs := alc5632.o
@@ -514,6 +515,7 @@ obj-$(CONFIG_SND_SOC_RT5682_SDW)	+= snd-soc-rt5682-sdw.o
 obj-$(CONFIG_SND_SOC_RT700)     += snd-soc-rt700.o
 obj-$(CONFIG_SND_SOC_RT711)     += snd-soc-rt711.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_SGTL5000)  += snd-soc-sgtl5000.o
 obj-$(CONFIG_SND_SOC_SIGMADSP)	+= snd-soc-sigmadsp.o
 obj-$(CONFIG_SND_SOC_SIGMADSP_I2C)	+= snd-soc-sigmadsp-i2c.o
sound/soc/codecs/rt715-sdca-sdw.c new file +278 -0

278 lines not on this page · raw message

sound/soc/codecs/rt715-sdca-sdw.h new file +170 -0

170 lines not on this page · raw message

sound/soc/codecs/rt715-sdca.c new file +1076 -0

1,076 lines not on this page · raw message

sound/soc/codecs/rt715-sdca.h new file +136 -0

136 lines not on this page · raw message

Signature · 1 line
2.29.0
maintainer
#1 lore raw
Quoted 1 line · On Tue, 2 Mar 2021 18:30:42 +0800, [email protected] wrote:

This is initial sdca version of codec driver for rt715.

Applied to

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

Thanks!

[1/1] ASoC: rt715-sdca: Add RT715 sdca vendor-specific driver

      commit: 393c52d2d109c802e211bbfc2f66f123620775ef

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