2 tristate "SoC Audio for the rockchip RK29/RK30 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
17 This supports the use of the 8 Channel I2S interface on rk29 processors.
19 config SND_RK29_SOC_I2S_2CH
20 bool "Soc RK29 I2S 2 Channel support(I2S1)"
22 depends on SND_RK29_SOC_I2S
24 This supports the use of the 2 Channel I2S interface on rk29 processors.
26 config SND_RK_SOC_I2S2_2CH
27 bool "Soc RK29 I2S 2 Channel support(I2S2)"
29 depends on SND_RK29_SOC_I2S && ARCH_RK30
31 This supports the use of the 2 Channel I2S2 interface on rk30 processors.
33 if SND_RK29_SOC_I2S_2CH || SND_RK29_SOC_I2S_8CH || SND_RK_SOC_I2S2_2CH
35 bool "Set i2s on DMA event mode"
36 default SND_I2S_DMA_EVENT_STATIC
37 config SND_I2S_DMA_EVENT_DYNAMIC
38 tristate "dynamic mode"
40 config SND_I2S_DMA_EVENT_STATIC
41 tristate "static mode"
45 config SND_RK29_SOC_SPDIF
46 bool "Soc RK29 SPDIF support"
47 depends on SND_RK29_SOC
48 depends on SND_RK29_SOC_I2S
50 This supports the use of SPDIF interface on rk29 processors
51 config SND_RK29_SOC_WM8988
52 tristate "SoC I2S Audio support for rockchip - WM8988"
53 depends on SND_RK29_SOC
54 select SND_RK29_SOC_I2S
57 Say Y if you want to add support for SoC audio on rockchip
60 config SND_RK29_SOC_WM8900
61 tristate "SoC I2S Audio support for rockchip - WM8900"
62 depends on SND_RK29_SOC
63 select SND_RK29_SOC_I2S
66 Say Y if you want to add support for SoC audio on rockchip
68 config SND_RK29_SOC_RT5621
69 tristate "SoC I2S Audio support for rockchip - rt5621"
70 depends on SND_RK29_SOC
71 select SND_RK29_SOC_I2S
74 Say Y if you want to add support for SoC audio on rockchip
76 config SND_RK29_SOC_RT5623
77 tristate "SoC I2S Audio support for rockchip - rt5623"
78 depends on SND_RK29_SOC
79 select SND_RK29_SOC_I2S
82 Say Y if you want to add support for SoC audio on rockchip
84 config SND_RK29_SOC_RT5631
85 tristate "SoC I2S Audio support for rockchip - RT5631"
86 depends on SND_RK29_SOC
87 select SND_RK29_SOC_I2S
90 Say Y if you want to add support for SoC audio on rockchip
93 config SND_RK29_SOC_RT5625
94 tristate "SoC I2S Audio support for rockchip - RT5625"
95 depends on SND_RK29_SOC
96 select SND_RK29_SOC_I2S
98 Say Y if you want to add support for SoC audio on rockchip
102 depends on SND_RK29_SOC_RT5625
103 prompt "RT5625 hardware select"
105 config SND_SOC_RT5625_SPK_FORM_SPKOUT
106 bool "spk from spkout"
107 select SND_SOC_RT5625
109 if your codec output hardware connect is spk from spkout, choose it
111 config SND_SOC_RT5625_SPK_FORM_HPOUT
112 bool "spk from hpout"
113 select SND_SOC_RT5625
115 if your codec output hardware connect is spk from spkout, choose it
118 config SND_RK29_SOC_RT3261
119 tristate "SoC I2S Audio support for rockchip - RT3261"
120 depends on SND_RK29_SOC
121 select SND_RK29_SOC_I2S
122 select SND_SOC_RT3261
124 Say Y if you want to add support for SoC audio on rockchip
127 config SND_RK29_SOC_WM8994
128 tristate "SoC I2S Audio support for rockchip - WM8994"
129 depends on SND_RK29_SOC && MFD_WM8994
130 select SND_RK29_SOC_I2S
131 select SND_SOC_WM8994
133 Say Y if you want to add support for SoC audio on rockchip
136 config SND_RK29_SOC_CS42L52
137 tristate "SoC I2S Audio support for rockchip - CS42L52"
138 depends on SND_RK29_SOC
139 select SND_RK29_SOC_I2S
140 select SND_SOC_CS42L52
142 Say Y if you want to add support for SoC audio on rockchip
145 config SND_RK29_SOC_AIC3111
146 tristate "SoC I2S Audio support for rockchip - AIC3111"
147 depends on SND_RK29_SOC
148 select SND_RK29_SOC_I2S
149 select SND_SOC_TLV320AIC3111
151 Say Y if you want to add support for SoC audio on rockchip
154 config SND_RK29_SOC_AIC3262
155 tristate "SoC I2S Audio support for rockchip - AIC3262"
156 depends on SND_RK29_SOC
157 select SND_RK29_SOC_I2S
158 select SND_SOC_TLV320AIC326X
160 Say Y if you want to add support for SoC audio on rockchip
163 config SND_RK29_SOC_RK1000
164 tristate "SoC I2S Audio support for rockchip - RK1000"
165 depends on SND_RK29_SOC
166 select SND_RK29_SOC_I2S
167 select SND_SOC_RK1000
169 Say Y if you want to add support for SoC audio on rockchip
172 config SND_RK29_SOC_HDMI
173 tristate "SoC I2S Audio support for rockchip - HDMI"
174 depends on SND_RK29_SOC && HDMI_ITV
175 select SND_RK29_SOC_I2S
177 Say Y if you want to add support for SoC audio on rockchip
180 config SND_RK29_SOC_RK610
181 tristate "SoC I2S Audio support for rockchip - RK610"
182 depends on SND_RK29_SOC && MFD_RK610
183 select SND_RK29_SOC_I2S
186 Say Y if you want to add support for SoC audio on rockchip
187 with the RK610(JETTA).
189 if SND_RK29_SOC_WM8988 || SND_RK29_SOC_RK1000 || SND_RK29_SOC_WM8994 || SND_RK29_SOC_WM8900 || SND_RK29_SOC_RT5621 || SND_RK29_SOC_RT5631 || SND_RK29_SOC_RT5625 || SND_RK29_SOC_RT3261 || SND_RK29_SOC_CS42L52 || SND_RK29_SOC_AIC3111 || SND_RK29_SOC_HDMI || SND_RK29_SOC_RK610 || SND_RK29_SOC_AIC3262
192 default SND_RK29_CODEC_SOC_SLAVE
193 config SND_RK29_CODEC_SOC_MASTER
194 tristate "Codec run in Master"
196 config SND_RK29_CODEC_SOC_SLAVE
197 tristate "Codec run in Slave"
200 config ADJUST_VOL_BY_CODEC
201 bool "Adjust volume by codec"
204 adjust volume by codec
206 config PHONE_INCALL_IS_SUSPEND
207 bool "Incalling Whether suspend codec"
210 set "y" phone incall status cannot into suspend codec