xref: /openbmc/linux/sound/soc/qcom/Kconfig (revision 30ad723b)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2db24fa57SSrinivas Kandagatlamenuconfig SND_SOC_QCOM
3f380dd3fSKenneth Westfield	tristate "ASoC support for QCOM platforms"
402c4b9c2SKenneth Westfield	depends on ARCH_QCOM || COMPILE_TEST
5f380dd3fSKenneth Westfield	help
6f380dd3fSKenneth Westfield	  Say Y or M if you want to add support to use audio devices
7f380dd3fSKenneth Westfield	  in Qualcomm Technologies SOC-based platforms.
8f380dd3fSKenneth Westfield
9db24fa57SSrinivas Kandagatlaif SND_SOC_QCOM
10db24fa57SSrinivas Kandagatla
11f380dd3fSKenneth Westfieldconfig SND_SOC_LPASS_CPU
12f380dd3fSKenneth Westfield	tristate
13f380dd3fSKenneth Westfield	select REGMAP_MMIO
14f380dd3fSKenneth Westfield
157cb37b7bSV Sujith Kumar Reddyconfig SND_SOC_LPASS_HDMI
167cb37b7bSV Sujith Kumar Reddy	tristate
177cb37b7bSV Sujith Kumar Reddy	select REGMAP_MMIO
187cb37b7bSV Sujith Kumar Reddy
19f380dd3fSKenneth Westfieldconfig SND_SOC_LPASS_PLATFORM
20f380dd3fSKenneth Westfield	tristate
21f380dd3fSKenneth Westfield	select REGMAP_MMIO
22f380dd3fSKenneth Westfield
239bae4880SSrinivas Kandagatlaconfig SND_SOC_LPASS_IPQ806X
249bae4880SSrinivas Kandagatla	tristate
259bae4880SSrinivas Kandagatla	select SND_SOC_LPASS_CPU
269bae4880SSrinivas Kandagatla	select SND_SOC_LPASS_PLATFORM
279bae4880SSrinivas Kandagatla
28dc1ebd18SSrinivas Kandagatlaconfig SND_SOC_LPASS_APQ8016
29dc1ebd18SSrinivas Kandagatla	tristate
30dc1ebd18SSrinivas Kandagatla	select SND_SOC_LPASS_CPU
31dc1ebd18SSrinivas Kandagatla	select SND_SOC_LPASS_PLATFORM
32dc1ebd18SSrinivas Kandagatla
3324caf8d9SAjit Pandeyconfig SND_SOC_LPASS_SC7180
3424caf8d9SAjit Pandey	tristate
3524caf8d9SAjit Pandey	select SND_SOC_LPASS_CPU
3624caf8d9SAjit Pandey	select SND_SOC_LPASS_PLATFORM
377cb37b7bSV Sujith Kumar Reddy	select SND_SOC_LPASS_HDMI
3824caf8d9SAjit Pandey
39f380dd3fSKenneth Westfieldconfig SND_SOC_STORM
40f380dd3fSKenneth Westfield	tristate "ASoC I2S support for Storm boards"
416cace797SJulian Braha	depends on GPIOLIB
429bae4880SSrinivas Kandagatla	select SND_SOC_LPASS_IPQ806X
43f380dd3fSKenneth Westfield	select SND_SOC_MAX98357A
44f380dd3fSKenneth Westfield	help
45f380dd3fSKenneth Westfield	  Say Y or M if you want add support for SoC audio on the
46f380dd3fSKenneth Westfield	  Qualcomm Technologies IPQ806X-based Storm board.
47bdb052e8SSrinivas Kandagatla
48bdb052e8SSrinivas Kandagatlaconfig SND_SOC_APQ8016_SBC
49bdb052e8SSrinivas Kandagatla	tristate "SoC Audio support for APQ8016 SBC platforms"
50bdb052e8SSrinivas Kandagatla	select SND_SOC_LPASS_APQ8016
51118205d2SStephan Gerhold	select SND_SOC_QCOM_COMMON
52bdb052e8SSrinivas Kandagatla	help
53bdb052e8SSrinivas Kandagatla	  Support for Qualcomm Technologies LPASS audio block in
54bdb052e8SSrinivas Kandagatla	  APQ8016 SOC-based systems.
55bdb052e8SSrinivas Kandagatla	  Say Y if you want to use audio devices on MI2S.
564dddbddbSSrinivas Kandagatla
578e3684f6SSrinivas Kandagatlaconfig SND_SOC_QCOM_COMMON
588e3684f6SSrinivas Kandagatla	tristate
598e3684f6SSrinivas Kandagatla
604dddbddbSSrinivas Kandagatlaconfig SND_SOC_QDSP6_COMMON
614dddbddbSSrinivas Kandagatla	tristate
624dddbddbSSrinivas Kandagatla
63b73e93e1SSrinivas Kandagatlaconfig SND_SOC_QDSP6_CORE
64b73e93e1SSrinivas Kandagatla	tristate
65b73e93e1SSrinivas Kandagatla
667fa2d70fSSrinivas Kandagatlaconfig SND_SOC_QDSP6_AFE
677fa2d70fSSrinivas Kandagatla	tristate
687fa2d70fSSrinivas Kandagatla
6924c4cbcfSSrinivas Kandagatlaconfig SND_SOC_QDSP6_AFE_DAI
7024c4cbcfSSrinivas Kandagatla	tristate
7124c4cbcfSSrinivas Kandagatla
72520a1c39SSrinivas Kandagatlaconfig SND_SOC_QDSP6_AFE_CLOCKS
73520a1c39SSrinivas Kandagatla	tristate
74520a1c39SSrinivas Kandagatla
757b20b2beSSrinivas Kandagatlaconfig SND_SOC_QDSP6_ADM
767b20b2beSSrinivas Kandagatla	tristate
777b20b2beSSrinivas Kandagatla
78e3a33673SSrinivas Kandagatlaconfig SND_SOC_QDSP6_ROUTING
79e3a33673SSrinivas Kandagatla	tristate
80e3a33673SSrinivas Kandagatla
81a13e8723SSrinivas Kandagatlaconfig SND_SOC_QDSP6_ASM
82a13e8723SSrinivas Kandagatla	tristate
83a13e8723SSrinivas Kandagatla
842a9e92d3SSrinivas Kandagatlaconfig SND_SOC_QDSP6_ASM_DAI
8522930c79SSrinivas Kandagatla	select SND_SOC_COMPRESS
862a9e92d3SSrinivas Kandagatla	tristate
872a9e92d3SSrinivas Kandagatla
889b4fe0f1SSrinivas Kandagatlaconfig SND_SOC_QDSP6_APM_DAI
899b4fe0f1SSrinivas Kandagatla	tristate
909b4fe0f1SSrinivas Kandagatla	select SND_SOC_COMPRESS
919b4fe0f1SSrinivas Kandagatla
92*30ad723bSSrinivas Kandagatlaconfig SND_SOC_QDSP6_APM_LPASS_DAI
93*30ad723bSSrinivas Kandagatla	tristate
94*30ad723bSSrinivas Kandagatla
95cf989b68SSrinivas Kandagatlaconfig SND_SOC_QDSP6_APM
96cf989b68SSrinivas Kandagatla	tristate
979b4fe0f1SSrinivas Kandagatla	select SND_SOC_QDSP6_APM_DAI
98*30ad723bSSrinivas Kandagatla	select SND_SOC_QDSP6_APM_LPASS_DAI
99cf989b68SSrinivas Kandagatla
1004dddbddbSSrinivas Kandagatlaconfig SND_SOC_QDSP6
1014dddbddbSSrinivas Kandagatla	tristate "SoC ALSA audio driver for QDSP6"
102b6aa06deSGeert Uytterhoeven	depends on QCOM_APR
1032bc8831bSRandy Dunlap	depends on COMMON_CLK
1044dddbddbSSrinivas Kandagatla	select SND_SOC_QDSP6_COMMON
105b73e93e1SSrinivas Kandagatla	select SND_SOC_QDSP6_CORE
1067fa2d70fSSrinivas Kandagatla	select SND_SOC_QDSP6_AFE
10724c4cbcfSSrinivas Kandagatla	select SND_SOC_QDSP6_AFE_DAI
108520a1c39SSrinivas Kandagatla	select SND_SOC_QDSP6_AFE_CLOCKS
1097b20b2beSSrinivas Kandagatla	select SND_SOC_QDSP6_ADM
110e3a33673SSrinivas Kandagatla	select SND_SOC_QDSP6_ROUTING
111a13e8723SSrinivas Kandagatla	select SND_SOC_QDSP6_ASM
1122a9e92d3SSrinivas Kandagatla	select SND_SOC_QDSP6_ASM_DAI
11336ad9bf1SSrinivas Kandagatla	select SND_SOC_TOPOLOGY
114cf989b68SSrinivas Kandagatla	select SND_SOC_QDSP6_APM
1154dddbddbSSrinivas Kandagatla	help
1164dddbddbSSrinivas Kandagatla	 To add support for MSM QDSP6 Soc Audio.
1174dddbddbSSrinivas Kandagatla	 This will enable sound soc platform specific
1184dddbddbSSrinivas Kandagatla	 audio drivers. This includes q6asm, q6adm,
1194dddbddbSSrinivas Kandagatla	 q6afe interfaces to DSP using apr.
120a6f933f6SSrinivas Kandagatla
121a6f933f6SSrinivas Kandagatlaconfig SND_SOC_MSM8996
122a6f933f6SSrinivas Kandagatla	tristate "SoC Machine driver for MSM8996 and APQ8096 boards"
123a6f933f6SSrinivas Kandagatla	depends on QCOM_APR
124b1b8eb12SArnd Bergmann	depends on COMMON_CLK
125a6f933f6SSrinivas Kandagatla	select SND_SOC_QDSP6
1268e3684f6SSrinivas Kandagatla	select SND_SOC_QCOM_COMMON
127a6f933f6SSrinivas Kandagatla	help
128a6f933f6SSrinivas Kandagatla	  Support for Qualcomm Technologies LPASS audio block in
129a6f933f6SSrinivas Kandagatla	  APQ8096 SoC-based systems.
130a6f933f6SSrinivas Kandagatla	  Say Y if you want to use audio device on this SoCs
1316b1687bfSRohit kumar
1326b1687bfSRohit kumarconfig SND_SOC_SDM845
1336b1687bfSRohit kumar	tristate "SoC Machine driver for SDM845 boards"
1343bd057c8SJohn Stultz	depends on QCOM_APR && I2C && SOUNDWIRE
1352bc8831bSRandy Dunlap	depends on COMMON_CLK
1366b1687bfSRohit kumar	select SND_SOC_QDSP6
1378e3684f6SSrinivas Kandagatla	select SND_SOC_QCOM_COMMON
138e9dc9190SArnd Bergmann	select SND_SOC_RT5663
1390ddb0fb0SCheng-Yi Chiang	select SND_SOC_MAX98927
1403bd057c8SJohn Stultz	imply SND_SOC_CROS_EC_CODEC
1416b1687bfSRohit kumar	help
1426b1687bfSRohit kumar	  To add support for audio on Qualcomm Technologies Inc.
1436b1687bfSRohit kumar	  SDM845 SoC-based systems.
1446b1687bfSRohit kumar	  Say Y if you want to use audio device on this SoCs.
145db24fa57SSrinivas Kandagatla
146aa2e2785SSrinivas Kandagatlaconfig SND_SOC_SM8250
147aa2e2785SSrinivas Kandagatla	tristate "SoC Machine driver for SM8250 boards"
148aa2e2785SSrinivas Kandagatla	depends on QCOM_APR && SOUNDWIRE
149aa2e2785SSrinivas Kandagatla	depends on COMMON_CLK
150aa2e2785SSrinivas Kandagatla	select SND_SOC_QDSP6
151aa2e2785SSrinivas Kandagatla	select SND_SOC_QCOM_COMMON
152aa2e2785SSrinivas Kandagatla	help
153aa2e2785SSrinivas Kandagatla	  To add support for audio on Qualcomm Technologies Inc.
154aa2e2785SSrinivas Kandagatla	  SM8250 SoC-based systems.
155aa2e2785SSrinivas Kandagatla	  Say Y if you want to use audio device on this SoCs.
156aa2e2785SSrinivas Kandagatla
1579e3ecb5bSAjit Pandeyconfig SND_SOC_SC7180
1589e3ecb5bSAjit Pandey	tristate "SoC Machine driver for SC7180 boards"
1596cace797SJulian Braha	depends on I2C && GPIOLIB
1609e3ecb5bSAjit Pandey	select SND_SOC_QCOM_COMMON
1619e3ecb5bSAjit Pandey	select SND_SOC_LPASS_SC7180
1629e3ecb5bSAjit Pandey	select SND_SOC_MAX98357A
1639e3ecb5bSAjit Pandey	select SND_SOC_RT5682_I2C
164e936619bSxuyuqing	select SND_SOC_ADAU7002
1659e3ecb5bSAjit Pandey	help
1669e3ecb5bSAjit Pandey	  To add support for audio on Qualcomm Technologies Inc.
1679e3ecb5bSAjit Pandey	  SC7180 SoC-based systems.
1689e3ecb5bSAjit Pandey	  Say Y if you want to use audio device on this SoCs.
1699e3ecb5bSAjit Pandey
170db24fa57SSrinivas Kandagatlaendif #SND_SOC_QCOM
171