2 tristate "SoC Audio for the Rockchip System-on-Chip"
3 depends on PLAT_RK && SND_SOC
5 Say Y or M if you want to add support for codecs attached to
6 the ROCKCHIP IIS interface. You will also need
7 to select the audio interfaces to support below.
9 config SND_RK29_SOC_I2S
12 config SND_RK29_SOC_I2S_8CH
13 bool "Soc RK29 I2S 8 Channel support(I2S0)"
15 depends on SND_RK29_SOC_I2S && !ARCH_RK3066B && !ARCH_RK3188
17 This supports the use of the 8 Channel I2S interface on rk29 processors.
19 if SND_RK29_SOC_I2S_8CH
21 bool "Set I2S0 using the number of channels"
22 default SND_I2SO_USE_DOUBLE_CHANNELS
23 config SND_I2SO_USE_EIGHT_CHANNELS
24 tristate "I2S0 use 8 channels"
26 config SND_I2SO_USE_DOUBLE_CHANNELS
27 tristate "I2S0 use 2 channels"
31 config SND_RK29_SOC_I2S_2CH
32 bool "Soc RK29 I2S 2 Channel support(I2S1)"
33 depends on SND_RK29_SOC_I2S && !ARCH_RK2928
34 default y if (ARCH_RK3066B || ARCH_RK3188)
36 This supports the use of the 2 Channel I2S interface on rk29 processors.
38 config SND_RK_SOC_I2S2_2CH
39 bool "Soc RK29 I2S 2 Channel support(I2S2)"
41 depends on SND_RK29_SOC_I2S && ARCH_RK30 && !ARCH_RK2928 && !ARCH_RK3066B
43 This supports the use of the 2 Channel I2S2 interface on rk30 processors.
45 config SND_ROCKCHIP_SPDIF
48 if SND_RK29_SOC_I2S_2CH || SND_RK29_SOC_I2S_8CH || SND_RK_SOC_I2S2_2CH
50 bool "Set i2s on DMA event mode"
51 default SND_I2S_DMA_EVENT_STATIC
52 config SND_I2S_DMA_EVENT_DYNAMIC
53 tristate "dynamic mode"
55 config SND_I2S_DMA_EVENT_STATIC
56 tristate "static mode"
59 config SND_RK_SOC_SPDIF
60 bool "spdif support for rockchip rk29 or rk30"
61 depends on SND_RK29_SOC
62 select SND_ROCKCHIP_SPDIF
64 Say Y if you want to add support for SoC audio on rockchip
67 config SND_RK29_SOC_SPDIF
68 bool "Soc RK29 SPDIF support"
69 depends on SND_RK29_SOC
70 depends on SND_RK29_SOC_I2S
72 This supports the use of SPDIF interface on rk29 processors
74 config SND_RK29_SOC_ES8323
75 tristate "SoC I2S Audio support for rockchip - ES8323"
76 depends on SND_RK29_SOC
77 select SND_RK29_SOC_I2S
80 Say Y if you want to add support for SoC audio on rockchip
83 config SND_RK29_SOC_WM8988
84 tristate "SoC I2S Audio support for rockchip - WM8988"
85 depends on SND_RK29_SOC
86 select SND_RK29_SOC_I2S
89 Say Y if you want to add support for SoC audio on rockchip
92 config SND_RK29_SOC_WM8900
93 tristate "SoC I2S Audio support for rockchip - WM8900"
94 depends on SND_RK29_SOC
95 select SND_RK29_SOC_I2S
98 Say Y if you want to add support for SoC audio on rockchip
100 config SND_RK29_SOC_RT5621
101 tristate "SoC I2S Audio support for rockchip - rt5621"
102 depends on SND_RK29_SOC
103 select SND_RK29_SOC_I2S
104 select SND_SOC_RT5621
106 Say Y if you want to add support for SoC audio on rockchip
108 config SND_RK29_SOC_RT5623
109 tristate "SoC I2S Audio support for rockchip - rt5623"
110 depends on SND_RK29_SOC
111 select SND_RK29_SOC_I2S
112 select SND_SOC_RT5623
114 Say Y if you want to add support for SoC audio on rockchip
116 config SND_RK29_SOC_RT5631
117 tristate "SoC I2S Audio support for rockchip - RT5631"
118 depends on SND_RK29_SOC
119 select SND_RK29_SOC_I2S
120 select SND_SOC_RT5631
122 Say Y if you want to add support for SoC audio on rockchip
125 config SND_RK29_SOC_RT5631_PHONE
126 tristate "SoC I2S Audio support for rockchip(phone) - RT5631"
127 depends on SND_RK29_SOC
128 select SND_RK29_SOC_I2S
129 select SND_SOC_RT5631_PHONE
131 Say Y if you want to add support for SoC audio on rockchip
133 Driver code to use on the phone or voice Tablet.
135 config SND_RK29_SOC_RT5625
136 tristate "SoC I2S Audio support for rockchip - RT5625"
137 depends on SND_RK29_SOC
138 select SND_RK29_SOC_I2S
140 Say Y if you want to add support for SoC audio on rockchip
144 depends on SND_RK29_SOC_RT5625
145 prompt "RT5625 hardware select"
147 config SND_SOC_RT5625_SPK_FORM_SPKOUT
148 bool "spk from spkout"
149 select SND_SOC_RT5625
151 if your codec output hardware connect is spk from spkout, choose it
153 config SND_SOC_RT5625_SPK_FORM_HPOUT
154 bool "spk from hpout"
155 select SND_SOC_RT5625
157 if your codec output hardware connect is spk from spkout, choose it
160 config SND_RK29_SOC_RT5640
161 tristate "SoC I2S Audio support for rockchip - RT5640(RT5642)"
162 depends on SND_RK29_SOC
163 select SND_RK29_SOC_I2S
164 select SND_SOC_RT5640
166 RT5640 is pin to pin as RT5642, but not have dsp function.
168 config SND_RK29_SOC_RT3224
169 tristate "SoC I2S Audio support for rockchip - RT3224"
170 depends on SND_RK29_SOC
171 select SND_RK29_SOC_I2S
172 select SND_SOC_RT3224
174 RT3224 is pin to pin as RT3261, but not have dsp function.
176 config SND_RK29_SOC_RT5639
177 tristate "SoC I2S Audio support for rockchip - RT5639"
178 depends on SND_RK29_SOC
179 select SND_RK29_SOC_I2S
180 select SND_SOC_RT5639
184 config SND_RK29_SOC_RT5616
185 tristate "SoC I2S Audio support for rockchip - RT5616"
186 depends on SND_RK29_SOC
187 select SND_RK29_SOC_I2S
188 select SND_SOC_RT5616
190 Say Y if you want to add support for SoC audio on rockchip
193 config SND_RK29_SOC_RT3261
194 tristate "SoC I2S Audio support for rockchip - RT3261"
195 depends on SND_RK29_SOC
196 select SND_RK29_SOC_I2S
197 select SND_SOC_RT3261
199 Say Y if you want to add support for SoC audio on rockchip
202 config SND_RK29_SOC_WM8994
203 tristate "SoC I2S Audio support for rockchip - WM8994"
204 depends on SND_RK29_SOC && MFD_WM8994
205 select SND_RK29_SOC_I2S
206 select SND_SOC_WM8994
208 Say Y if you want to add support for SoC audio on rockchip
211 config SND_RK29_SOC_CS42L52
212 tristate "SoC I2S Audio support for rockchip - CS42L52"
213 depends on SND_RK29_SOC
214 select SND_RK29_SOC_I2S
215 select SND_SOC_CS42L52
217 Say Y if you want to add support for SoC audio on rockchip
220 config SND_RK29_SOC_AIC3111
221 tristate "SoC I2S Audio support for rockchip - AIC3111"
222 depends on SND_RK29_SOC
223 select SND_RK29_SOC_I2S
224 select SND_SOC_TLV320AIC3111
226 Say Y if you want to add support for SoC audio on rockchip
229 config SND_RK29_SOC_AIC3262
230 tristate "SoC I2S Audio support for rockchip - AIC3262"
231 depends on SND_RK29_SOC
232 select SND_RK29_SOC_I2S
233 select SND_SOC_TLV320AIC326X
235 Say Y if you want to add support for SoC audio on rockchip
238 config SND_RK29_SOC_RK1000
239 tristate "SoC I2S Audio support for rockchip - RK1000"
240 depends on SND_RK29_SOC
241 select SND_RK29_SOC_I2S
242 select SND_SOC_RK1000
244 Say Y if you want to add support for SoC audio on rockchip
247 config SND_RK29_SOC_HDMI
248 tristate "SoC I2S Audio support for rockchip - HDMI"
249 depends on SND_RK29_SOC && HDMI_ITV
250 select SND_RK29_SOC_I2S
252 Say Y if you want to add support for SoC audio on rockchip
255 config SND_RK29_SOC_RK610
256 tristate "SoC I2S Audio support for rockchip - RK610"
257 depends on SND_RK29_SOC && MFD_RK610
258 select SND_RK29_SOC_I2S
261 Say Y if you want to add support for SoC audio on rockchip
262 with the RK610(JETTA).
264 config SND_RK29_SOC_RK616
265 tristate "SoC I2S Audio support for rockchip - RK616"
266 depends on SND_RK29_SOC && MFD_RK616
267 select SND_RK29_SOC_I2S
270 Say Y if you want to add support for SoC audio on rockchip
271 with the RK616(JETTA).
273 config SND_RK_SOC_RK2928
274 tristate "SoC I2S Audio support for rockchip - RK2928"
275 depends on SND_RK29_SOC && ARCH_RK2928
276 select SND_RK29_SOC_I2S
277 select SND_SOC_RK2928
278 select SND_RK29_CODEC_SOC_SLAVE
280 Say Y if you want to add support for SoC audio on rockchip
281 with the RK2928 internal codec.
283 if SND_RK29_SOC_I2S_2CH || SND_RK29_SOC_I2S_8CH || SND_RK_SOC_I2S2_2CH
286 default SND_RK29_CODEC_SOC_SLAVE
287 config SND_RK29_CODEC_SOC_MASTER
288 tristate "Codec run in Master"
290 config SND_RK29_CODEC_SOC_SLAVE
291 tristate "Codec run in Slave"
294 config ADJUST_VOL_BY_CODEC
295 bool "Adjust volume by codec"
298 adjust volume by codec
300 config PHONE_INCALL_IS_SUSPEND
301 bool "Incalling Whether suspend codec"
304 set "y" phone incall status cannot into suspend codec