From 6778948f9de86c3cfaf36725a7c87dcff9ba247f Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 11 Dec 2023 08:20:59 +0000 Subject: [PATCH] kernel_5.10 no rt --- kernel/sound/soc/rockchip/Kconfig | 56 +++++++++++++++++++++++++++++++------------------------- 1 files changed, 31 insertions(+), 25 deletions(-) diff --git a/kernel/sound/soc/rockchip/Kconfig b/kernel/sound/soc/rockchip/Kconfig index 1690a40..337ead6 100644 --- a/kernel/sound/soc/rockchip/Kconfig +++ b/kernel/sound/soc/rockchip/Kconfig @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only config SND_SOC_ROCKCHIP tristate "ASoC support for Rockchip" depends on COMPILE_TEST || ARCH_ROCKCHIP @@ -6,13 +7,12 @@ the Rockchip SoCs' Audio interfaces. You will also need to select the audio interfaces to support below. -config SND_SOC_ROCKCHIP_AUDIO_PWM - tristate "Rockchip Audio PWM Driver" - depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP - select SND_SOC_GENERIC_DMAENGINE_PCM +config SND_SOC_ROCKCHIP_DLP + tristate "Rockchip Digital Loopback Driver" + depends on SND_SOC_ROCKCHIP help - Say Y or M if you want to add support for Audio PWM driver for - Rockchip Audio PWM Controller. + Say Y or M if you want to add support for DLP driver for + Rockchip DMA-Based Digital Loopback. config SND_SOC_ROCKCHIP_I2S tristate "Rockchip I2S Device Driver" @@ -32,6 +32,13 @@ Rockchip I2S/TDM device. The device supports up to maximum of 8 channels each for play and record. +config SND_SOC_ROCKCHIP_I2S_TDM_MULTI_LANES + bool "Rockchip TDM Multi Lanes" + depends on SND_SOC_ROCKCHIP_I2S_TDM + help + Say Y or M if you want to add support for TDM Multi Lanes + based on I2S_TDM controller. + config SND_SOC_ROCKCHIP_MULTI_DAIS tristate "Rockchip Multi-DAIS Device Driver" depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP @@ -43,6 +50,7 @@ tristate "Rockchip PDM Controller Driver" depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP select SND_SOC_GENERIC_DMAENGINE_PCM + select RATIONAL help Say Y or M if you want to add support for PDM driver for Rockchip PDM Controller. The Controller supports up to maximum of @@ -57,13 +65,28 @@ Rockchip SAI Controller. The Controller supports up to maximum of 128 channels each for play and record. +config SND_SOC_ROCKCHIP_SAI_VERBOSE + bool "Rockchip SAI Verbose Controls" + depends on SND_SOC_ROCKCHIP_SAI + help + Say Y if you want to export much more controls and info for SAI. + config SND_SOC_ROCKCHIP_SPDIF tristate "Rockchip SPDIF Device Driver" depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP + select SND_PCM_IEC958 select SND_SOC_GENERIC_DMAENGINE_PCM help Say Y or M if you want to add support for SPDIF driver for Rockchip SPDIF transceiver device. + +config SND_SOC_ROCKCHIP_SPDIFRX + tristate "Rockchip SPDIFRX Device Driver" + depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP + select SND_SOC_GENERIC_DMAENGINE_PCM + help + Say Y or M if you want to add support for SPDIFRX driver for + Rockchip SPDIF receiver device. config SND_SOC_ROCKCHIP_VAD tristate "Rockchip Voice Activity Detection Driver" @@ -78,9 +101,10 @@ select SND_SOC_ROCKCHIP_I2S select SND_SOC_MAX98090 select SND_SOC_TS3A227E + select SND_SOC_HDMI_CODEC help Say Y or M here if you want to add support for SoC audio on Rockchip - boards using the MAX98090 codec, such as Veyron. + boards using the MAX98090 codec and HDMI codec, such as Veyron. config SND_SOC_ROCKCHIP_MULTICODECS tristate "ASoC support for Rockchip multicodecs" @@ -97,24 +121,6 @@ help Say Y or M here if you want to add support for SoC audio on Rockchip boards using the RT5645/RT5650 codec, such as Veyron. - -config SND_SOC_ROCKCHIP_RT5651 - tristate "ASoC support for Rockchip boards using a RT5651 codec" - depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP - select SND_SOC_ROCKCHIP_I2S - select SND_SOC_RT5651 - help - Say Y or M here if you want to add support for SoC audio on Rockchip - boards using the RT5651 codec. - -config SND_SOC_ROCKCHIP_RT5651_RK628 - tristate "ASoC support for Rockchip boards RT5651 RK628 HDMIIN" - depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP - select SND_SOC_ROCKCHIP_I2S - select SND_SOC_RT5651 - help - Say Y or M here if you want to add support for SoC audio on Rockchip - boards for RT5651 RK628 HDMIIn config SND_SOC_ROCKCHIP_HDMI tristate "ASoC support for Rockchip HDMI audio" -- Gitblit v1.6.2