xref: /openbmc/linux/sound/soc/qcom/Kconfig (revision 9b4fe0f1)
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
88*9b4fe0f1SSrinivas Kandagatlaconfig SND_SOC_QDSP6_APM_DAI
89*9b4fe0f1SSrinivas Kandagatla	tristate
90*9b4fe0f1SSrinivas Kandagatla	select SND_SOC_COMPRESS
91*9b4fe0f1SSrinivas Kandagatla
92cf989b68SSrinivas Kandagatlaconfig SND_SOC_QDSP6_APM
93cf989b68SSrinivas Kandagatla	tristate
94*9b4fe0f1SSrinivas Kandagatla	select SND_SOC_QDSP6_APM_DAI
95cf989b68SSrinivas Kandagatla
964dddbddbSSrinivas Kandagatlaconfig SND_SOC_QDSP6
974dddbddbSSrinivas Kandagatla	tristate "SoC ALSA audio driver for QDSP6"
98b6aa06deSGeert Uytterhoeven	depends on QCOM_APR
992bc8831bSRandy Dunlap	depends on COMMON_CLK
1004dddbddbSSrinivas Kandagatla	select SND_SOC_QDSP6_COMMON
101b73e93e1SSrinivas Kandagatla	select SND_SOC_QDSP6_CORE
1027fa2d70fSSrinivas Kandagatla	select SND_SOC_QDSP6_AFE
10324c4cbcfSSrinivas Kandagatla	select SND_SOC_QDSP6_AFE_DAI
104520a1c39SSrinivas Kandagatla	select SND_SOC_QDSP6_AFE_CLOCKS
1057b20b2beSSrinivas Kandagatla	select SND_SOC_QDSP6_ADM
106e3a33673SSrinivas Kandagatla	select SND_SOC_QDSP6_ROUTING
107a13e8723SSrinivas Kandagatla	select SND_SOC_QDSP6_ASM
1082a9e92d3SSrinivas Kandagatla	select SND_SOC_QDSP6_ASM_DAI
10936ad9bf1SSrinivas Kandagatla	select SND_SOC_TOPOLOGY
110cf989b68SSrinivas Kandagatla	select SND_SOC_QDSP6_APM
1114dddbddbSSrinivas Kandagatla	help
1124dddbddbSSrinivas Kandagatla	 To add support for MSM QDSP6 Soc Audio.
1134dddbddbSSrinivas Kandagatla	 This will enable sound soc platform specific
1144dddbddbSSrinivas Kandagatla	 audio drivers. This includes q6asm, q6adm,
1154dddbddbSSrinivas Kandagatla	 q6afe interfaces to DSP using apr.
116a6f933f6SSrinivas Kandagatla
117a6f933f6SSrinivas Kandagatlaconfig SND_SOC_MSM8996
118a6f933f6SSrinivas Kandagatla	tristate "SoC Machine driver for MSM8996 and APQ8096 boards"
119a6f933f6SSrinivas Kandagatla	depends on QCOM_APR
120b1b8eb12SArnd Bergmann	depends on COMMON_CLK
121a6f933f6SSrinivas Kandagatla	select SND_SOC_QDSP6
1228e3684f6SSrinivas Kandagatla	select SND_SOC_QCOM_COMMON
123a6f933f6SSrinivas Kandagatla	help
124a6f933f6SSrinivas Kandagatla	  Support for Qualcomm Technologies LPASS audio block in
125a6f933f6SSrinivas Kandagatla	  APQ8096 SoC-based systems.
126a6f933f6SSrinivas Kandagatla	  Say Y if you want to use audio device on this SoCs
1276b1687bfSRohit kumar
1286b1687bfSRohit kumarconfig SND_SOC_SDM845
1296b1687bfSRohit kumar	tristate "SoC Machine driver for SDM845 boards"
1303bd057c8SJohn Stultz	depends on QCOM_APR && I2C && SOUNDWIRE
1312bc8831bSRandy Dunlap	depends on COMMON_CLK
1326b1687bfSRohit kumar	select SND_SOC_QDSP6
1338e3684f6SSrinivas Kandagatla	select SND_SOC_QCOM_COMMON
134e9dc9190SArnd Bergmann	select SND_SOC_RT5663
1350ddb0fb0SCheng-Yi Chiang	select SND_SOC_MAX98927
1363bd057c8SJohn Stultz	imply SND_SOC_CROS_EC_CODEC
1376b1687bfSRohit kumar	help
1386b1687bfSRohit kumar	  To add support for audio on Qualcomm Technologies Inc.
1396b1687bfSRohit kumar	  SDM845 SoC-based systems.
1406b1687bfSRohit kumar	  Say Y if you want to use audio device on this SoCs.
141db24fa57SSrinivas Kandagatla
142aa2e2785SSrinivas Kandagatlaconfig SND_SOC_SM8250
143aa2e2785SSrinivas Kandagatla	tristate "SoC Machine driver for SM8250 boards"
144aa2e2785SSrinivas Kandagatla	depends on QCOM_APR && SOUNDWIRE
145aa2e2785SSrinivas Kandagatla	depends on COMMON_CLK
146aa2e2785SSrinivas Kandagatla	select SND_SOC_QDSP6
147aa2e2785SSrinivas Kandagatla	select SND_SOC_QCOM_COMMON
148aa2e2785SSrinivas Kandagatla	help
149aa2e2785SSrinivas Kandagatla	  To add support for audio on Qualcomm Technologies Inc.
150aa2e2785SSrinivas Kandagatla	  SM8250 SoC-based systems.
151aa2e2785SSrinivas Kandagatla	  Say Y if you want to use audio device on this SoCs.
152aa2e2785SSrinivas Kandagatla
1539e3ecb5bSAjit Pandeyconfig SND_SOC_SC7180
1549e3ecb5bSAjit Pandey	tristate "SoC Machine driver for SC7180 boards"
1556cace797SJulian Braha	depends on I2C && GPIOLIB
1569e3ecb5bSAjit Pandey	select SND_SOC_QCOM_COMMON
1579e3ecb5bSAjit Pandey	select SND_SOC_LPASS_SC7180
1589e3ecb5bSAjit Pandey	select SND_SOC_MAX98357A
1599e3ecb5bSAjit Pandey	select SND_SOC_RT5682_I2C
160e936619bSxuyuqing	select SND_SOC_ADAU7002
1619e3ecb5bSAjit Pandey	help
1629e3ecb5bSAjit Pandey	  To add support for audio on Qualcomm Technologies Inc.
1639e3ecb5bSAjit Pandey	  SC7180 SoC-based systems.
1649e3ecb5bSAjit Pandey	  Say Y if you want to use audio device on this SoCs.
1659e3ecb5bSAjit Pandey
166db24fa57SSrinivas Kandagatlaendif #SND_SOC_QCOM
167