xref: /openbmc/linux/sound/soc/qcom/Kconfig (revision 0cbf1ecd)
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
43b62c4e5fSSrinivasa Rao Mandadapuconfig SND_SOC_LPASS_SC7280
44b62c4e5fSSrinivasa Rao Mandadapu	tristate
45b62c4e5fSSrinivasa Rao Mandadapu	select SND_SOC_LPASS_CPU
46b62c4e5fSSrinivasa Rao Mandadapu	select SND_SOC_LPASS_PLATFORM
47b62c4e5fSSrinivasa Rao Mandadapu	select SND_SOC_LPASS_HDMI
48b62c4e5fSSrinivasa Rao Mandadapu	select SND_SOC_LPASS_CDC_DMA
49b62c4e5fSSrinivasa 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
62*0cbf1ecdSStephan 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
69*0cbf1ecdSStephan Gerhold	tristate
70*0cbf1ecdSStephan Gerhold
71*0cbf1ecdSStephan Gerholdconfig SND_SOC_QCOM_SDW
728e3684f6SSrinivas Kandagatla	tristate
738e3684f6SSrinivas Kandagatla
744dddbddbSSrinivas Kandagatlaconfig SND_SOC_QDSP6_COMMON
754dddbddbSSrinivas Kandagatla	tristate
764dddbddbSSrinivas Kandagatla
77b73e93e1SSrinivas Kandagatlaconfig SND_SOC_QDSP6_CORE
78b73e93e1SSrinivas Kandagatla	tristate
79b73e93e1SSrinivas Kandagatla
807fa2d70fSSrinivas Kandagatlaconfig SND_SOC_QDSP6_AFE
817fa2d70fSSrinivas Kandagatla	tristate
827fa2d70fSSrinivas Kandagatla
8324c4cbcfSSrinivas Kandagatlaconfig SND_SOC_QDSP6_AFE_DAI
8424c4cbcfSSrinivas Kandagatla	tristate
8524c4cbcfSSrinivas Kandagatla
86520a1c39SSrinivas Kandagatlaconfig SND_SOC_QDSP6_AFE_CLOCKS
87520a1c39SSrinivas Kandagatla	tristate
88520a1c39SSrinivas Kandagatla
897b20b2beSSrinivas Kandagatlaconfig SND_SOC_QDSP6_ADM
907b20b2beSSrinivas Kandagatla	tristate
917b20b2beSSrinivas Kandagatla
92e3a33673SSrinivas Kandagatlaconfig SND_SOC_QDSP6_ROUTING
93e3a33673SSrinivas Kandagatla	tristate
94e3a33673SSrinivas Kandagatla
95a13e8723SSrinivas Kandagatlaconfig SND_SOC_QDSP6_ASM
96a13e8723SSrinivas Kandagatla	tristate
97a13e8723SSrinivas Kandagatla
982a9e92d3SSrinivas Kandagatlaconfig SND_SOC_QDSP6_ASM_DAI
9922930c79SSrinivas Kandagatla	select SND_SOC_COMPRESS
1002a9e92d3SSrinivas Kandagatla	tristate
1012a9e92d3SSrinivas Kandagatla
1029b4fe0f1SSrinivas Kandagatlaconfig SND_SOC_QDSP6_APM_DAI
1039b4fe0f1SSrinivas Kandagatla	tristate
1049b4fe0f1SSrinivas Kandagatla	select SND_SOC_COMPRESS
1059b4fe0f1SSrinivas Kandagatla
10630ad723bSSrinivas Kandagatlaconfig SND_SOC_QDSP6_APM_LPASS_DAI
10730ad723bSSrinivas Kandagatla	tristate
10830ad723bSSrinivas Kandagatla
109cf989b68SSrinivas Kandagatlaconfig SND_SOC_QDSP6_APM
110cf989b68SSrinivas Kandagatla	tristate
1119b4fe0f1SSrinivas Kandagatla	select SND_SOC_QDSP6_APM_DAI
11230ad723bSSrinivas Kandagatla	select SND_SOC_QDSP6_APM_LPASS_DAI
113cf989b68SSrinivas Kandagatla
114d0756868SSrinivas Kandagatlaconfig SND_SOC_QDSP6_PRM_LPASS_CLOCKS
115d0756868SSrinivas Kandagatla	tristate
116d0756868SSrinivas Kandagatla
1179a0e5d6fSSrinivas Kandagatlaconfig SND_SOC_QDSP6_PRM
1189a0e5d6fSSrinivas Kandagatla	tristate
119d0756868SSrinivas Kandagatla	select SND_SOC_QDSP6_PRM_LPASS_CLOCKS
1209a0e5d6fSSrinivas Kandagatla
1214dddbddbSSrinivas Kandagatlaconfig SND_SOC_QDSP6
1224dddbddbSSrinivas Kandagatla	tristate "SoC ALSA audio driver for QDSP6"
123b6aa06deSGeert Uytterhoeven	depends on QCOM_APR
1242bc8831bSRandy Dunlap	depends on COMMON_CLK
1254dddbddbSSrinivas Kandagatla	select SND_SOC_QDSP6_COMMON
126b73e93e1SSrinivas Kandagatla	select SND_SOC_QDSP6_CORE
1277fa2d70fSSrinivas Kandagatla	select SND_SOC_QDSP6_AFE
12824c4cbcfSSrinivas Kandagatla	select SND_SOC_QDSP6_AFE_DAI
129520a1c39SSrinivas Kandagatla	select SND_SOC_QDSP6_AFE_CLOCKS
1307b20b2beSSrinivas Kandagatla	select SND_SOC_QDSP6_ADM
131e3a33673SSrinivas Kandagatla	select SND_SOC_QDSP6_ROUTING
132a13e8723SSrinivas Kandagatla	select SND_SOC_QDSP6_ASM
1332a9e92d3SSrinivas Kandagatla	select SND_SOC_QDSP6_ASM_DAI
13436ad9bf1SSrinivas Kandagatla	select SND_SOC_TOPOLOGY
135cf989b68SSrinivas Kandagatla	select SND_SOC_QDSP6_APM
1369a0e5d6fSSrinivas Kandagatla	select SND_SOC_QDSP6_PRM
1374dddbddbSSrinivas Kandagatla	help
1384dddbddbSSrinivas Kandagatla	 To add support for MSM QDSP6 Soc Audio.
1394dddbddbSSrinivas Kandagatla	 This will enable sound soc platform specific
1404dddbddbSSrinivas Kandagatla	 audio drivers. This includes q6asm, q6adm,
1414dddbddbSSrinivas Kandagatla	 q6afe interfaces to DSP using apr.
142a6f933f6SSrinivas Kandagatla
143a6f933f6SSrinivas Kandagatlaconfig SND_SOC_MSM8996
144a6f933f6SSrinivas Kandagatla	tristate "SoC Machine driver for MSM8996 and APQ8096 boards"
145a6f933f6SSrinivas Kandagatla	depends on QCOM_APR
146b1b8eb12SArnd Bergmann	depends on COMMON_CLK
147a6f933f6SSrinivas Kandagatla	select SND_SOC_QDSP6
148*0cbf1ecdSStephan Gerhold	select SND_SOC_QCOM_COMMON
149a6f933f6SSrinivas Kandagatla	help
150a6f933f6SSrinivas Kandagatla	  Support for Qualcomm Technologies LPASS audio block in
151a6f933f6SSrinivas Kandagatla	  APQ8096 SoC-based systems.
152a6f933f6SSrinivas Kandagatla	  Say Y if you want to use audio device on this SoCs
1536b1687bfSRohit kumar
1546b1687bfSRohit kumarconfig SND_SOC_SDM845
1556b1687bfSRohit kumar	tristate "SoC Machine driver for SDM845 boards"
1563bd057c8SJohn Stultz	depends on QCOM_APR && I2C && SOUNDWIRE
1572bc8831bSRandy Dunlap	depends on COMMON_CLK
1586b1687bfSRohit kumar	select SND_SOC_QDSP6
159*0cbf1ecdSStephan Gerhold	select SND_SOC_QCOM_COMMON
160e9dc9190SArnd Bergmann	select SND_SOC_RT5663
1610ddb0fb0SCheng-Yi Chiang	select SND_SOC_MAX98927
1623bd057c8SJohn Stultz	imply SND_SOC_CROS_EC_CODEC
1636b1687bfSRohit kumar	help
1646b1687bfSRohit kumar	  To add support for audio on Qualcomm Technologies Inc.
1656b1687bfSRohit kumar	  SDM845 SoC-based systems.
1666b1687bfSRohit kumar	  Say Y if you want to use audio device on this SoCs.
167db24fa57SSrinivas Kandagatla
168aa2e2785SSrinivas Kandagatlaconfig SND_SOC_SM8250
169aa2e2785SSrinivas Kandagatla	tristate "SoC Machine driver for SM8250 boards"
170aa2e2785SSrinivas Kandagatla	depends on QCOM_APR && SOUNDWIRE
171aa2e2785SSrinivas Kandagatla	depends on COMMON_CLK
172aa2e2785SSrinivas Kandagatla	select SND_SOC_QDSP6
173*0cbf1ecdSStephan Gerhold	select SND_SOC_QCOM_COMMON
174*0cbf1ecdSStephan Gerhold	select SND_SOC_QCOM_SDW
175aa2e2785SSrinivas Kandagatla	help
176aa2e2785SSrinivas Kandagatla	  To add support for audio on Qualcomm Technologies Inc.
177aa2e2785SSrinivas Kandagatla	  SM8250 SoC-based systems.
178aa2e2785SSrinivas Kandagatla	  Say Y if you want to use audio device on this SoCs.
179aa2e2785SSrinivas Kandagatla
180295aeea6SSrinivas Kandagatlaconfig SND_SOC_SC8280XP
181295aeea6SSrinivas Kandagatla	tristate "SoC Machine driver for SC8280XP boards"
1827bc08355SSrinivas Kandagatla	depends on QCOM_APR && SOUNDWIRE
183295aeea6SSrinivas Kandagatla	depends on COMMON_CLK
184295aeea6SSrinivas Kandagatla	select SND_SOC_QDSP6
185*0cbf1ecdSStephan Gerhold	select SND_SOC_QCOM_COMMON
186*0cbf1ecdSStephan Gerhold	select SND_SOC_QCOM_SDW
187295aeea6SSrinivas Kandagatla	help
188295aeea6SSrinivas Kandagatla	  To add support for audio on Qualcomm Technologies Inc.
189295aeea6SSrinivas Kandagatla	  SC8280XP SoC-based systems.
190295aeea6SSrinivas Kandagatla	  Say Y if you want to use audio device on this SoCs.
191295aeea6SSrinivas Kandagatla
1929e3ecb5bSAjit Pandeyconfig SND_SOC_SC7180
1939e3ecb5bSAjit Pandey	tristate "SoC Machine driver for SC7180 boards"
1946cace797SJulian Braha	depends on I2C && GPIOLIB
1959a7f2c9eSRandy Dunlap	depends on SOUNDWIRE || SOUNDWIRE=n
196*0cbf1ecdSStephan Gerhold	select SND_SOC_QCOM_COMMON
1979e3ecb5bSAjit Pandey	select SND_SOC_LPASS_SC7180
1989e3ecb5bSAjit Pandey	select SND_SOC_MAX98357A
1999e3ecb5bSAjit Pandey	select SND_SOC_RT5682_I2C
200425c5fceSlvzhaoxiong	select SND_SOC_RT5682S
201e936619bSxuyuqing	select SND_SOC_ADAU7002
2029e3ecb5bSAjit Pandey	help
2039e3ecb5bSAjit Pandey	  To add support for audio on Qualcomm Technologies Inc.
2049e3ecb5bSAjit Pandey	  SC7180 SoC-based systems.
2059e3ecb5bSAjit Pandey	  Say Y if you want to use audio device on this SoCs.
2069e3ecb5bSAjit Pandey
20757350bd4SSrinivasa Rao Mandadapuconfig SND_SOC_SC7280
20857350bd4SSrinivasa Rao Mandadapu	tristate "SoC Machine driver for SC7280 boards"
209b83eb8beSMark Brown	depends on I2C && SOUNDWIRE
210*0cbf1ecdSStephan Gerhold	select SND_SOC_QCOM_COMMON
21157350bd4SSrinivasa Rao Mandadapu	select SND_SOC_LPASS_SC7280
21257350bd4SSrinivasa Rao Mandadapu	select SND_SOC_MAX98357A
2136ed5dbbaSSrinivas Kandagatla	select SND_SOC_WCD938X_SDW
2149e3d83c5SSrinivasa Rao Mandadapu	select SND_SOC_LPASS_MACRO_COMMON
21531ef579dSSrinivas Kandagatla	imply SND_SOC_LPASS_RX_MACRO
21631ef579dSSrinivas Kandagatla	imply SND_SOC_LPASS_TX_MACRO
217c5198db8SJudy Hsiao	select SND_SOC_RT5682_I2C
218c5198db8SJudy Hsiao	select SND_SOC_RT5682S
21957350bd4SSrinivasa Rao Mandadapu	help
22057350bd4SSrinivasa Rao Mandadapu	  Add support for audio on Qualcomm Technologies Inc.
22157350bd4SSrinivasa Rao Mandadapu	  SC7280 SoC-based systems.
22257350bd4SSrinivasa Rao Mandadapu	  Say Y or M if you want to use audio device on this SoCs.
22357350bd4SSrinivasa Rao Mandadapu
224db24fa57SSrinivas Kandagatlaendif #SND_SOC_QCOM
225