xref: /openbmc/linux/sound/soc/qcom/Kconfig (revision b81af585)
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
23*b81af585SSrinivasa Rao Mandadapuconfig SND_SOC_LPASS_CDC_DMA
24*b81af585SSrinivasa Rao Mandadapu	tristate
25*b81af585SSrinivasa Rao Mandadapu	select REGMAP_MMIO
26*b81af585SSrinivasa 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
43f380dd3fSKenneth Westfieldconfig SND_SOC_STORM
44f380dd3fSKenneth Westfield	tristate "ASoC I2S support for Storm boards"
456cace797SJulian Braha	depends on GPIOLIB
469bae4880SSrinivas Kandagatla	select SND_SOC_LPASS_IPQ806X
47f380dd3fSKenneth Westfield	select SND_SOC_MAX98357A
48f380dd3fSKenneth Westfield	help
49f380dd3fSKenneth Westfield	  Say Y or M if you want add support for SoC audio on the
50f380dd3fSKenneth Westfield	  Qualcomm Technologies IPQ806X-based Storm board.
51bdb052e8SSrinivas Kandagatla
52bdb052e8SSrinivas Kandagatlaconfig SND_SOC_APQ8016_SBC
53bdb052e8SSrinivas Kandagatla	tristate "SoC Audio support for APQ8016 SBC platforms"
54bdb052e8SSrinivas Kandagatla	select SND_SOC_LPASS_APQ8016
55118205d2SStephan Gerhold	select SND_SOC_QCOM_COMMON
56bdb052e8SSrinivas Kandagatla	help
57bdb052e8SSrinivas Kandagatla	  Support for Qualcomm Technologies LPASS audio block in
58bdb052e8SSrinivas Kandagatla	  APQ8016 SOC-based systems.
59bdb052e8SSrinivas Kandagatla	  Say Y if you want to use audio devices on MI2S.
604dddbddbSSrinivas Kandagatla
618e3684f6SSrinivas Kandagatlaconfig SND_SOC_QCOM_COMMON
628e3684f6SSrinivas Kandagatla	tristate
638e3684f6SSrinivas Kandagatla
644dddbddbSSrinivas Kandagatlaconfig SND_SOC_QDSP6_COMMON
654dddbddbSSrinivas Kandagatla	tristate
664dddbddbSSrinivas Kandagatla
67b73e93e1SSrinivas Kandagatlaconfig SND_SOC_QDSP6_CORE
68b73e93e1SSrinivas Kandagatla	tristate
69b73e93e1SSrinivas Kandagatla
707fa2d70fSSrinivas Kandagatlaconfig SND_SOC_QDSP6_AFE
717fa2d70fSSrinivas Kandagatla	tristate
727fa2d70fSSrinivas Kandagatla
7324c4cbcfSSrinivas Kandagatlaconfig SND_SOC_QDSP6_AFE_DAI
7424c4cbcfSSrinivas Kandagatla	tristate
7524c4cbcfSSrinivas Kandagatla
76520a1c39SSrinivas Kandagatlaconfig SND_SOC_QDSP6_AFE_CLOCKS
77520a1c39SSrinivas Kandagatla	tristate
78520a1c39SSrinivas Kandagatla
797b20b2beSSrinivas Kandagatlaconfig SND_SOC_QDSP6_ADM
807b20b2beSSrinivas Kandagatla	tristate
817b20b2beSSrinivas Kandagatla
82e3a33673SSrinivas Kandagatlaconfig SND_SOC_QDSP6_ROUTING
83e3a33673SSrinivas Kandagatla	tristate
84e3a33673SSrinivas Kandagatla
85a13e8723SSrinivas Kandagatlaconfig SND_SOC_QDSP6_ASM
86a13e8723SSrinivas Kandagatla	tristate
87a13e8723SSrinivas Kandagatla
882a9e92d3SSrinivas Kandagatlaconfig SND_SOC_QDSP6_ASM_DAI
8922930c79SSrinivas Kandagatla	select SND_SOC_COMPRESS
902a9e92d3SSrinivas Kandagatla	tristate
912a9e92d3SSrinivas Kandagatla
929b4fe0f1SSrinivas Kandagatlaconfig SND_SOC_QDSP6_APM_DAI
939b4fe0f1SSrinivas Kandagatla	tristate
949b4fe0f1SSrinivas Kandagatla	select SND_SOC_COMPRESS
959b4fe0f1SSrinivas Kandagatla
9630ad723bSSrinivas Kandagatlaconfig SND_SOC_QDSP6_APM_LPASS_DAI
9730ad723bSSrinivas Kandagatla	tristate
9830ad723bSSrinivas Kandagatla
99cf989b68SSrinivas Kandagatlaconfig SND_SOC_QDSP6_APM
100cf989b68SSrinivas Kandagatla	tristate
1019b4fe0f1SSrinivas Kandagatla	select SND_SOC_QDSP6_APM_DAI
10230ad723bSSrinivas Kandagatla	select SND_SOC_QDSP6_APM_LPASS_DAI
103cf989b68SSrinivas Kandagatla
104d0756868SSrinivas Kandagatlaconfig SND_SOC_QDSP6_PRM_LPASS_CLOCKS
105d0756868SSrinivas Kandagatla	tristate
106d0756868SSrinivas Kandagatla
1079a0e5d6fSSrinivas Kandagatlaconfig SND_SOC_QDSP6_PRM
1089a0e5d6fSSrinivas Kandagatla	tristate
109d0756868SSrinivas Kandagatla	select SND_SOC_QDSP6_PRM_LPASS_CLOCKS
1109a0e5d6fSSrinivas Kandagatla
1114dddbddbSSrinivas Kandagatlaconfig SND_SOC_QDSP6
1124dddbddbSSrinivas Kandagatla	tristate "SoC ALSA audio driver for QDSP6"
113b6aa06deSGeert Uytterhoeven	depends on QCOM_APR
1142bc8831bSRandy Dunlap	depends on COMMON_CLK
1154dddbddbSSrinivas Kandagatla	select SND_SOC_QDSP6_COMMON
116b73e93e1SSrinivas Kandagatla	select SND_SOC_QDSP6_CORE
1177fa2d70fSSrinivas Kandagatla	select SND_SOC_QDSP6_AFE
11824c4cbcfSSrinivas Kandagatla	select SND_SOC_QDSP6_AFE_DAI
119520a1c39SSrinivas Kandagatla	select SND_SOC_QDSP6_AFE_CLOCKS
1207b20b2beSSrinivas Kandagatla	select SND_SOC_QDSP6_ADM
121e3a33673SSrinivas Kandagatla	select SND_SOC_QDSP6_ROUTING
122a13e8723SSrinivas Kandagatla	select SND_SOC_QDSP6_ASM
1232a9e92d3SSrinivas Kandagatla	select SND_SOC_QDSP6_ASM_DAI
12436ad9bf1SSrinivas Kandagatla	select SND_SOC_TOPOLOGY
125cf989b68SSrinivas Kandagatla	select SND_SOC_QDSP6_APM
1269a0e5d6fSSrinivas Kandagatla	select SND_SOC_QDSP6_PRM
1274dddbddbSSrinivas Kandagatla	help
1284dddbddbSSrinivas Kandagatla	 To add support for MSM QDSP6 Soc Audio.
1294dddbddbSSrinivas Kandagatla	 This will enable sound soc platform specific
1304dddbddbSSrinivas Kandagatla	 audio drivers. This includes q6asm, q6adm,
1314dddbddbSSrinivas Kandagatla	 q6afe interfaces to DSP using apr.
132a6f933f6SSrinivas Kandagatla
133a6f933f6SSrinivas Kandagatlaconfig SND_SOC_MSM8996
134a6f933f6SSrinivas Kandagatla	tristate "SoC Machine driver for MSM8996 and APQ8096 boards"
135a6f933f6SSrinivas Kandagatla	depends on QCOM_APR
136b1b8eb12SArnd Bergmann	depends on COMMON_CLK
137a6f933f6SSrinivas Kandagatla	select SND_SOC_QDSP6
1388e3684f6SSrinivas Kandagatla	select SND_SOC_QCOM_COMMON
139a6f933f6SSrinivas Kandagatla	help
140a6f933f6SSrinivas Kandagatla	  Support for Qualcomm Technologies LPASS audio block in
141a6f933f6SSrinivas Kandagatla	  APQ8096 SoC-based systems.
142a6f933f6SSrinivas Kandagatla	  Say Y if you want to use audio device on this SoCs
1436b1687bfSRohit kumar
1446b1687bfSRohit kumarconfig SND_SOC_SDM845
1456b1687bfSRohit kumar	tristate "SoC Machine driver for SDM845 boards"
1463bd057c8SJohn Stultz	depends on QCOM_APR && I2C && SOUNDWIRE
1472bc8831bSRandy Dunlap	depends on COMMON_CLK
1486b1687bfSRohit kumar	select SND_SOC_QDSP6
1498e3684f6SSrinivas Kandagatla	select SND_SOC_QCOM_COMMON
150e9dc9190SArnd Bergmann	select SND_SOC_RT5663
1510ddb0fb0SCheng-Yi Chiang	select SND_SOC_MAX98927
1523bd057c8SJohn Stultz	imply SND_SOC_CROS_EC_CODEC
1536b1687bfSRohit kumar	help
1546b1687bfSRohit kumar	  To add support for audio on Qualcomm Technologies Inc.
1556b1687bfSRohit kumar	  SDM845 SoC-based systems.
1566b1687bfSRohit kumar	  Say Y if you want to use audio device on this SoCs.
157db24fa57SSrinivas Kandagatla
158aa2e2785SSrinivas Kandagatlaconfig SND_SOC_SM8250
159aa2e2785SSrinivas Kandagatla	tristate "SoC Machine driver for SM8250 boards"
160aa2e2785SSrinivas Kandagatla	depends on QCOM_APR && SOUNDWIRE
161aa2e2785SSrinivas Kandagatla	depends on COMMON_CLK
162aa2e2785SSrinivas Kandagatla	select SND_SOC_QDSP6
163aa2e2785SSrinivas Kandagatla	select SND_SOC_QCOM_COMMON
164aa2e2785SSrinivas Kandagatla	help
165aa2e2785SSrinivas Kandagatla	  To add support for audio on Qualcomm Technologies Inc.
166aa2e2785SSrinivas Kandagatla	  SM8250 SoC-based systems.
167aa2e2785SSrinivas Kandagatla	  Say Y if you want to use audio device on this SoCs.
168aa2e2785SSrinivas Kandagatla
1699e3ecb5bSAjit Pandeyconfig SND_SOC_SC7180
1709e3ecb5bSAjit Pandey	tristate "SoC Machine driver for SC7180 boards"
1716cace797SJulian Braha	depends on I2C && GPIOLIB
1729e3ecb5bSAjit Pandey	select SND_SOC_QCOM_COMMON
1739e3ecb5bSAjit Pandey	select SND_SOC_LPASS_SC7180
1749e3ecb5bSAjit Pandey	select SND_SOC_MAX98357A
1759e3ecb5bSAjit Pandey	select SND_SOC_RT5682_I2C
176425c5fceSlvzhaoxiong	select SND_SOC_RT5682S
177e936619bSxuyuqing	select SND_SOC_ADAU7002
1789e3ecb5bSAjit Pandey	help
1799e3ecb5bSAjit Pandey	  To add support for audio on Qualcomm Technologies Inc.
1809e3ecb5bSAjit Pandey	  SC7180 SoC-based systems.
1819e3ecb5bSAjit Pandey	  Say Y if you want to use audio device on this SoCs.
1829e3ecb5bSAjit Pandey
18357350bd4SSrinivasa Rao Mandadapuconfig SND_SOC_SC7280
18457350bd4SSrinivasa Rao Mandadapu	tristate "SoC Machine driver for SC7280 boards"
185b83eb8beSMark Brown	depends on I2C && SOUNDWIRE
18657350bd4SSrinivasa Rao Mandadapu	select SND_SOC_QCOM_COMMON
18757350bd4SSrinivasa Rao Mandadapu	select SND_SOC_LPASS_SC7280
18857350bd4SSrinivasa Rao Mandadapu	select SND_SOC_MAX98357A
18957350bd4SSrinivasa Rao Mandadapu	select SND_SOC_WCD938X
19057350bd4SSrinivasa Rao Mandadapu	select SND_SOC_LPASS_RX_MACRO
19157350bd4SSrinivasa Rao Mandadapu	select SND_SOC_LPASS_TX_MACRO
19257350bd4SSrinivasa Rao Mandadapu	help
19357350bd4SSrinivasa Rao Mandadapu	  Add support for audio on Qualcomm Technologies Inc.
19457350bd4SSrinivasa Rao Mandadapu	  SC7280 SoC-based systems.
19557350bd4SSrinivasa Rao Mandadapu	  Say Y or M if you want to use audio device on this SoCs.
19657350bd4SSrinivasa Rao Mandadapu
197db24fa57SSrinivas Kandagatlaendif #SND_SOC_QCOM
198