forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4
kernel/sound/soc/rockchip/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 config SND_SOC_ROCKCHIP
23 tristate "ASoC support for Rockchip"
34 depends on COMPILE_TEST || ARCH_ROCKCHIP
....@@ -6,13 +7,12 @@
67 the Rockchip SoCs' Audio interfaces. You will also need to
78 select the audio interfaces to support below.
89
9
-config SND_SOC_ROCKCHIP_AUDIO_PWM
10
- tristate "Rockchip Audio PWM Driver"
11
- depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
12
- select SND_SOC_GENERIC_DMAENGINE_PCM
10
+config SND_SOC_ROCKCHIP_DLP
11
+ tristate "Rockchip Digital Loopback Driver"
12
+ depends on SND_SOC_ROCKCHIP
1313 help
14
- Say Y or M if you want to add support for Audio PWM driver for
15
- Rockchip Audio PWM Controller.
14
+ Say Y or M if you want to add support for DLP driver for
15
+ Rockchip DMA-Based Digital Loopback.
1616
1717 config SND_SOC_ROCKCHIP_I2S
1818 tristate "Rockchip I2S Device Driver"
....@@ -43,6 +43,7 @@
4343 tristate "Rockchip PDM Controller Driver"
4444 depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
4545 select SND_SOC_GENERIC_DMAENGINE_PCM
46
+ select RATIONAL
4647 help
4748 Say Y or M if you want to add support for PDM driver for
4849 Rockchip PDM Controller. The Controller supports up to maximum of
....@@ -66,6 +67,14 @@
6667 Say Y or M if you want to add support for SPDIF driver for
6768 Rockchip SPDIF transceiver device.
6869
70
+config SND_SOC_ROCKCHIP_SPDIFRX
71
+ tristate "Rockchip SPDIFRX Device Driver"
72
+ depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
73
+ select SND_SOC_GENERIC_DMAENGINE_PCM
74
+ help
75
+ Say Y or M if you want to add support for SPDIFRX driver for
76
+ Rockchip SPDIF receiver device.
77
+
6978 config SND_SOC_ROCKCHIP_VAD
7079 tristate "Rockchip Voice Activity Detection Driver"
7180 depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
....@@ -79,9 +88,10 @@
7988 select SND_SOC_ROCKCHIP_I2S
8089 select SND_SOC_MAX98090
8190 select SND_SOC_TS3A227E
91
+ select SND_SOC_HDMI_CODEC
8292 help
8393 Say Y or M here if you want to add support for SoC audio on Rockchip
84
- boards using the MAX98090 codec, such as Veyron.
94
+ boards using the MAX98090 codec and HDMI codec, such as Veyron.
8595
8696 config SND_SOC_ROCKCHIP_MULTICODECS
8797 tristate "ASoC support for Rockchip multicodecs"
....@@ -98,24 +108,6 @@
98108 help
99109 Say Y or M here if you want to add support for SoC audio on Rockchip
100110 boards using the RT5645/RT5650 codec, such as Veyron.
101
-
102
-config SND_SOC_ROCKCHIP_RT5651
103
- tristate "ASoC support for Rockchip boards using a RT5651 codec"
104
- depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
105
- select SND_SOC_ROCKCHIP_I2S
106
- select SND_SOC_RT5651
107
- help
108
- Say Y or M here if you want to add support for SoC audio on Rockchip
109
- boards using the RT5651 codec.
110
-
111
-config SND_SOC_ROCKCHIP_RT5651_RK628
112
- tristate "ASoC support for Rockchip boards RT5651 RK628 HDMIIN"
113
- depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
114
- select SND_SOC_ROCKCHIP_I2S
115
- select SND_SOC_RT5651
116
- help
117
- Say Y or M here if you want to add support for SoC audio on Rockchip
118
- boards for RT5651 RK628 HDMIIn
119111
120112 config SND_SOC_ROCKCHIP_HDMI
121113 tristate "ASoC support for Rockchip HDMI audio"