xref: /openbmc/linux/sound/soc/qcom/Kconfig (revision 425c5fce)
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
9230ad723bSSrinivas Kandagatlaconfig SND_SOC_QDSP6_APM_LPASS_DAI
9330ad723bSSrinivas Kandagatla	tristate
9430ad723bSSrinivas Kandagatla
95cf989b68SSrinivas Kandagatlaconfig SND_SOC_QDSP6_APM
96cf989b68SSrinivas Kandagatla	tristate
979b4fe0f1SSrinivas Kandagatla	select SND_SOC_QDSP6_APM_DAI
9830ad723bSSrinivas Kandagatla	select SND_SOC_QDSP6_APM_LPASS_DAI
99cf989b68SSrinivas Kandagatla
100d0756868SSrinivas Kandagatlaconfig SND_SOC_QDSP6_PRM_LPASS_CLOCKS
101d0756868SSrinivas Kandagatla	tristate
102d0756868SSrinivas Kandagatla
1039a0e5d6fSSrinivas Kandagatlaconfig SND_SOC_QDSP6_PRM
1049a0e5d6fSSrinivas Kandagatla	tristate
105d0756868SSrinivas Kandagatla	select SND_SOC_QDSP6_PRM_LPASS_CLOCKS
1069a0e5d6fSSrinivas Kandagatla
1074dddbddbSSrinivas Kandagatlaconfig SND_SOC_QDSP6
1084dddbddbSSrinivas Kandagatla	tristate "SoC ALSA audio driver for QDSP6"
109b6aa06deSGeert Uytterhoeven	depends on QCOM_APR
1102bc8831bSRandy Dunlap	depends on COMMON_CLK
1114dddbddbSSrinivas Kandagatla	select SND_SOC_QDSP6_COMMON
112b73e93e1SSrinivas Kandagatla	select SND_SOC_QDSP6_CORE
1137fa2d70fSSrinivas Kandagatla	select SND_SOC_QDSP6_AFE
11424c4cbcfSSrinivas Kandagatla	select SND_SOC_QDSP6_AFE_DAI
115520a1c39SSrinivas Kandagatla	select SND_SOC_QDSP6_AFE_CLOCKS
1167b20b2beSSrinivas Kandagatla	select SND_SOC_QDSP6_ADM
117e3a33673SSrinivas Kandagatla	select SND_SOC_QDSP6_ROUTING
118a13e8723SSrinivas Kandagatla	select SND_SOC_QDSP6_ASM
1192a9e92d3SSrinivas Kandagatla	select SND_SOC_QDSP6_ASM_DAI
12036ad9bf1SSrinivas Kandagatla	select SND_SOC_TOPOLOGY
121cf989b68SSrinivas Kandagatla	select SND_SOC_QDSP6_APM
1229a0e5d6fSSrinivas Kandagatla	select SND_SOC_QDSP6_PRM
1234dddbddbSSrinivas Kandagatla	help
1244dddbddbSSrinivas Kandagatla	 To add support for MSM QDSP6 Soc Audio.
1254dddbddbSSrinivas Kandagatla	 This will enable sound soc platform specific
1264dddbddbSSrinivas Kandagatla	 audio drivers. This includes q6asm, q6adm,
1274dddbddbSSrinivas Kandagatla	 q6afe interfaces to DSP using apr.
128a6f933f6SSrinivas Kandagatla
129a6f933f6SSrinivas Kandagatlaconfig SND_SOC_MSM8996
130a6f933f6SSrinivas Kandagatla	tristate "SoC Machine driver for MSM8996 and APQ8096 boards"
131a6f933f6SSrinivas Kandagatla	depends on QCOM_APR
132b1b8eb12SArnd Bergmann	depends on COMMON_CLK
133a6f933f6SSrinivas Kandagatla	select SND_SOC_QDSP6
1348e3684f6SSrinivas Kandagatla	select SND_SOC_QCOM_COMMON
135a6f933f6SSrinivas Kandagatla	help
136a6f933f6SSrinivas Kandagatla	  Support for Qualcomm Technologies LPASS audio block in
137a6f933f6SSrinivas Kandagatla	  APQ8096 SoC-based systems.
138a6f933f6SSrinivas Kandagatla	  Say Y if you want to use audio device on this SoCs
1396b1687bfSRohit kumar
1406b1687bfSRohit kumarconfig SND_SOC_SDM845
1416b1687bfSRohit kumar	tristate "SoC Machine driver for SDM845 boards"
1423bd057c8SJohn Stultz	depends on QCOM_APR && I2C && SOUNDWIRE
1432bc8831bSRandy Dunlap	depends on COMMON_CLK
1446b1687bfSRohit kumar	select SND_SOC_QDSP6
1458e3684f6SSrinivas Kandagatla	select SND_SOC_QCOM_COMMON
146e9dc9190SArnd Bergmann	select SND_SOC_RT5663
1470ddb0fb0SCheng-Yi Chiang	select SND_SOC_MAX98927
1483bd057c8SJohn Stultz	imply SND_SOC_CROS_EC_CODEC
1496b1687bfSRohit kumar	help
1506b1687bfSRohit kumar	  To add support for audio on Qualcomm Technologies Inc.
1516b1687bfSRohit kumar	  SDM845 SoC-based systems.
1526b1687bfSRohit kumar	  Say Y if you want to use audio device on this SoCs.
153db24fa57SSrinivas Kandagatla
154aa2e2785SSrinivas Kandagatlaconfig SND_SOC_SM8250
155aa2e2785SSrinivas Kandagatla	tristate "SoC Machine driver for SM8250 boards"
156aa2e2785SSrinivas Kandagatla	depends on QCOM_APR && SOUNDWIRE
157aa2e2785SSrinivas Kandagatla	depends on COMMON_CLK
158aa2e2785SSrinivas Kandagatla	select SND_SOC_QDSP6
159aa2e2785SSrinivas Kandagatla	select SND_SOC_QCOM_COMMON
160aa2e2785SSrinivas Kandagatla	help
161aa2e2785SSrinivas Kandagatla	  To add support for audio on Qualcomm Technologies Inc.
162aa2e2785SSrinivas Kandagatla	  SM8250 SoC-based systems.
163aa2e2785SSrinivas Kandagatla	  Say Y if you want to use audio device on this SoCs.
164aa2e2785SSrinivas Kandagatla
1659e3ecb5bSAjit Pandeyconfig SND_SOC_SC7180
1669e3ecb5bSAjit Pandey	tristate "SoC Machine driver for SC7180 boards"
1676cace797SJulian Braha	depends on I2C && GPIOLIB
1689e3ecb5bSAjit Pandey	select SND_SOC_QCOM_COMMON
1699e3ecb5bSAjit Pandey	select SND_SOC_LPASS_SC7180
1709e3ecb5bSAjit Pandey	select SND_SOC_MAX98357A
1719e3ecb5bSAjit Pandey	select SND_SOC_RT5682_I2C
172*425c5fceSlvzhaoxiong	select SND_SOC_RT5682S
173e936619bSxuyuqing	select SND_SOC_ADAU7002
1749e3ecb5bSAjit Pandey	help
1759e3ecb5bSAjit Pandey	  To add support for audio on Qualcomm Technologies Inc.
1769e3ecb5bSAjit Pandey	  SC7180 SoC-based systems.
1779e3ecb5bSAjit Pandey	  Say Y if you want to use audio device on this SoCs.
1789e3ecb5bSAjit Pandey
179db24fa57SSrinivas Kandagatlaendif #SND_SOC_QCOM
180