Skip to contentSkip to conversation

ASoC: rt715: add RT715 codec driver

PATCH In review [email protected] 2 participants 2 messages Jan 13, 2020 – Jan 14, 2020

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

PATCH 1/1 ASoC: rt715: add RT715 codec driver

From: Jack Yu <[email protected]>

---
 sound/soc/codecs/Kconfig     |  10 +
 sound/soc/codecs/Makefile    |   2 +
 sound/soc/codecs/rt715-sdw.c | 613 ++++++++++++++++++++++++
 sound/soc/codecs/rt715-sdw.h | 337 ++++++++++++++
 sound/soc/codecs/rt715.c     | 873 +++++++++++++++++++++++++++++++++++
 sound/soc/codecs/rt715.h     | 221 +++++++++
 6 files changed, 2056 insertions(+)
 create mode 100644 sound/soc/codecs/rt715-sdw.c
 create mode 100644 sound/soc/codecs/rt715-sdw.h
 create mode 100644 sound/soc/codecs/rt715.c
 create mode 100644 sound/soc/codecs/rt715.h
sound/soc/codecs/Kconfig +10 -0
index 65b81888ca3d..cb27ab37a8db 100644
@@ -166,6 +166,7 @@ config SND_SOC_ALL_CODECS
 	select SND_SOC_RT5677 if I2C && SPI_MASTER
 	select SND_SOC_RT5682 if I2C
 	select SND_SOC_RT711_SDW if SOUNDWIRE
+	select SND_SOC_RT715_SDW if SOUNDWIRE
 	select SND_SOC_SGTL5000 if I2C
 	select SND_SOC_SI476X if MFD_SI476X_CORE
 	select SND_SOC_SIMPLE_AMPLIFIER
@@ -1069,6 +1070,15 @@ config SND_SOC_RT711_SDW
 	select SND_SOC_RT711
 	select REGMAP_SOUNDWIRE
 
+config SND_SOC_RT715
+	tristate
+
+config SND_SOC_RT715_SDW
+	tristate "Realtek RT715 Codec - SDW"
+	depends on SOUNDWIRE
+	select SND_SOC_RT715
+	select REGMAP_SOUNDWIRE
+
 #Freescale sgtl5000 codec
 config SND_SOC_SGTL5000
 	tristate "Freescale SGTL5000 CODEC"
sound/soc/codecs/Makefile +2 -0
index f4dfe033d120..b1ac7461d7a0 100644
@@ -174,6 +174,7 @@ snd-soc-rt5677-objs := rt5677.o
 snd-soc-rt5677-spi-objs := rt5677-spi.o
 snd-soc-rt5682-objs := rt5682.o
 snd-soc-rt711-objs := rt711.o rt711-sdw.o
+snd-soc-rt715-objs := rt715.o rt715-sdw.o
 snd-soc-sgtl5000-objs := sgtl5000.o
 snd-soc-alc5623-objs := alc5623.o
 snd-soc-alc5632-objs := alc5632.o
@@ -467,6 +468,7 @@ obj-$(CONFIG_SND_SOC_RT5677)	+= snd-soc-rt5677.o
 obj-$(CONFIG_SND_SOC_RT5677_SPI)	+= snd-soc-rt5677-spi.o
 obj-$(CONFIG_SND_SOC_RT5682)	+= snd-soc-rt5682.o
 obj-$(CONFIG_SND_SOC_RT711)     += snd-soc-rt711.o
+obj-$(CONFIG_SND_SOC_RT715)     += snd-soc-rt715.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-sdw.c new file +613 -0

613 lines not on this page · raw message

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

337 lines not on this page · raw message

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

873 lines not on this page · raw message

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

221 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
maintainer
#1 lore raw

[alsa-devel] Applied "ASoC: rt715: add RT715 codec driver" to the asoc tree

The patch

ASoC: rt715: add RT715 codec driver

has been applied to the asoc tree at

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

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

From d1ede0641b05e43542a6af330f6ca41014a02a5f Mon Sep 17 00:00:00 2001
From: Jack Yu <[email protected]>
Date: Fri, 10 Jan 2020 10:18:21 +0800
Subject: [PATCH] ASoC: rt715: add RT715 codec driver

---
 sound/soc/codecs/Kconfig     |  10 +
 sound/soc/codecs/Makefile    |   2 +
 sound/soc/codecs/rt715-sdw.c | 613 ++++++++++++++++++++++++
 sound/soc/codecs/rt715-sdw.h | 337 ++++++++++++++
 sound/soc/codecs/rt715.c     | 873 +++++++++++++++++++++++++++++++++++
 sound/soc/codecs/rt715.h     | 221 +++++++++
 6 files changed, 2056 insertions(+)
 create mode 100644 sound/soc/codecs/rt715-sdw.c
 create mode 100644 sound/soc/codecs/rt715-sdw.h
 create mode 100644 sound/soc/codecs/rt715.c
 create mode 100644 sound/soc/codecs/rt715.h
sound/soc/codecs/Kconfig +10 -0
index 7761aeec4d07..cdfd912d5f8f 100644
@@ -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_RT715_SDW if SOUNDWIRE
 	select SND_SOC_SGTL5000 if I2C
 	select SND_SOC_SI476X if MFD_SI476X_CORE
 	select SND_SOC_SIMPLE_AMPLIFIER
@@ -1079,6 +1080,15 @@ config SND_SOC_RT711_SDW
 	select SND_SOC_RT711
 	select REGMAP_SOUNDWIRE
 
+config SND_SOC_RT715
+	tristate
+
+config SND_SOC_RT715_SDW
+	tristate "Realtek RT715 Codec - SDW"
+	depends on SOUNDWIRE
+	select SND_SOC_RT715
+	select REGMAP_SOUNDWIRE
+
 #Freescale sgtl5000 codec
 config SND_SOC_SGTL5000
 	tristate "Freescale SGTL5000 CODEC"
sound/soc/codecs/Makefile +2 -0
index 288b7af354a0..ce285b33a806 100644
@@ -175,6 +175,7 @@ snd-soc-rt5677-spi-objs := rt5677-spi.o
 snd-soc-rt5682-objs := rt5682.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-sgtl5000-objs := sgtl5000.o
 snd-soc-alc5623-objs := alc5623.o
 snd-soc-alc5632-objs := alc5632.o
@@ -469,6 +470,7 @@ obj-$(CONFIG_SND_SOC_RT5677_SPI)	+= snd-soc-rt5677-spi.o
 obj-$(CONFIG_SND_SOC_RT5682)	+= snd-soc-rt5682.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_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-sdw.c new file +613 -0

613 lines not on this page · raw message

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

337 lines not on this page · raw message

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

873 lines not on this page · raw message

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

221 lines not on this page · raw message

Signature · 6 lines
2.20.1

_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel