forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
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"
....@@ -32,6 +32,13 @@
3232 Rockchip I2S/TDM device. The device supports up to maximum of
3333 8 channels each for play and record.
3434
35
+config SND_SOC_ROCKCHIP_I2S_TDM_MULTI_LANES
36
+ bool "Rockchip TDM Multi Lanes"
37
+ depends on SND_SOC_ROCKCHIP_I2S_TDM
38
+ help
39
+ Say Y or M if you want to add support for TDM Multi Lanes
40
+ based on I2S_TDM controller.
41
+
3542 config SND_SOC_ROCKCHIP_MULTI_DAIS
3643 tristate "Rockchip Multi-DAIS Device Driver"
3744 depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
....@@ -43,6 +50,7 @@
4350 tristate "Rockchip PDM Controller Driver"
4451 depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
4552 select SND_SOC_GENERIC_DMAENGINE_PCM
53
+ select RATIONAL
4654 help
4755 Say Y or M if you want to add support for PDM driver for
4856 Rockchip PDM Controller. The Controller supports up to maximum of
....@@ -57,13 +65,28 @@
5765 Rockchip SAI Controller. The Controller supports up to maximum of
5866 128 channels each for play and record.
5967
68
+config SND_SOC_ROCKCHIP_SAI_VERBOSE
69
+ bool "Rockchip SAI Verbose Controls"
70
+ depends on SND_SOC_ROCKCHIP_SAI
71
+ help
72
+ Say Y if you want to export much more controls and info for SAI.
73
+
6074 config SND_SOC_ROCKCHIP_SPDIF
6175 tristate "Rockchip SPDIF Device Driver"
6276 depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
77
+ select SND_PCM_IEC958
6378 select SND_SOC_GENERIC_DMAENGINE_PCM
6479 help
6580 Say Y or M if you want to add support for SPDIF driver for
6681 Rockchip SPDIF transceiver device.
82
+
83
+config SND_SOC_ROCKCHIP_SPDIFRX
84
+ tristate "Rockchip SPDIFRX Device Driver"
85
+ depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
86
+ select SND_SOC_GENERIC_DMAENGINE_PCM
87
+ help
88
+ Say Y or M if you want to add support for SPDIFRX driver for
89
+ Rockchip SPDIF receiver device.
6790
6891 config SND_SOC_ROCKCHIP_VAD
6992 tristate "Rockchip Voice Activity Detection Driver"
....@@ -78,9 +101,10 @@
78101 select SND_SOC_ROCKCHIP_I2S
79102 select SND_SOC_MAX98090
80103 select SND_SOC_TS3A227E
104
+ select SND_SOC_HDMI_CODEC
81105 help
82106 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.
107
+ boards using the MAX98090 codec and HDMI codec, such as Veyron.
84108
85109 config SND_SOC_ROCKCHIP_MULTICODECS
86110 tristate "ASoC support for Rockchip multicodecs"
....@@ -97,24 +121,6 @@
97121 help
98122 Say Y or M here if you want to add support for SoC audio on Rockchip
99123 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
118124
119125 config SND_SOC_ROCKCHIP_HDMI
120126 tristate "ASoC support for Rockchip HDMI audio"