blob: e76695e38ef82fec9a106568d4661f3f54a3da47 [file] [log] [blame]
Banajit Goswami0530e2f2016-12-09 21:34:37 -08001menu "MSM SoC Audio support"
2
3config SND_SOC_MSM_HOSTLESS_PCM
4 tristate
5
6config SND_SOC_MSM_QDSP6V2_INTF
7 bool "SoC Q6 audio driver for MSM/APQ"
8 depends on MSM_QDSP6_APRV2_GLINK
9 help
10 To add support for SoC audio on MSM/APQ.
11 This will enable all the platform specific
12 interactions towards DSP. It includes asm,
13 adm and afe interfaces on the DSP.
14
15config SND_SOC_QDSP6V2
16 tristate "SoC ALSA audio driver for QDSP6V2"
17 select SND_SOC_MSM_QDSP6V2_INTF
18 select SND_SOC_COMPRESS
19 help
20 To add support for MSM QDSP6V2 Soc Audio.
21 This will enable sound soc platform specific
22 audio drivers. This includes q6asm, q6adm,
23 q6afe interfaces to DSP using apr.
24
25config SND_SOC_QDSP_DEBUG
26 bool "QDSP Audio Driver Debug Feature"
27 help
28 Configuration to enable debugging utilities for
29 QDSP6 based audio drivers. One debugging utility
30 is inducing kernel panic upon encountering critical
31 errors from DSP audio modules
32
Banajit Goswami0530e2f2016-12-09 21:34:37 -080033config DOLBY_DS2
34 bool "Enable Dolby DS2"
35 depends on SND_SOC_MSM_QDSP6V2_INTF
36 help
37 To add support for dolby DAP post processing.
38 This support is to configure the post processing parameters
39 to DSP. The configuration includes sending the end point
40 device, end point dependent post processing parameters and
41 the various posrt processing parameters
42
Weiyin Jiang194ef0e2016-11-23 16:57:38 +080043config DOLBY_LICENSE
44 bool "Enable Dolby LICENSE"
45 depends on SND_SOC_MSM_QDSP6V2_INTF
46 help
47 To add support for dolby DAP post processing,
48 and retain DAP set license functionality only.
49 This is required by Dolby GEF implementation which needs
50 nothing but dolby license validation functionality in driver.
51
Banajit Goswami0530e2f2016-12-09 21:34:37 -080052config DTS_EAGLE
53 bool "Enable DTS Eagle Support"
54 depends on SND_SOC_MSM_QDSP6V2_INTF
55 select SND_HWDEP
56 help
57 To add DTS Eagle support on QDSP6 targets.
58 Eagle is a DTS pre/post processing
59 package that includes HeadphoneX. The configuration
60 includes sending tuning parameters of various modules.
61
62config DTS_SRS_TM
63 bool "Enable DTS SRS"
64 depends on SND_SOC_MSM_QDSP6V2_INTF
65 help
66 To add support for DTS SRS post processing.
67 This support is to configure the post processing
68 parameters to DSP. The configuration includes sending
69 tuning parameters of various modules.
70
71config QTI_PP
72 bool "Enable QTI PP"
73 depends on SND_SOC_MSM_QDSP6V2_INTF
74 help
75 To add support for default QTI post processing.
76 This support is to configure the post processing
77 parameters to DSP. The configuration includes sending
78 tuning parameters of various modules such as equalizer,
79 customized mixing.
80
81config QTI_PP_AUDIOSPHERE
82 bool "Enable QTI AUDIOSPHERE PP"
83 depends on SND_SOC_MSM_QDSP6V2_INTF
84 help
85 To add support for QTI audio sphere post processing.
86 This support is to configure the post processing
87 parameters to DSP. The configuration includes sending
88 tuning parameters of audio sphere module.
89
90config SND_SOC_CPE
91 tristate "CPE drivers"
92 depends on SND_SOC_WCD_CPE
93 help
94 To add support for Codec Processing Engine. This support
95 is to enable CPE block on the codec and this config needs
96 to be added to codecs that contain the CPE hardware block.
97 The configuration includes the cpe lsm driver to enable
98 listen on codec.
99
100config SND_SOC_INT_CODEC
Neeraj Upadhyay49934422016-12-27 19:03:35 +0530101 tristate "SoC Machine driver for SDM660_INT"
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800102 depends on ARCH_QCOM
103 select SND_SOC_QDSP6V2
104 select SND_SOC_MSM_STUB
105 select SND_SOC_MSM_HOSTLESS_PCM
106 select SND_DYNAMIC_MINORS
107 select MSM_QDSP6_APRV2_GLINK
108 select MSM_QDSP6_SSR
109 select MSM_QDSP6_PDR
110 select MSM_QDSP6_NOTIFIER
111 select MSM_QDSP6V2_CODECS
Laxminath Kasamad0f6962016-12-14 20:00:35 +0530112 select MSM_CDC_PINCTRL
Laxminath Kasam2d20bc92016-11-24 17:31:45 +0530113 select SND_SOC_MSM_SDW
Neeraj Upadhyay49934422016-12-27 19:03:35 +0530114 select SND_SOC_SDM660_CDC
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800115 select QTI_PP
116 select DTS_SRS_TM
Sharad Sangle30a99292017-02-16 12:49:27 +0530117 select DOLBY_LICENSE
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800118 select SND_HWDEP
119 select MSM_ULTRASOUND
120 select DTS_EAGLE
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800121 select SND_SOC_COMPRESS
Laxminath Kasam7a721412016-11-02 20:02:00 +0530122 select PINCTRL_LPI
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800123 help
124 To add support for SoC audio on MSM_INT.
125 This will enable sound soc drivers which
126 interfaces with DSP, also it will enable
127 the machine driver and the corresponding
128 DAI-links
129
130config SND_SOC_EXT_CODEC
Neeraj Upadhyay49934422016-12-27 19:03:35 +0530131 tristate "SoC Machine driver for SDM660_EXT"
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800132 depends on ARCH_QCOM
133 select SND_SOC_QDSP6V2
134 select SND_SOC_MSM_STUB
135 select SND_SOC_MSM_HOSTLESS_PCM
136 select SND_DYNAMIC_MINORS
137 select MSM_QDSP6_APRV2_GLINK
138 select MSM_QDSP6_SSR
139 select MSM_QDSP6_PDR
140 select MSM_QDSP6_NOTIFIER
141 select MSM_QDSP6V2_CODECS
142 select SND_SOC_WCD9335
143 select SND_SOC_WCD934X
144 select SND_SOC_WSA881X
145 select MFD_CORE
146 select QTI_PP
147 select DTS_SRS_TM
Sharad Sangle30a99292017-02-16 12:49:27 +0530148 select DOLBY_LICENSE
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800149 select SND_SOC_CPE
150 select SND_SOC_WCD_CPE
151 select SND_HWDEP
152 select MSM_ULTRASOUND
153 select DTS_EAGLE
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800154 select SND_SOC_COMPRESS
Laxminath Kasam7a721412016-11-02 20:02:00 +0530155 select PINCTRL_LPI
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800156 help
157 To add support for SoC audio on MSM_EXT.
158 This will enable sound soc drivers which
159 interfaces with DSP, also it will enable
160 the machine driver and the corresponding
161 DAI-links
162
163config SND_SOC_MSM8996
164 tristate "SoC Machine driver for MSM8996 boards"
165 depends on ARCH_MSM8996
166 select SND_SOC_COMPRESS
167 select SND_SOC_QDSP6V2
168 select SND_SOC_MSM_STUB
169 select SND_SOC_MSM_HOSTLESS_PCM
170 select SND_DYNAMIC_MINORS
171 select MSM_QDSP6_APRV2
172 select MSM_QDSP6V2_CODECS
173 select SND_SOC_WCD9335
174 select SND_SOC_WSA881X
175 select SND_SOC_MSM_HDMI_CODEC_RX
176 select DTS_SRS_TM
177 select QTI_PP
178 select QTI_PP_AUDIOSPHERE
179 select SND_SOC_CPE
180 select MSM_ULTRASOUND
181 select DOLBY_DS2
182 select SND_HWDEP
183 select DTS_EAGLE
184 help
185 To add support for SoC audio on MSM8996.
186 This will enable sound soc drivers which
187 interfaces with DSP, also it will enable
188 the machine driver and the corresponding
189 DAI-links
190
Phani Kumar Uppalapati19483192017-06-26 18:53:55 -0700191config SND_SOC_MACHINE_MSM8998
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800192 tristate "SoC Machine driver for MSM8998 boards"
Phani Kumar Uppalapati5b1f0d12017-06-26 19:06:46 -0700193 select SND_SOC_WSA881X
Karthikeyan Mani858132b2017-06-27 20:03:08 -0700194 select SND_SOC_WCD9335
195 select SND_SOC_WCD934X
196 select SND_SOC_CPE
Phani Kumar Uppalapati19483192017-06-26 18:53:55 -0700197
198 help
199 To enable the machine driver and the
200 corresponding DAI-links on MSM8998.
201 All platform specific audio modules are
202 enabled here.
203
204config SND_SOC_MSM8998
205 tristate "Sound SoC drivers to interface with DSP"
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800206 depends on ARCH_QCOM
207 select SND_SOC_COMPRESS
208 select SND_SOC_QDSP6V2
209 select SND_SOC_MSM_STUB
210 select SND_SOC_MSM_HOSTLESS_PCM
211 select SND_DYNAMIC_MINORS
212 select MSM_QDSP6_APRV2_GLINK
213 select MSM_QDSP6_SSR
214 select MSM_QDSP6_PDR
215 select MSM_QDSP6_NOTIFIER
216 select MSM_QDSP6V2_CODECS
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800217 select SND_SOC_MSM_HDMI_CODEC_RX
218 select DTS_SRS_TM
219 select QTI_PP
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800220 select MSM_ULTRASOUND
Weiyin Jiang194ef0e2016-11-23 16:57:38 +0800221 select DOLBY_LICENSE
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800222 select SND_HWDEP
223 select DTS_EAGLE
224 help
225 To add support for SoC audio on MSM8998.
226 This will enable sound soc drivers which
227 interfaces with DSP, also it will enable
228 the machine driver and the corresponding
229 DAI-links
230
Neeraj Upadhyay49934422016-12-27 19:03:35 +0530231config SND_SOC_660
Rohit Kumara477fac2017-06-19 10:57:37 +0530232 tristate "SoC Machine driver for SDM660/670 boards"
Rohit Kumar7a00df52017-08-08 19:49:37 +0530233 depends on ARCH_QCOM
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800234 select SND_SOC_INT_CODEC
235 select SND_SOC_EXT_CODEC
236 help
Rohit Kumara477fac2017-06-19 10:57:37 +0530237 To add support for SoC audio on SDM660/670.
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800238 This will enable sound soc drivers which
239 interfaces with DSP, also it will enable
240 the machine driver and the corresponding
241 DAI-links
242
Phani Kumar Uppalapati19483192017-06-26 18:53:55 -0700243config SND_SOC_MACHINE_SDM845
244 tristate "SoC Machine driver for SDM845 boards"
Phani Kumar Uppalapati5b1f0d12017-06-26 19:06:46 -0700245 select SND_SOC_WSA881X
Karthikeyan Mani858132b2017-06-27 20:03:08 -0700246 select SND_SOC_WCD934X
Phani Kumar Uppalapati19483192017-06-26 18:53:55 -0700247
248 help
249 To enable the machine driver and the
250 corresponding DAI-links on SDM845.
251 All platform specific audio modules are
252 enabled here.
253
Kyle Yan6a20fae2017-02-14 13:34:41 -0800254config SND_SOC_SDM845
255 tristate "SoC Machine driver for SDM845 boards"
Banajit Goswami5dbcc082017-01-18 12:11:15 -0800256 depends on ARCH_QCOM
257 select SND_SOC_COMPRESS
258 select SND_SOC_QDSP6V2
259 select SND_SOC_MSM_STUB
260 select SND_SOC_MSM_HOSTLESS_PCM
261 select SND_DYNAMIC_MINORS
262 select MSM_QDSP6_APRV2_GLINK
263 select MSM_QDSP6_SSR
264 select MSM_QDSP6_PDR
265 select MSM_QDSP6_NOTIFIER
266 select MSM_QDSP6V2_CODECS
Banajit Goswami5dbcc082017-01-18 12:11:15 -0800267 select DTS_SRS_TM
268 select QTI_PP
269 select MSM_ULTRASOUND
270 select DOLBY_DS2
271 select SND_HWDEP
272 select DTS_EAGLE
273 help
Kyle Yan6a20fae2017-02-14 13:34:41 -0800274 To add support for SoC audio on SDM845.
Banajit Goswami5dbcc082017-01-18 12:11:15 -0800275 This enables sound soc drivers that interfaces
276 with DSP. This also enables the machine driver
277 and the corresponding DAI-links.
278
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800279endmenu