Kconfig 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399
  1. menu "MSM SoC Audio support"
  2. #7201 7625 variants
  3. config SND_MSM_DAI_SOC
  4. tristate
  5. config SND_MSM_SOC_MSM7K
  6. tristate
  7. config SND_MSM_SOC
  8. tristate "SoC Audio for the MSM series chips"
  9. depends on ARCH_MSM7X27
  10. select SND_MSM_DAI_SOC
  11. select SND_MSM_SOC_MSM7K
  12. default n
  13. help
  14. To add support for ALSA PCM driver for MSM board.
  15. #7630 Variants
  16. config SND_MSM7KV2_DAI_SOC
  17. tristate
  18. config SND_MSM_SOC_MSM7KV2
  19. tristate
  20. config SND_MSM7KV2_SOC
  21. tristate "SoC Audio for the MSM7KV2 chip"
  22. depends on ARCH_MSM7X30 && SND_SOC && MSM7KV2_AUDIO
  23. select SND_MSM_SOC_MSM7KV2
  24. select SND_MSM7KV2_DAI_SOC
  25. default n
  26. help
  27. To add support for ALSA PCM driver for QSD8k board.
  28. config SND_MSM_MVS7x30_SOC
  29. tristate
  30. config SND_MSM_MVS_DAI_SOC
  31. tristate
  32. config SND_MVS_SOC
  33. tristate "SoC Mvs support for MSM7X30"
  34. depends on SND_MSM7KV2_SOC
  35. select SND_MSM_MVS7x30_SOC
  36. select SND_MSM_MVS_DAI_SOC
  37. default n
  38. help
  39. To support Mvs packet capture/playback
  40. #8660 Variants
  41. config SND_SOC_MSM8X60_PCM
  42. tristate
  43. config SND_SOC_MSM8X60_DAI
  44. tristate
  45. config SND_SOC_MSM8X60
  46. tristate "SoC Audio over DSP support for MSM8660"
  47. depends on ARCH_MSM8X60 && SND_SOC && MSM8X60_AUDIO
  48. select SND_SOC_MSM8X60_PCM
  49. select SND_SOC_MSM8X60_DAI
  50. select SND_SOC_MSM_QDSP6_INTF
  51. default y
  52. help
  53. To add support for SoC audio on MSM8X60. This driver
  54. Adds support for audio over DSP. The driver adds Kcontrols
  55. to do device switch/routing and volume control support for all
  56. audio sessions. The kcontols also does sesion management for
  57. voice calls
  58. config SND_SOC_MSM_HOSTLESS_PCM
  59. tristate
  60. config SND_SOC_LPASS_PCM
  61. tristate
  62. config SND_SOC_MSM8660_LPAIF
  63. tristate
  64. config SND_VOIP_PCM
  65. tristate
  66. config SND_SOC_MSM_QDSP6_HDMI_AUDIO
  67. tristate "Soc QDSP6 HDMI Audio DAI driver"
  68. depends on FB_MSM_HDMI_MSM_PANEL
  69. default n
  70. help
  71. To support HDMI Audio on MSM8960 over QDSP6.
  72. config MSM_8x60_VOIP
  73. tristate "SoC Machine driver for voip"
  74. depends on SND_SOC_MSM8X60
  75. select SND_MSM_MVS_DAI_SOC
  76. select SND_VOIP_PCM
  77. default n
  78. help
  79. To support ALSA VOIP driver for MSM8x60 target.
  80. This driver communicates with QDSP6, for getting
  81. uplink and downlink voice packets.
  82. config SND_SOC_MSM_QDSP6_INTF
  83. bool "SoC Q6 audio driver for MSM8960"
  84. depends on MSM_QDSP6_APR
  85. default n
  86. help
  87. To add support for SoC audio on MSM8960.
  88. config SND_SOC_MSM_QDSP6V2_INTF
  89. bool "SoC Q6 audio driver for MSM8974"
  90. depends on MSM_QDSP6_APRV2
  91. help
  92. To add support for SoC audio on MSM8974.
  93. This will enable all the platform specific
  94. interactions towards DSP. It includes asm,
  95. adm and afe interfaces on the DSP.
  96. config SND_SOC_VOICE
  97. bool "SoC Q6 voice driver for MSM8960"
  98. depends on SND_SOC_MSM_QDSP6_INTF
  99. default n
  100. help
  101. To add support for SoC voice on MSM8960.
  102. config SND_SOC_QDSP6
  103. tristate "SoC ALSA audio driver for QDSP6"
  104. select SND_SOC_MSM_QDSP6_INTF
  105. default n
  106. help
  107. To add support for MSM QDSP6 Soc Audio.
  108. config SND_SOC_QDSP6V2
  109. tristate "SoC ALSA audio driver for QDSP6V2"
  110. select SND_SOC_MSM_QDSP6V2_INTF
  111. help
  112. To add support for MSM QDSP6V2 Soc Audio.
  113. This will enable sound soc platform specific
  114. audio drivers. This includes q6asm, q6adm,
  115. q6afe interfaces to DSP using apr.
  116. config SND_SOC_MSM8960
  117. tristate "SoC Machine driver for MSM8960 and APQ8064 boards"
  118. depends on ARCH_MSM8960 || ARCH_APQ8064
  119. select SND_SOC_VOICE
  120. select SND_SOC_QDSP6
  121. select SND_SOC_MSM_STUB
  122. select SND_SOC_WCD9310
  123. select SND_SOC_WCD9304
  124. select SND_SOC_MSM_HOSTLESS_PCM
  125. select SND_SOC_MSM_QDSP6_HDMI_AUDIO
  126. select SND_SOC_CS8427
  127. default n
  128. help
  129. To add support for SoC audio on MSM8960 and APQ8064 boards
  130. config AUDIO_OCMEM
  131. bool "Enable OCMEM for audio/voice usecase"
  132. depends on MSM_OCMEM
  133. default n
  134. help
  135. To add support for on-chip memory use
  136. for audio use cases on MSM8974.
  137. OCMEM gets exercised for low-power
  138. audio and voice use cases.
  139. config SND_SOC_MSM8974
  140. tristate "SoC Machine driver for MSM8974 boards"
  141. depends on ARCH_MSM8974
  142. select SND_SOC_QDSP6V2
  143. select SND_SOC_MSM_STUB
  144. select SND_SOC_MSM_HOSTLESS_PCM
  145. select SND_SOC_WCD9320
  146. select SND_DYNAMIC_MINORS
  147. select AUDIO_OCMEM
  148. select SND_HWDEP
  149. help
  150. To add support for SoC audio on MSM8974.
  151. This will enable sound soc drivers which
  152. interfaces with DSP, also it will enable
  153. the machine drivers and the corresponding
  154. DAI-links.
  155. config SND_SOC_APQ8074
  156. tristate "SoC Machine driver for APQ8O74 boards"
  157. depends on ARCH_MSM8974
  158. select SND_SOC_QDSP6V2
  159. select SND_SOC_MSM_STUB
  160. select SND_SOC_MSM_HOSTLESS_PCM
  161. select SND_SOC_WCD9320
  162. select SND_SOC_MSM_HDMI_CODEC_RX
  163. select SND_DYNAMIC_MINORS
  164. select AUDIO_OCMEM
  165. help
  166. To add support for SoC audio on APQ8074.
  167. This will enable sound soc drivers which
  168. interfaces with DSP, also it will enable
  169. the machine drivers and the corresponding
  170. DAI-links.
  171. config SND_SOC_MSM8226
  172. tristate "SoC Machine driver for MSM8226 boards"
  173. depends on ARCH_MSM8226
  174. select SND_SOC_QDSP6V2
  175. select SND_SOC_MSM_STUB
  176. select SND_SOC_MSM_HOSTLESS_PCM
  177. select SND_SOC_WCD9306
  178. select SND_DYNAMIC_MINORS
  179. help
  180. To add support for SoC audio on MSM8226.
  181. This will enable sound soc drivers which
  182. interfaces with DSP, also it will enable
  183. the machine drivers and the corresponding
  184. DAI-links.
  185. config SND_SOC_MDM9615
  186. tristate "SoC Machine driver for MDM9615 boards"
  187. depends on ARCH_MSM9615
  188. select SND_SOC_VOICE
  189. select SND_SOC_QDSP6
  190. select SND_SOC_MSM_STUB
  191. select SND_SOC_WCD9310
  192. select SND_SOC_MSM_HOSTLESS_PCM
  193. select SND_DYNAMIC_MINORS
  194. help
  195. To add support for SoC audio on MDM9615 boards
  196. config SND_SOC_MSM8X10
  197. tristate "SoC Machine driver for MSM8X10 boards"
  198. depends on ARCH_MSM8610
  199. select SND_SOC_QDSP6V2
  200. select SND_SOC_MSM_STUB
  201. select SND_SOC_MSM_HOSTLESS_PCM
  202. select SND_SOC_MSM8X10_WCD
  203. select SND_DYNAMIC_MINORS
  204. help
  205. To add support for SoC audio on MSM8X10.
  206. This will enable sound soc drivers which
  207. interfaces with DSP, also it will enable
  208. the machine drivers and the corresponding
  209. DAI-links.
  210. config EXT_MAINMIC_BIAS
  211. depends on ARCH_MSM8610
  212. default n
  213. bool "EXTERNAL MAIN MICBIAS"
  214. ---help---
  215. Support for the SAMSUNG MSM8930 audio.
  216. Say Y here if you want use External bias
  217. for Main mic.
  218. To compile this option, choose M here:
  219. If unsure, say N here.
  220. config EXT_SUBMIC_BIAS
  221. depends on ARCH_MSM8610
  222. default n
  223. bool "EXTERNAL MAIN MICBIAS"
  224. ---help---
  225. Support for the SAMSUNG MSM8930 audio.
  226. Say Y here if you want use External bias
  227. for Main mic.
  228. To compile this option, choose M here:
  229. If unsure, say N here.
  230. config SND_SOC_MSM8660_APQ
  231. tristate "Soc Machine driver for APQ8060 WM8903 codec"
  232. depends on ARCH_MSM8X60
  233. select SND_SOC_QDSP6
  234. select SND_SOC_WM8903
  235. select SND_SOC_MSM_STUB
  236. default n
  237. help
  238. To add support for SoC audio on APQ8060 board
  239. config SND_SOC_MDM9625
  240. tristate "SoC Machine driver for MDM9625 boards"
  241. depends on ARCH_MSM9625
  242. select SND_SOC_QDSP6V2
  243. select SND_SOC_MSM_STUB
  244. select SND_SOC_WCD9320
  245. select SND_SOC_MSM_HOSTLESS_PCM
  246. select SND_DYNAMIC_MINORS
  247. help
  248. To add support for SoC audio on MDM9625 boards.
  249. config SND_SOC_ES_515
  250. tristate "SoC Audio support for Audience ES515"
  251. help
  252. Say Y if you want to add support for SoC audio on Audience ES515.
  253. If enabled, the control and data bus interface with ES515
  254. must be selected. Three interfaces (I2C, I2S & SLIMbus) are
  255. supported as of now.
  256. choice
  257. prompt "earSmart control interface"
  258. depends on SND_SOC_ES_515
  259. default SND_SOC_ES_SLIM
  260. help
  261. Select either I2C or SLIMBUS for control interface. The currnet
  262. possible control and data bus selections are:
  263. * I2C for control - I2S for data
  264. * SLIMbus for control -I2S for data
  265. * SLIMbus(for both, control and data interface)
  266. config SND_SOC_ES_I2C
  267. bool "earSmart I2C"
  268. help
  269. Y to use the I2C as control interface to communicate with
  270. Audience chips.
  271. config SND_SOC_ES_SLIM
  272. bool "earSmart SLIMbus"
  273. help
  274. Y to use the SLIMbus as the command and control path
  275. endchoice
  276. config SND_SOC_ES_I2S
  277. tristate "earSmart I2S data interface"
  278. depends on SND_SOC_ES_515
  279. help
  280. Say Y if you want to add support for I2S data connections for
  281. Audience chips.
  282. config SND_SOC_ES_UART
  283. tristate "earSmart UART interface"
  284. depends on SND_SOC_ES_515
  285. help
  286. Say Y if you want to add support for UART interface for
  287. Audience chips. The UART interface can be used to send and
  288. receive control messages to Audience chips. It can also be
  289. used to stream out the audio data for debugging purpose.
  290. config SND_SOC_ES_CDEV
  291. tristate "earSmart character device interface"
  292. depends on SND_SOC_ES_515
  293. help
  294. Say Y if you want to add support for character device interface to
  295. Audience chips. This interface can also be used to stream out the
  296. audio data for debugging purpose by using existing available control
  297. interface.
  298. config JACK_AUDIO
  299. tristate "Low Latency for JAM audio"
  300. default y
  301. config SEC_DHA_SOL_MAL
  302. tristate "Samsung DHA solution"
  303. default n
  304. help
  305. To add support for Samsung DHA solution
  306. config AUDIO_DUAL_CP
  307. tristate "Audio Flag For DUAL CP"
  308. default n
  309. help
  310. To add support for udio Flag For DUAL CP
  311. config SEC_DEVIDE_RINGTONE_GAIN
  312. tristate "Samsung ringback tone gain devide"
  313. default n
  314. help
  315. To add support for Ringback tone gain devide
  316. config LDO_SUBMIC_BIAS
  317. depends on ARCH_MSM8974
  318. default n
  319. bool "LDO SUB MICBIAS"
  320. ---help---
  321. Support for the SAMSUNG MSM8974 audio.
  322. Say Y here if you want use LDO bias
  323. for Sub mic.
  324. To compile this option, choose M here:
  325. If unsure, say N here.
  326. config LDO_EARMIC_BIAS
  327. depends on ARCH_MSM8974
  328. default n
  329. bool "LDO EAR MICBIAS"
  330. ---help---
  331. Support for the SAMSUNG MSM8974 audio.
  332. Say Y here if you want use LDO bias
  333. for Ear mic.
  334. To compile this option, choose M here:
  335. If unsure, say N here
  336. config GPIO_MAINMIC_BIAS
  337. tristate "Main MicBias using gpio"
  338. help
  339. To add support if the main-mic bias is
  340. supplied using external LDO
  341. config DSDA_VIA_UART
  342. tristate "DualStandbyDualActive function via UART"
  343. help
  344. To add support dsda via uart
  345. endmenu