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
....@@ -60,10 +61,19 @@
6061 config SND_SOC_ROCKCHIP_SPDIF
6162 tristate "Rockchip SPDIF Device Driver"
6263 depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
64
+ select SND_PCM_IEC958
6365 select SND_SOC_GENERIC_DMAENGINE_PCM
6466 help
6567 Say Y or M if you want to add support for SPDIF driver for
6668 Rockchip SPDIF transceiver device.
69
+
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.
6777
6878 config SND_SOC_ROCKCHIP_VAD
6979 tristate "Rockchip Voice Activity Detection Driver"
....@@ -78,9 +88,10 @@
7888 select SND_SOC_ROCKCHIP_I2S
7989 select SND_SOC_MAX98090
8090 select SND_SOC_TS3A227E
91
+ select SND_SOC_HDMI_CODEC
8192 help
8293 Say Y or M here if you want to add support for SoC audio on Rockchip
83
- boards using the MAX98090 codec, such as Veyron.
94
+ boards using the MAX98090 codec and HDMI codec, such as Veyron.
8495
8596 config SND_SOC_ROCKCHIP_MULTICODECS
8697 tristate "ASoC support for Rockchip multicodecs"
....@@ -97,24 +108,6 @@
97108 help
98109 Say Y or M here if you want to add support for SoC audio on Rockchip
99110 boards using the RT5645/RT5650 codec, such as Veyron.
100
-
101
-config SND_SOC_ROCKCHIP_RT5651
102
- tristate "ASoC support for Rockchip boards using a RT5651 codec"
103
- depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
104
- select SND_SOC_ROCKCHIP_I2S
105
- select SND_SOC_RT5651
106
- help
107
- Say Y or M here if you want to add support for SoC audio on Rockchip
108
- boards using the RT5651 codec.
109
-
110
-config SND_SOC_ROCKCHIP_RT5651_RK628
111
- tristate "ASoC support for Rockchip boards RT5651 RK628 HDMIIN"
112
- depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
113
- select SND_SOC_ROCKCHIP_I2S
114
- select SND_SOC_RT5651
115
- help
116
- Say Y or M here if you want to add support for SoC audio on Rockchip
117
- boards for RT5651 RK628 HDMIIn
118111
119112 config SND_SOC_ROCKCHIP_HDMI
120113 tristate "ASoC support for Rockchip HDMI audio"