xref: /openbmc/linux/sound/soc/qcom/Kconfig (revision b62c4e5f)
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
23b81af585SSrinivasa Rao Mandadapuconfig SND_SOC_LPASS_CDC_DMA
24b81af585SSrinivasa Rao Mandadapu	tristate
25b81af585SSrinivasa Rao Mandadapu	select REGMAP_MMIO
26b81af585SSrinivasa Rao Mandadapu
279bae4880SSrinivas Kandagatlaconfig SND_SOC_LPASS_IPQ806X
289bae4880SSrinivas Kandagatla	tristate
299bae4880SSrinivas Kandagatla	select SND_SOC_LPASS_CPU
309bae4880SSrinivas Kandagatla	select SND_SOC_LPASS_PLATFORM
319bae4880SSrinivas Kandagatla
32dc1ebd18SSrinivas Kandagatlaconfig SND_SOC_LPASS_APQ8016
33dc1ebd18SSrinivas Kandagatla	tristate
34dc1ebd18SSrinivas Kandagatla	select SND_SOC_LPASS_CPU
35dc1ebd18SSrinivas Kandagatla	select SND_SOC_LPASS_PLATFORM
36dc1ebd18SSrinivas Kandagatla
3724caf8d9SAjit Pandeyconfig SND_SOC_LPASS_SC7180
3824caf8d9SAjit Pandey	tristate
3924caf8d9SAjit Pandey	select SND_SOC_LPASS_CPU
4024caf8d9SAjit Pandey	select SND_SOC_LPASS_PLATFORM
417cb37b7bSV Sujith Kumar Reddy	select SND_SOC_LPASS_HDMI
4224caf8d9SAjit Pandey
43*b62c4e5fSSrinivasa Rao Mandadapuconfig SND_SOC_LPASS_SC7280
44*b62c4e5fSSrinivasa Rao Mandadapu	tristate
45*b62c4e5fSSrinivasa Rao Mandadapu	select SND_SOC_LPASS_CPU
46*b62c4e5fSSrinivasa Rao Mandadapu	select SND_SOC_LPASS_PLATFORM
47*b62c4e5fSSrinivasa Rao Mandadapu	select SND_SOC_LPASS_HDMI
48*b62c4e5fSSrinivasa Rao Mandadapu	select SND_SOC_LPASS_CDC_DMA
49*b62c4e5fSSrinivasa Rao Mandadapu
50f380dd3fSKenneth Westfieldconfig SND_SOC_STORM
51f380dd3fSKenneth Westfield	tristate "ASoC I2S support for Storm boards"
526cace797SJulian Braha	depends on GPIOLIB
539bae4880SSrinivas Kandagatla	select SND_SOC_LPASS_IPQ806X
54f380dd3fSKenneth Westfield	select SND_SOC_MAX98357A
55f380dd3fSKenneth Westfield	help
56f380dd3fSKenneth Westfield	  Say Y or M if you want add support for SoC audio on the
57f380dd3fSKenneth Westfield	  Qualcomm Technologies IPQ806X-based Storm board.
58bdb052e8SSrinivas Kandagatla
59bdb052e8SSrinivas Kandagatlaconfig SND_SOC_APQ8016_SBC
60bdb052e8SSrinivas Kandagatla	tristate "SoC Audio support for APQ8016 SBC platforms"
61bdb052e8SSrinivas Kandagatla	select SND_SOC_LPASS_APQ8016
62118205d2SStephan Gerhold	select SND_SOC_QCOM_COMMON
63bdb052e8SSrinivas Kandagatla	help
64bdb052e8SSrinivas Kandagatla	  Support for Qualcomm Technologies LPASS audio block in
65bdb052e8SSrinivas Kandagatla	  APQ8016 SOC-based systems.
66bdb052e8SSrinivas Kandagatla	  Say Y if you want to use audio devices on MI2S.
674dddbddbSSrinivas Kandagatla
688e3684f6SSrinivas Kandagatlaconfig SND_SOC_QCOM_COMMON
698e3684f6SSrinivas Kandagatla	tristate
708e3684f6SSrinivas Kandagatla
714dddbddbSSrinivas Kandagatlaconfig SND_SOC_QDSP6_COMMON
724dddbddbSSrinivas Kandagatla	tristate
734dddbddbSSrinivas Kandagatla
74b73e93e1SSrinivas Kandagatlaconfig SND_SOC_QDSP6_CORE
75b73e93e1SSrinivas Kandagatla	tristate
76b73e93e1SSrinivas Kandagatla
777fa2d70fSSrinivas Kandagatlaconfig SND_SOC_QDSP6_AFE
787fa2d70fSSrinivas Kandagatla	tristate
797fa2d70fSSrinivas Kandagatla
8024c4cbcfSSrinivas Kandagatlaconfig SND_SOC_QDSP6_AFE_DAI
8124c4cbcfSSrinivas Kandagatla	tristate
8224c4cbcfSSrinivas Kandagatla
83520a1c39SSrinivas Kandagatlaconfig SND_SOC_QDSP6_AFE_CLOCKS
84520a1c39SSrinivas Kandagatla	tristate
85520a1c39SSrinivas Kandagatla
867b20b2beSSrinivas Kandagatlaconfig SND_SOC_QDSP6_ADM
877b20b2beSSrinivas Kandagatla	tristate
887b20b2beSSrinivas Kandagatla
89e3a33673SSrinivas Kandagatlaconfig SND_SOC_QDSP6_ROUTING
90e3a33673SSrinivas Kandagatla	tristate
91e3a33673SSrinivas Kandagatla
92a13e8723SSrinivas Kandagatlaconfig SND_SOC_QDSP6_ASM
93a13e8723SSrinivas Kandagatla	tristate
94a13e8723SSrinivas Kandagatla
952a9e92d3SSrinivas Kandagatlaconfig SND_SOC_QDSP6_ASM_DAI
9622930c79SSrinivas Kandagatla	select SND_SOC_COMPRESS
972a9e92d3SSrinivas Kandagatla	tristate
982a9e92d3SSrinivas Kandagatla
999b4fe0f1SSrinivas Kandagatlaconfig SND_SOC_QDSP6_APM_DAI
1009b4fe0f1SSrinivas Kandagatla	tristate
1019b4fe0f1SSrinivas Kandagatla	select SND_SOC_COMPRESS
1029b4fe0f1SSrinivas Kandagatla
10330ad723bSSrinivas Kandagatlaconfig SND_SOC_QDSP6_APM_LPASS_DAI
10430ad723bSSrinivas Kandagatla	tristate
10530ad723bSSrinivas Kandagatla
106cf989b68SSrinivas Kandagatlaconfig SND_SOC_QDSP6_APM
107cf989b68SSrinivas Kandagatla	tristate
1089b4fe0f1SSrinivas Kandagatla	select SND_SOC_QDSP6_APM_DAI
10930ad723bSSrinivas Kandagatla	select SND_SOC_QDSP6_APM_LPASS_DAI
110cf989b68SSrinivas Kandagatla
111d0756868SSrinivas Kandagatlaconfig SND_SOC_QDSP6_PRM_LPASS_CLOCKS
112d0756868SSrinivas Kandagatla	tristate
113d0756868SSrinivas Kandagatla
1149a0e5d6fSSrinivas Kandagatlaconfig SND_SOC_QDSP6_PRM
1159a0e5d6fSSrinivas Kandagatla	tristate
116d0756868SSrinivas Kandagatla	select SND_SOC_QDSP6_PRM_LPASS_CLOCKS
1179a0e5d6fSSrinivas Kandagatla
1184dddbddbSSrinivas Kandagatlaconfig SND_SOC_QDSP6
1194dddbddbSSrinivas Kandagatla	tristate "SoC ALSA audio driver for QDSP6"
120b6aa06deSGeert Uytterhoeven	depends on QCOM_APR
1212bc8831bSRandy Dunlap	depends on COMMON_CLK
1224dddbddbSSrinivas Kandagatla	select SND_SOC_QDSP6_COMMON
123b73e93e1SSrinivas Kandagatla	select SND_SOC_QDSP6_CORE
1247fa2d70fSSrinivas Kandagatla	select SND_SOC_QDSP6_AFE
12524c4cbcfSSrinivas Kandagatla	select SND_SOC_QDSP6_AFE_DAI
126520a1c39SSrinivas Kandagatla	select SND_SOC_QDSP6_AFE_CLOCKS
1277b20b2beSSrinivas Kandagatla	select SND_SOC_QDSP6_ADM
128e3a33673SSrinivas Kandagatla	select SND_SOC_QDSP6_ROUTING
129a13e8723SSrinivas Kandagatla	select SND_SOC_QDSP6_ASM
1302a9e92d3SSrinivas Kandagatla	select SND_SOC_QDSP6_ASM_DAI
13136ad9bf1SSrinivas Kandagatla	select SND_SOC_TOPOLOGY
132cf989b68SSrinivas Kandagatla	select SND_SOC_QDSP6_APM
1339a0e5d6fSSrinivas Kandagatla	select SND_SOC_QDSP6_PRM
1344dddbddbSSrinivas Kandagatla	help
1354dddbddbSSrinivas Kandagatla	 To add support for MSM QDSP6 Soc Audio.
1364dddbddbSSrinivas Kandagatla	 This will enable sound soc platform specific
1374dddbddbSSrinivas Kandagatla	 audio drivers. This includes q6asm, q6adm,
1384dddbddbSSrinivas Kandagatla	 q6afe interfaces to DSP using apr.
139a6f933f6SSrinivas Kandagatla
140a6f933f6SSrinivas Kandagatlaconfig SND_SOC_MSM8996
141a6f933f6SSrinivas Kandagatla	tristate "SoC Machine driver for MSM8996 and APQ8096 boards"
142a6f933f6SSrinivas Kandagatla	depends on QCOM_APR
143b1b8eb12SArnd Bergmann	depends on COMMON_CLK
144a6f933f6SSrinivas Kandagatla	select SND_SOC_QDSP6
1458e3684f6SSrinivas Kandagatla	select SND_SOC_QCOM_COMMON
146a6f933f6SSrinivas Kandagatla	help
147a6f933f6SSrinivas Kandagatla	  Support for Qualcomm Technologies LPASS audio block in
148a6f933f6SSrinivas Kandagatla	  APQ8096 SoC-based systems.
149a6f933f6SSrinivas Kandagatla	  Say Y if you want to use audio device on this SoCs
1506b1687bfSRohit kumar
1516b1687bfSRohit kumarconfig SND_SOC_SDM845
1526b1687bfSRohit kumar	tristate "SoC Machine driver for SDM845 boards"
1533bd057c8SJohn Stultz	depends on QCOM_APR && I2C && SOUNDWIRE
1542bc8831bSRandy Dunlap	depends on COMMON_CLK
1556b1687bfSRohit kumar	select SND_SOC_QDSP6
1568e3684f6SSrinivas Kandagatla	select SND_SOC_QCOM_COMMON
157e9dc9190SArnd Bergmann	select SND_SOC_RT5663
1580ddb0fb0SCheng-Yi Chiang	select SND_SOC_MAX98927
1593bd057c8SJohn Stultz	imply SND_SOC_CROS_EC_CODEC
1606b1687bfSRohit kumar	help
1616b1687bfSRohit kumar	  To add support for audio on Qualcomm Technologies Inc.
1626b1687bfSRohit kumar	  SDM845 SoC-based systems.
1636b1687bfSRohit kumar	  Say Y if you want to use audio device on this SoCs.
164db24fa57SSrinivas Kandagatla
165aa2e2785SSrinivas Kandagatlaconfig SND_SOC_SM8250
166aa2e2785SSrinivas Kandagatla	tristate "SoC Machine driver for SM8250 boards"
167aa2e2785SSrinivas Kandagatla	depends on QCOM_APR && SOUNDWIRE
168aa2e2785SSrinivas Kandagatla	depends on COMMON_CLK
169aa2e2785SSrinivas Kandagatla	select SND_SOC_QDSP6
170aa2e2785SSrinivas Kandagatla	select SND_SOC_QCOM_COMMON
171aa2e2785SSrinivas Kandagatla	help
172aa2e2785SSrinivas Kandagatla	  To add support for audio on Qualcomm Technologies Inc.
173aa2e2785SSrinivas Kandagatla	  SM8250 SoC-based systems.
174aa2e2785SSrinivas Kandagatla	  Say Y if you want to use audio device on this SoCs.
175aa2e2785SSrinivas Kandagatla
1769e3ecb5bSAjit Pandeyconfig SND_SOC_SC7180
1779e3ecb5bSAjit Pandey	tristate "SoC Machine driver for SC7180 boards"
1786cace797SJulian Braha	depends on I2C && GPIOLIB
1799e3ecb5bSAjit Pandey	select SND_SOC_QCOM_COMMON
1809e3ecb5bSAjit Pandey	select SND_SOC_LPASS_SC7180
1819e3ecb5bSAjit Pandey	select SND_SOC_MAX98357A
1829e3ecb5bSAjit Pandey	select SND_SOC_RT5682_I2C
183425c5fceSlvzhaoxiong	select SND_SOC_RT5682S
184e936619bSxuyuqing	select SND_SOC_ADAU7002
1859e3ecb5bSAjit Pandey	help
1869e3ecb5bSAjit Pandey	  To add support for audio on Qualcomm Technologies Inc.
1879e3ecb5bSAjit Pandey	  SC7180 SoC-based systems.
1889e3ecb5bSAjit Pandey	  Say Y if you want to use audio device on this SoCs.
1899e3ecb5bSAjit Pandey
19057350bd4SSrinivasa Rao Mandadapuconfig SND_SOC_SC7280
19157350bd4SSrinivasa Rao Mandadapu	tristate "SoC Machine driver for SC7280 boards"
192b83eb8beSMark Brown	depends on I2C && SOUNDWIRE
19357350bd4SSrinivasa Rao Mandadapu	select SND_SOC_QCOM_COMMON
19457350bd4SSrinivasa Rao Mandadapu	select SND_SOC_LPASS_SC7280
19557350bd4SSrinivasa Rao Mandadapu	select SND_SOC_MAX98357A
19657350bd4SSrinivasa Rao Mandadapu	select SND_SOC_WCD938X
19757350bd4SSrinivasa Rao Mandadapu	select SND_SOC_LPASS_RX_MACRO
19857350bd4SSrinivasa Rao Mandadapu	select SND_SOC_LPASS_TX_MACRO
19957350bd4SSrinivasa Rao Mandadapu	help
20057350bd4SSrinivasa Rao Mandadapu	  Add support for audio on Qualcomm Technologies Inc.
20157350bd4SSrinivasa Rao Mandadapu	  SC7280 SoC-based systems.
20257350bd4SSrinivasa Rao Mandadapu	  Say Y or M if you want to use audio device on this SoCs.
20357350bd4SSrinivasa Rao Mandadapu
204db24fa57SSrinivas Kandagatlaendif #SND_SOC_QCOM
205