ASoC: rt712-sdca: Add RT712 SDCA driver for Mic topology
Subsystems (3)
PATCH v4 1/1 ASoC: rt712-sdca: Add RT712 SDCA driver for Mic topology
From: Shuming Fan <[email protected]>
This is the initial codec driver for rt712 SDCA (Mic topology). The host should connect with rt712 SdW2 interface.
---
Changes in v4:
- fix the warnings reported by the test robot.
warning: no previous prototype for 'rt712_sdca_dmic_io_init' [-Wmissing-prototypes]
warning: no previous prototype for 'rt712_sdca_dmic_init' [-Wmissing-prototypes]
Changes in v3:
- Re-order the include header and remove the redundant header.
Changes in v2:
- Correct the signed name and e-mail address.
--- sound/soc/codecs/Kconfig | 7 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/rt712-sdca-dmic.c | 983 +++++++++++++++++++++++++++++ sound/soc/codecs/rt712-sdca-dmic.h | 108 ++++ 4 files changed, 1100 insertions(+) create mode 100644 sound/soc/codecs/rt712-sdca-dmic.c create mode 100644 sound/soc/codecs/rt712-sdca-dmic.h
sound/soc/codecs/Kconfig +7 -0
@@ -204,6 +204,7 @@ config SND_SOC_ALL_CODECS imply SND_SOC_RT711_SDW imply SND_SOC_RT711_SDCA_SDW imply SND_SOC_RT712_SDCA_SDW + imply SND_SOC_RT712_SDCA_DMIC_SDW imply SND_SOC_RT715_SDW imply SND_SOC_RT715_SDCA_SDW imply SND_SOC_RT1308_SDW
@@ -1532,6 +1533,12 @@ config SND_SOC_RT712_SDCA_SDW select REGMAP_SOUNDWIRE select REGMAP_SOUNDWIRE_MBQ +config SND_SOC_RT712_SDCA_DMIC_SDW + tristate "Realtek RT712 SDCA DMIC Codec - SDW" + depends on SOUNDWIRE + select REGMAP_SOUNDWIRE + select REGMAP_SOUNDWIRE_MBQ + config SND_SOC_RT715 tristate
sound/soc/codecs/Makefile +2 -0
@@ -234,6 +234,7 @@ snd-soc-rt700-objs := rt700.o rt700-sdw.o snd-soc-rt711-objs := rt711.o rt711-sdw.o snd-soc-rt711-sdca-objs := rt711-sdca.o rt711-sdca-sdw.o snd-soc-rt712-sdca-objs := rt712-sdca.o rt712-sdca-sdw.o +snd-soc-rt712-sdca-dmic-objs := rt712-sdca-dmic.o snd-soc-rt715-objs := rt715.o rt715-sdw.o snd-soc-rt715-sdca-objs := rt715-sdca.o rt715-sdca-sdw.o snd-soc-rt9120-objs := rt9120.o
@@ -603,6 +604,7 @@ obj-$(CONFIG_SND_SOC_RT700) += snd-soc-rt700.o obj-$(CONFIG_SND_SOC_RT711) += snd-soc-rt711.o obj-$(CONFIG_SND_SOC_RT711_SDCA_SDW) += snd-soc-rt711-sdca.o obj-$(CONFIG_SND_SOC_RT712_SDCA_SDW) += snd-soc-rt712-sdca.o +obj-$(CONFIG_SND_SOC_RT712_SDCA_DMIC_SDW) += snd-soc-rt712-sdca-dmic.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_RT9120) += snd-soc-rt9120.o
sound/soc/codecs/rt712-sdca-dmic.c new file +983 -0
983 lines not on this page · raw message
sound/soc/codecs/rt712-sdca-dmic.h new file +108 -0
108 lines not on this page · raw message
Signature · 1 line
2.34.1
Mark Brown
maintainerQuoted 4 lines · On Thu, 06 Apr 2023 16:55:35 +0800, [email protected] wrote:
This is the initial codec driver for rt712 SDCA (Mic topology). The host should connect with rt712 SdW2 interface.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: rt712-sdca: Add RT712 SDCA driver for Mic topology
commit: 63a511284c9ea72696a5dd0a2d2721bdef19f774
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