From 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 11 Dec 2023 02:46:07 +0000 Subject: [PATCH] add audio --- kernel/sound/soc/rockchip/Kconfig | 42 +++++++++++++++++------------------------- 1 files changed, 17 insertions(+), 25 deletions(-) diff --git a/kernel/sound/soc/rockchip/Kconfig b/kernel/sound/soc/rockchip/Kconfig index 6e9ab63..eac5bc3 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" @@ -43,6 +43,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 @@ -66,6 +67,14 @@ 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" depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP @@ -79,9 +88,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" @@ -98,24 +108,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