blob: 66ecd6ab5b6c9733acbe396c1e95b8e5e5f465b7 [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
Phani Kumar Uppalapati19483192017-06-26 18:53:55 -0700163config SND_SOC_MACHINE_MSM8998
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800164 tristate "SoC Machine driver for MSM8998 boards"
Phani Kumar Uppalapati5b1f0d12017-06-26 19:06:46 -0700165 select SND_SOC_WSA881X
Karthikeyan Mani858132b2017-06-27 20:03:08 -0700166 select SND_SOC_WCD9335
167 select SND_SOC_WCD934X
168 select SND_SOC_CPE
Phani Kumar Uppalapati19483192017-06-26 18:53:55 -0700169
170 help
171 To enable the machine driver and the
172 corresponding DAI-links on MSM8998.
173 All platform specific audio modules are
174 enabled here.
175
176config SND_SOC_MSM8998
177 tristate "Sound SoC drivers to interface with DSP"
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800178 depends on ARCH_QCOM
179 select SND_SOC_COMPRESS
180 select SND_SOC_QDSP6V2
181 select SND_SOC_MSM_STUB
182 select SND_SOC_MSM_HOSTLESS_PCM
183 select SND_DYNAMIC_MINORS
184 select MSM_QDSP6_APRV2_GLINK
185 select MSM_QDSP6_SSR
186 select MSM_QDSP6_PDR
187 select MSM_QDSP6_NOTIFIER
188 select MSM_QDSP6V2_CODECS
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800189 select SND_SOC_MSM_HDMI_CODEC_RX
190 select DTS_SRS_TM
191 select QTI_PP
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800192 select MSM_ULTRASOUND
Weiyin Jiang194ef0e2016-11-23 16:57:38 +0800193 select DOLBY_LICENSE
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800194 select SND_HWDEP
195 select DTS_EAGLE
196 help
197 To add support for SoC audio on MSM8998.
198 This will enable sound soc drivers which
199 interfaces with DSP, also it will enable
200 the machine driver and the corresponding
201 DAI-links
202
Neeraj Upadhyay49934422016-12-27 19:03:35 +0530203config SND_SOC_660
Rohit Kumara477fac2017-06-19 10:57:37 +0530204 tristate "SoC Machine driver for SDM660/670 boards"
Rohit Kumar7a00df52017-08-08 19:49:37 +0530205 depends on ARCH_QCOM
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800206 select SND_SOC_INT_CODEC
207 select SND_SOC_EXT_CODEC
208 help
Rohit Kumara477fac2017-06-19 10:57:37 +0530209 To add support for SoC audio on SDM660/670.
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800210 This will enable sound soc drivers which
211 interfaces with DSP, also it will enable
212 the machine driver and the corresponding
213 DAI-links
214
Phani Kumar Uppalapati19483192017-06-26 18:53:55 -0700215config SND_SOC_MACHINE_SDM845
216 tristate "SoC Machine driver for SDM845 boards"
Phani Kumar Uppalapati5b1f0d12017-06-26 19:06:46 -0700217 select SND_SOC_WSA881X
Karthikeyan Mani858132b2017-06-27 20:03:08 -0700218 select SND_SOC_WCD934X
Phani Kumar Uppalapati19483192017-06-26 18:53:55 -0700219
220 help
221 To enable the machine driver and the
222 corresponding DAI-links on SDM845.
223 All platform specific audio modules are
224 enabled here.
225
Kyle Yan6a20fae2017-02-14 13:34:41 -0800226config SND_SOC_SDM845
227 tristate "SoC Machine driver for SDM845 boards"
Banajit Goswami5dbcc082017-01-18 12:11:15 -0800228 depends on ARCH_QCOM
229 select SND_SOC_COMPRESS
230 select SND_SOC_QDSP6V2
231 select SND_SOC_MSM_STUB
232 select SND_SOC_MSM_HOSTLESS_PCM
233 select SND_DYNAMIC_MINORS
234 select MSM_QDSP6_APRV2_GLINK
235 select MSM_QDSP6_SSR
236 select MSM_QDSP6_PDR
237 select MSM_QDSP6_NOTIFIER
238 select MSM_QDSP6V2_CODECS
Banajit Goswami5dbcc082017-01-18 12:11:15 -0800239 select DTS_SRS_TM
240 select QTI_PP
241 select MSM_ULTRASOUND
242 select DOLBY_DS2
243 select SND_HWDEP
244 select DTS_EAGLE
245 help
Kyle Yan6a20fae2017-02-14 13:34:41 -0800246 To add support for SoC audio on SDM845.
Banajit Goswami5dbcc082017-01-18 12:11:15 -0800247 This enables sound soc drivers that interfaces
248 with DSP. This also enables the machine driver
249 and the corresponding DAI-links.
250
Banajit Goswami0530e2f2016-12-09 21:34:37 -0800251endmenu