diff options
author | Nicolas Frattaroli <frattaroli.nicolas@gmail.com> | 2021-10-01 19:15:28 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-10-07 17:58:16 +0200 |
commit | 081068fd641403994f0505e6b91e021d3925f348 (patch) | |
tree | ef9e3dca279f2db913111547571d9bffe738e19b /sound/soc/rockchip/Kconfig | |
parent | Merge series "ASoC: Intel: machine driver updates for 5.16" from Pierre-Louis... (diff) | |
download | linux-081068fd641403994f0505e6b91e021d3925f348.tar.xz linux-081068fd641403994f0505e6b91e021d3925f348.zip |
ASoC: rockchip: add support for i2s-tdm controller
This commit adds support for the rockchip i2s-tdm controller,
which enables audio output on the following rockchip SoCs:
- px30
- rk1808
- rk3308
- rk3566
- rk3568
- rv1126
This is a cleaned up version of the downstream vendor kernel's
driver. It can be enabled through the SND_SOC_ROCKCHIP_I2S_TDM
configuration option.
Signed-off-by: Nicolas Frattaroli <frattaroli.nicolas@gmail.com>
Link: https://lore.kernel.org/r/20211001171531.178775-2-frattaroli.nicolas@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/rockchip/Kconfig')
-rw-r--r-- | sound/soc/rockchip/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sound/soc/rockchip/Kconfig b/sound/soc/rockchip/Kconfig index 053097b73e28..42f76bc0fb02 100644 --- a/sound/soc/rockchip/Kconfig +++ b/sound/soc/rockchip/Kconfig @@ -16,6 +16,17 @@ config SND_SOC_ROCKCHIP_I2S Rockchip I2S device. The device supports upto maximum of 8 channels each for play and record. +config SND_SOC_ROCKCHIP_I2S_TDM + tristate "Rockchip I2S/TDM Device Driver" + depends on HAVE_CLK && SND_SOC_ROCKCHIP + select SND_SOC_GENERIC_DMAENGINE_PCM + help + Say Y or M if you want to add support for the I2S/TDM driver for + Rockchip I2S/TDM devices, found in Rockchip SoCs. These devices + interface between the AHB bus and the I2S bus, and support up to a + maximum of 8 channels each for playback and recording. + + config SND_SOC_ROCKCHIP_PDM tristate "Rockchip PDM Controller Driver" depends on HAVE_CLK && SND_SOC_ROCKCHIP |