blob: 185857493432fbec36299d43cc6a060f22bea881 [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
Rohit Kumar0bd27132016-12-06 14:48:58 +0530115 select SND_SOC_MSM_HDMI_CODEC_RX
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800116 select QTI_PP
117 select DTS_SRS_TM
Sharad Sangle30a99292017-02-16 12:49:27 +0530118 select DOLBY_LICENSE
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800119 select SND_HWDEP
120 select MSM_ULTRASOUND
121 select DTS_EAGLE
Neeraj Upadhyay49934422016-12-27 19:03:35 +0530122 select SND_SOC_SDM660_COMMON
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800123 select SND_SOC_COMPRESS
Laxminath Kasam7a721412016-11-02 20:02:00 +0530124 select PINCTRL_LPI
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800125 help
126 To add support for SoC audio on MSM_INT.
127 This will enable sound soc drivers which
128 interfaces with DSP, also it will enable
129 the machine driver and the corresponding
130 DAI-links
131
132config SND_SOC_EXT_CODEC
Neeraj Upadhyay49934422016-12-27 19:03:35 +0530133 tristate "SoC Machine driver for SDM660_EXT"
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800134 depends on ARCH_QCOM
135 select SND_SOC_QDSP6V2
136 select SND_SOC_MSM_STUB
137 select SND_SOC_MSM_HOSTLESS_PCM
138 select SND_DYNAMIC_MINORS
139 select MSM_QDSP6_APRV2_GLINK
140 select MSM_QDSP6_SSR
141 select MSM_QDSP6_PDR
142 select MSM_QDSP6_NOTIFIER
143 select MSM_QDSP6V2_CODECS
144 select SND_SOC_WCD9335
145 select SND_SOC_WCD934X
146 select SND_SOC_WSA881X
Rohit Kumar0bd27132016-12-06 14:48:58 +0530147 select SND_SOC_MSM_HDMI_CODEC_RX
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800148 select MFD_CORE
149 select QTI_PP
150 select DTS_SRS_TM
Sharad Sangle30a99292017-02-16 12:49:27 +0530151 select DOLBY_LICENSE
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800152 select SND_SOC_CPE
153 select SND_SOC_WCD_CPE
154 select SND_HWDEP
155 select MSM_ULTRASOUND
156 select DTS_EAGLE
Neeraj Upadhyay49934422016-12-27 19:03:35 +0530157 select SND_SOC_SDM660_COMMON
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800158 select SND_SOC_COMPRESS
Laxminath Kasam7a721412016-11-02 20:02:00 +0530159 select PINCTRL_LPI
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800160 help
161 To add support for SoC audio on MSM_EXT.
162 This will enable sound soc drivers which
163 interfaces with DSP, also it will enable
164 the machine driver and the corresponding
165 DAI-links
166
167config SND_SOC_MSM8996
168 tristate "SoC Machine driver for MSM8996 boards"
169 depends on ARCH_MSM8996
170 select SND_SOC_COMPRESS
171 select SND_SOC_QDSP6V2
172 select SND_SOC_MSM_STUB
173 select SND_SOC_MSM_HOSTLESS_PCM
174 select SND_DYNAMIC_MINORS
175 select MSM_QDSP6_APRV2
176 select MSM_QDSP6V2_CODECS
177 select SND_SOC_WCD9335
178 select SND_SOC_WSA881X
179 select SND_SOC_MSM_HDMI_CODEC_RX
180 select DTS_SRS_TM
181 select QTI_PP
182 select QTI_PP_AUDIOSPHERE
183 select SND_SOC_CPE
184 select MSM_ULTRASOUND
185 select DOLBY_DS2
186 select SND_HWDEP
187 select DTS_EAGLE
188 help
189 To add support for SoC audio on MSM8996.
190 This will enable sound soc drivers which
191 interfaces with DSP, also it will enable
192 the machine driver and the corresponding
193 DAI-links
194
195config SND_SOC_MSM8998
196 tristate "SoC Machine driver for MSM8998 boards"
197 depends on ARCH_QCOM
198 select SND_SOC_COMPRESS
199 select SND_SOC_QDSP6V2
200 select SND_SOC_MSM_STUB
201 select SND_SOC_MSM_HOSTLESS_PCM
202 select SND_DYNAMIC_MINORS
203 select MSM_QDSP6_APRV2_GLINK
204 select MSM_QDSP6_SSR
205 select MSM_QDSP6_PDR
206 select MSM_QDSP6_NOTIFIER
207 select MSM_QDSP6V2_CODECS
208 select SND_SOC_WCD9335
209 select SND_SOC_WCD934X
210 select SND_SOC_WSA881X
211 select SND_SOC_MSM_HDMI_CODEC_RX
212 select DTS_SRS_TM
213 select QTI_PP
214 select SND_SOC_CPE
215 select MSM_ULTRASOUND
Weiyin Jiang194ef0e2016-11-23 16:57:38 +0800216 select DOLBY_LICENSE
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800217 select SND_HWDEP
218 select DTS_EAGLE
219 help
220 To add support for SoC audio on MSM8998.
221 This will enable sound soc drivers which
222 interfaces with DSP, also it will enable
223 the machine driver and the corresponding
224 DAI-links
225
Neeraj Upadhyay49934422016-12-27 19:03:35 +0530226config SND_SOC_660
227 tristate "SoC Machine driver for SDM660 boards"
228 depends on ARCH_SDM660
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800229 select SND_SOC_INT_CODEC
230 select SND_SOC_EXT_CODEC
231 help
Neeraj Upadhyay49934422016-12-27 19:03:35 +0530232 To add support for SoC audio on SDM660.
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800233 This will enable sound soc drivers which
234 interfaces with DSP, also it will enable
235 the machine driver and the corresponding
236 DAI-links
237
Kyle Yan6a20fae2017-02-14 13:34:41 -0800238config SND_SOC_SDM845
239 tristate "SoC Machine driver for SDM845 boards"
Banajit Goswami5dbcc082017-01-18 12:11:15 -0800240 depends on ARCH_QCOM
241 select SND_SOC_COMPRESS
242 select SND_SOC_QDSP6V2
243 select SND_SOC_MSM_STUB
244 select SND_SOC_MSM_HOSTLESS_PCM
245 select SND_DYNAMIC_MINORS
246 select MSM_QDSP6_APRV2_GLINK
247 select MSM_QDSP6_SSR
248 select MSM_QDSP6_PDR
249 select MSM_QDSP6_NOTIFIER
250 select MSM_QDSP6V2_CODECS
251 select SND_SOC_WCD934X
252 select SND_SOC_WSA881X
Banajit Goswami5dbcc082017-01-18 12:11:15 -0800253 select DTS_SRS_TM
254 select QTI_PP
255 select MSM_ULTRASOUND
256 select DOLBY_DS2
257 select SND_HWDEP
258 select DTS_EAGLE
259 help
Kyle Yan6a20fae2017-02-14 13:34:41 -0800260 To add support for SoC audio on SDM845.
Banajit Goswami5dbcc082017-01-18 12:11:15 -0800261 This enables sound soc drivers that interfaces
262 with DSP. This also enables the machine driver
263 and the corresponding DAI-links.
264
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800265endmenu