2 tristate "SoC Audio for the Rockchip System-on-Chip"
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.
12 config SND_RK_SOC_SPDIF
15 config SND_RK_SOC_I2S_8CH
16 bool "Soc RK I2S 8 Channel support(I2S0)"
18 depends on SND_RK_SOC_I2S && !ARCH_RK3066B && !ARCH_RK3188 && !ARCH_RK319X
20 This supports the use of the 8 Channel I2S interface on rk processors.
24 bool "Set I2S0 using the number of channels"
25 default SND_I2SO_USE_DOUBLE_CHANNELS
26 config SND_I2SO_USE_EIGHT_CHANNELS
27 tristate "I2S0 use 8 channels"
29 config SND_I2SO_USE_DOUBLE_CHANNELS
30 tristate "I2S0 use 2 channels"
34 config SND_RK_SOC_I2S_2CH
35 bool "Soc RK I2S 2 Channel support(I2S1)"
36 depends on SND_RK_SOC_I2S && !ARCH_RK2928 && !ARCH_RK3026
37 default y if (ARCH_RK3066B || ARCH_RK3188)
39 This supports the use of the 2 Channel I2S interface on rk processors.
42 bool "Set I2S GRF Output Voltage"
43 depends on (ARCH_RK3066B || ARCH_RK3188) && SND_RK_SOC_I2S_2CH
44 default SND_I2S_USE_33V
46 config SND_I2S_USE_33V
49 config SND_I2S_USE_18V
53 config SND_RK_SOC_I2S2_2CH
54 bool "Soc RK I2S 2 Channel support(I2S2)"
56 depends on SND_RK_SOC_I2S && ARCH_RK30 && !ARCH_RK2928 && !ARCH_RK3066B && !ARCH_RK3026
58 This supports the use of the 2 Channel I2S2 interface on rk30 processors.
60 if SND_RK_SOC_I2S_2CH || SND_RK_SOC_I2S_8CH || SND_RK_SOC_I2S2_2CH
62 bool "Set i2s on DMA event mode"
63 default SND_I2S_DMA_EVENT_STATIC
64 config SND_I2S_DMA_EVENT_DYNAMIC
65 tristate "dynamic mode"
67 config SND_I2S_DMA_EVENT_STATIC
68 tristate "static mode"
72 if SND_RK_SOC && RK_HDMI
74 bool "Set audio support for HDMI"
75 default SND_RK_SOC_HDMI_I2S
76 config SND_RK_SOC_HDMI_I2S
77 depends on !RK616_USE_MCLK_12M || !SND_RK_SOC_RK616
79 select SND_SOC_HDMI_I2S
80 tristate "HDMI use I2S"
82 config SND_RK_SOC_HDMI_SPDIF
83 depends on SND_RK_SOC_RK616
84 select SND_RK_SOC_SPDIF
85 select SND_SOC_HDMI_SPDIF
86 tristate "HDMI use SPDIF"
90 config SND_RK_SOC_AK4396
91 tristate "SoC I2S Audio support for rockchip - AK4396"
96 Say Y if you want to add support for SoC audio on rockchip
99 config SND_RK_SOC_ES8323
100 tristate "SoC I2S Audio support for rockchip - ES8323"
101 depends on SND_RK_SOC
102 select SND_RK_SOC_I2S
103 select SND_SOC_ES8323
105 Say Y if you want to add support for SoC audio on rockchip
108 config SND_SOC_ES8323_PCM
109 tristate "SoC I2S Audio support for rockchip - ES8323 for PCM modem"
110 depends on SND_RK_SOC
112 Say Y if you want to add support for SoC audio on rockchip
113 with the ES8323 for PCM modem.
115 config SND_RK_SOC_WM8988
116 tristate "SoC I2S Audio support for rockchip - WM8988"
117 depends on SND_RK_SOC
118 select SND_RK_SOC_I2S
119 select SND_SOC_WM8988
121 Say Y if you want to add support for SoC audio on rockchip
124 config SND_RK_SOC_WM8900
125 tristate "SoC I2S Audio support for rockchip - WM8900"
126 depends on SND_RK_SOC
127 select SND_RK_SOC_I2S
128 select SND_SOC_WM8900
130 Say Y if you want to add support for SoC audio on rockchip
133 config SND_RK_SOC_RT5512
134 tristate "SoC I2S Audio support for rockchip - RICHTEK5512"
135 depends on SND_RK_SOC
136 select SND_SOC_RT5512
137 select SND_RK_SOC_I2S
139 Say Y if you want to add support for SoC audio on the rockchip.
141 config SND_RK_SOC_CX2070X
142 tristate "SoC I2S Audio support for rockchip - CX2070X"
143 depends on SND_RK_SOC
144 select SND_SOC_CX2070X
145 select SND_RK_SOC_I2S
147 Say Y if you want to add support for SoC audio on the rockchip.
149 config SND_RK_SOC_RT5621
150 tristate "SoC I2S Audio support for rockchip - rt5621"
151 depends on SND_RK_SOC
152 select SND_RK_SOC_I2S
153 select SND_SOC_RT5621
155 Say Y if you want to add support for SoC audio on rockchip
157 config SND_RK_SOC_RT5623
158 tristate "SoC I2S Audio support for rockchip - rt5623"
159 depends on SND_RK_SOC
160 select SND_RK_SOC_I2S
161 select SND_SOC_RT5623
163 Say Y if you want to add support for SoC audio on rockchip
166 config SND_RK_SOC_RT5631
167 tristate "SoC I2S Audio support for rockchip - RT5631"
168 depends on SND_RK_SOC
169 select SND_RK_SOC_I2S
170 select SND_SOC_RT5631
172 Say Y if you want to add support for SoC audio on rockchip
175 config SND_RK_SOC_RT5631_PHONE
176 tristate "SoC I2S Audio support for rockchip(phone) - RT5631"
177 depends on SND_RK_SOC
178 select SND_RK_SOC_I2S
179 select SND_SOC_RT5631_PHONE
181 Say Y if you want to add support for SoC audio on rockchip
183 Driver code to use on the phone or voice Tablet.
185 config SND_RK_SOC_RT5625
186 tristate "SoC I2S Audio support for rockchip - RT5625"
187 depends on SND_RK_SOC
188 select SND_RK_SOC_I2S
190 Say Y if you want to add support for SoC audio on rockchip
194 depends on SND_RK_SOC_RT5625
195 prompt "RT5625 hardware select"
197 config SND_SOC_RT5625_SPK_FORM_SPKOUT
198 bool "spk from spkout"
199 select SND_SOC_RT5625
201 if your codec output hardware connect is spk from spkout, choose it
203 config SND_SOC_RT5625_SPK_FORM_HPOUT
204 bool "spk from hpout"
205 select SND_SOC_RT5625
207 if your codec output hardware connect is spk from spkout, choose it
210 config SND_RK_SOC_RT5640
211 tristate "SoC I2S Audio support for rockchip - RT5640(RT5642)"
212 depends on SND_RK_SOC
213 select SND_RK_SOC_I2S
214 select SND_SOC_RT5640
216 RT5640 is pin to pin as RT5642, but not have dsp function.
218 config SND_RK_SOC_RT3224
219 tristate "SoC I2S Audio support for rockchip - RT3224"
220 depends on SND_RK_SOC
221 select SND_RK_SOC_I2S
222 select SND_SOC_RT3224
224 RT3224 is pin to pin as RT3261, but not have dsp function.
226 config SND_RK_SOC_RT5639
227 tristate "SoC I2S Audio support for rockchip - RT5639"
228 depends on SND_RK_SOC
229 select SND_RK_SOC_I2S
230 select SND_SOC_RT5639
234 config SND_RK_SOC_RT5616
235 tristate "SoC I2S Audio support for rockchip - RT5616"
236 depends on SND_RK_SOC
237 select SND_RK_SOC_I2S
238 select SND_SOC_RT5616
240 Say Y if you want to add support for SoC audio on rockchip
243 config SND_RK_SOC_RT3261
244 tristate "SoC I2S Audio support for rockchip - RT3261"
245 depends on SND_RK_SOC
246 select SND_RK_SOC_I2S
247 select SND_SOC_RT3261
249 Say Y if you want to add support for SoC audio on rockchip
252 config SND_RK_SOC_WM8994
253 tristate "SoC I2S Audio support for rockchip - WM8994"
254 depends on SND_RK_SOC && MFD_WM8994
255 select SND_RK_SOC_I2S
256 select SND_SOC_WM8994
258 Say Y if you want to add support for SoC audio on rockchip
261 config SND_RK_SOC_CS42L52
262 tristate "SoC I2S Audio support for rockchip - CS42L52"
263 depends on SND_RK_SOC
264 select SND_RK_SOC_I2S
265 select SND_SOC_CS42L52
267 Say Y if you want to add support for SoC audio on rockchip
270 config SND_RK_SOC_AIC3111
271 tristate "SoC I2S Audio support for rockchip - AIC3111"
272 depends on SND_RK_SOC
273 select SND_RK_SOC_I2S
274 select SND_SOC_TLV320AIC3111
276 Say Y if you want to add support for SoC audio on rockchip
279 config SND_RK_SOC_AIC3262
280 tristate "SoC I2S Audio support for rockchip - AIC3262"
281 depends on SND_RK_SOC
282 select SND_RK_SOC_I2S
283 select SND_SOC_TLV320AIC326X
285 Say Y if you want to add support for SoC audio on rockchip
288 config SND_RK_SOC_RK1000
289 tristate "SoC I2S Audio support for rockchip - RK1000"
290 depends on SND_RK_SOC
291 select SND_RK_SOC_I2S
292 select SND_SOC_RK1000
294 Say Y if you want to add support for SoC audio on rockchip
297 config SND_RK_SOC_RK610
298 tristate "SoC I2S Audio support for rockchip - RK610"
299 depends on SND_RK_SOC && MFD_RK610
300 select SND_RK_SOC_I2S
303 Say Y if you want to add support for SoC audio on rockchip
304 with the RK610(JETTA).
306 config SND_RK_SOC_RK616
307 tristate "SoC I2S Audio support for rockchip - RK616"
308 depends on SND_RK_SOC && MFD_RK616
309 select SND_RK_SOC_I2S
312 Say Y if you want to add support for SoC audio on rockchip
313 with the RK616(JETTA).
315 config SND_RK_SOC_RK2928
316 tristate "SoC I2S Audio support for rockchip - RK2928"
317 depends on SND_RK_SOC && ARCH_RK2928
318 select SND_RK_SOC_I2S
319 select SND_SOC_RK2928
320 select SND_RK_CODEC_SOC_SLAVE
322 Say Y if you want to add support for SoC audio on rockchip
323 with the RK2928 internal codec.
325 config SND_RK_SOC_RK3026
326 tristate "SoC I2S Audio support for rockchip - RK3026&R3028A"
327 depends on SND_RK_SOC && ARCH_RK3026
328 select SND_RK_SOC_I2S
329 select SND_SOC_RK3026
330 select SND_RK_CODEC_SOC_SLAVE
332 Say Y if you want to add support for SoC audio on rockchip
333 with the RK3026 internal codec.
335 config SND_RK_SOC_RK3190
336 tristate "SoC I2S Audio support for rockchip - RK3190"
337 depends on SND_RK_SOC
338 select SND_RK_SOC_I2S
339 select SND_SOC_RK3190
340 select SND_RK_CODEC_SOC_SLAVE
342 Say Y if you want to add support for SoC audio on rockchip
343 with the RK3190 internal codec.
345 if SND_RK_SOC_I2S_2CH || SND_RK_SOC_I2S_8CH || SND_RK_SOC_I2S2_2CH
348 default SND_RK_CODEC_SOC_SLAVE
349 config SND_RK_CODEC_SOC_MASTER
350 tristate "Codec run in Master"
352 config SND_RK_CODEC_SOC_SLAVE
353 tristate "Codec run in Slave"
356 config ADJUST_VOL_BY_CODEC
357 bool "Adjust volume by codec"
360 adjust volume by codec
362 config PHONE_INCALL_IS_SUSPEND
363 bool "Incalling Whether suspend codec"
366 set "y" phone incall status cannot into suspend codec