forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
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,16 @@
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
12
+
13
+config SND_SOC_ROCKCHIP_DLP_PCM
14
+ tristate "Rockchip Digital Loopback PCM Driver"
15
+ depends on SND_SOC_ROCKCHIP
16
+ select SND_SOC_ROCKCHIP_DLP
1317 help
14
- Say Y or M if you want to add support for Audio PWM driver for
15
- Rockchip Audio PWM Controller.
18
+ Say Y or M if you want to add support for DLP driver for
19
+ Rockchip DMA-Based Digital Loopback.
1620
1721 config SND_SOC_ROCKCHIP_I2S
1822 tristate "Rockchip I2S Device Driver"
....@@ -32,9 +36,17 @@
3236 Rockchip I2S/TDM device. The device supports up to maximum of
3337 8 channels each for play and record.
3438
39
+config SND_SOC_ROCKCHIP_I2S_TDM_MULTI_LANES
40
+ bool "Rockchip TDM Multi Lanes"
41
+ depends on SND_SOC_ROCKCHIP_I2S_TDM
42
+ help
43
+ Say Y or M if you want to add support for TDM Multi Lanes
44
+ based on I2S_TDM controller.
45
+
3546 config SND_SOC_ROCKCHIP_MULTI_DAIS
3647 tristate "Rockchip Multi-DAIS Device Driver"
3748 depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
49
+ select SND_SOC_ROCKCHIP_DLP
3850 help
3951 Say Y or M if you want to add support for Multi-dais driver for
4052 Rockchip.
....@@ -43,6 +55,7 @@
4355 tristate "Rockchip PDM Controller Driver"
4456 depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
4557 select SND_SOC_GENERIC_DMAENGINE_PCM
58
+ select RATIONAL
4659 help
4760 Say Y or M if you want to add support for PDM driver for
4861 Rockchip PDM Controller. The Controller supports up to maximum of
....@@ -57,6 +70,12 @@
5770 Rockchip SAI Controller. The Controller supports up to maximum of
5871 128 channels each for play and record.
5972
73
+config SND_SOC_ROCKCHIP_SAI_VERBOSE
74
+ bool "Rockchip SAI Verbose Controls"
75
+ depends on SND_SOC_ROCKCHIP_SAI
76
+ help
77
+ Say Y if you want to export much more controls and info for SAI.
78
+
6079 config SND_SOC_ROCKCHIP_SPDIF
6180 tristate "Rockchip SPDIF Device Driver"
6281 depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
....@@ -65,6 +84,14 @@
6584 help
6685 Say Y or M if you want to add support for SPDIF driver for
6786 Rockchip SPDIF transceiver device.
87
+
88
+config SND_SOC_ROCKCHIP_SPDIFRX
89
+ tristate "Rockchip SPDIFRX Device Driver"
90
+ depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
91
+ select SND_SOC_GENERIC_DMAENGINE_PCM
92
+ help
93
+ Say Y or M if you want to add support for SPDIFRX driver for
94
+ Rockchip SPDIF receiver device.
6895
6996 config SND_SOC_ROCKCHIP_VAD
7097 tristate "Rockchip Voice Activity Detection Driver"
....@@ -79,9 +106,10 @@
79106 select SND_SOC_ROCKCHIP_I2S
80107 select SND_SOC_MAX98090
81108 select SND_SOC_TS3A227E
109
+ select SND_SOC_HDMI_CODEC
82110 help
83111 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.
112
+ boards using the MAX98090 codec and HDMI codec, such as Veyron.
85113
86114 config SND_SOC_ROCKCHIP_MULTICODECS
87115 tristate "ASoC support for Rockchip multicodecs"
....@@ -98,24 +126,6 @@
98126 help
99127 Say Y or M here if you want to add support for SoC audio on Rockchip
100128 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
119129
120130 config SND_SOC_ROCKCHIP_HDMI
121131 tristate "ASoC support for Rockchip HDMI audio"