xref: /openbmc/linux/sound/soc/qcom/Kconfig (revision 4f3c8320)
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig SND_SOC_QCOM
3	tristate "ASoC support for QCOM platforms"
4	depends on ARCH_QCOM || COMPILE_TEST
5	help
6	  Say Y or M if you want to add support to use audio devices
7	  in Qualcomm Technologies SOC-based platforms.
8
9if SND_SOC_QCOM
10
11config SND_SOC_LPASS_CPU
12	tristate
13	select REGMAP_MMIO
14
15config SND_SOC_LPASS_HDMI
16	tristate
17	select REGMAP_MMIO
18
19config SND_SOC_LPASS_PLATFORM
20	tristate
21	select REGMAP_MMIO
22
23config SND_SOC_LPASS_IPQ806X
24	tristate
25	select SND_SOC_LPASS_CPU
26	select SND_SOC_LPASS_PLATFORM
27
28config SND_SOC_LPASS_APQ8016
29	tristate
30	select SND_SOC_LPASS_CPU
31	select SND_SOC_LPASS_PLATFORM
32
33config SND_SOC_LPASS_SC7180
34	tristate
35	select SND_SOC_LPASS_CPU
36	select SND_SOC_LPASS_PLATFORM
37	select SND_SOC_LPASS_HDMI
38
39config SND_SOC_STORM
40	tristate "ASoC I2S support for Storm boards"
41	select SND_SOC_LPASS_IPQ806X
42	select SND_SOC_MAX98357A
43	help
44	  Say Y or M if you want add support for SoC audio on the
45	  Qualcomm Technologies IPQ806X-based Storm board.
46
47config SND_SOC_APQ8016_SBC
48	tristate "SoC Audio support for APQ8016 SBC platforms"
49	select SND_SOC_LPASS_APQ8016
50	select SND_SOC_QCOM_COMMON
51	help
52	  Support for Qualcomm Technologies LPASS audio block in
53	  APQ8016 SOC-based systems.
54	  Say Y if you want to use audio devices on MI2S.
55
56config SND_SOC_QCOM_COMMON
57	tristate
58
59config SND_SOC_QDSP6_COMMON
60	tristate
61
62config SND_SOC_QDSP6_CORE
63	tristate
64
65config SND_SOC_QDSP6_AFE
66	tristate
67
68config SND_SOC_QDSP6_AFE_DAI
69	tristate
70
71config SND_SOC_QDSP6_AFE_CLOCKS
72	tristate
73
74config SND_SOC_QDSP6_ADM
75	tristate
76
77config SND_SOC_QDSP6_ROUTING
78	tristate
79
80config SND_SOC_QDSP6_ASM
81	tristate
82
83config SND_SOC_QDSP6_ASM_DAI
84	select SND_SOC_COMPRESS
85	tristate
86
87config SND_SOC_QDSP6
88	tristate "SoC ALSA audio driver for QDSP6"
89	depends on QCOM_APR
90	depends on COMMON_CLK
91	select SND_SOC_QDSP6_COMMON
92	select SND_SOC_QDSP6_CORE
93	select SND_SOC_QDSP6_AFE
94	select SND_SOC_QDSP6_AFE_DAI
95	select SND_SOC_QDSP6_AFE_CLOCKS
96	select SND_SOC_QDSP6_ADM
97	select SND_SOC_QDSP6_ROUTING
98	select SND_SOC_QDSP6_ASM
99	select SND_SOC_QDSP6_ASM_DAI
100	help
101	 To add support for MSM QDSP6 Soc Audio.
102	 This will enable sound soc platform specific
103	 audio drivers. This includes q6asm, q6adm,
104	 q6afe interfaces to DSP using apr.
105
106config SND_SOC_MSM8996
107	tristate "SoC Machine driver for MSM8996 and APQ8096 boards"
108	depends on QCOM_APR
109	depends on COMMON_CLK
110	select SND_SOC_QDSP6
111	select SND_SOC_QCOM_COMMON
112	help
113	  Support for Qualcomm Technologies LPASS audio block in
114	  APQ8096 SoC-based systems.
115	  Say Y if you want to use audio device on this SoCs
116
117config SND_SOC_SDM845
118	tristate "SoC Machine driver for SDM845 boards"
119	depends on QCOM_APR && I2C && SOUNDWIRE
120	depends on COMMON_CLK
121	select SND_SOC_QDSP6
122	select SND_SOC_QCOM_COMMON
123	select SND_SOC_RT5663
124	select SND_SOC_MAX98927
125	imply SND_SOC_CROS_EC_CODEC
126	help
127	  To add support for audio on Qualcomm Technologies Inc.
128	  SDM845 SoC-based systems.
129	  Say Y if you want to use audio device on this SoCs.
130
131config SND_SOC_SM8250
132	tristate "SoC Machine driver for SM8250 boards"
133	depends on QCOM_APR && SOUNDWIRE
134	depends on COMMON_CLK
135	select SND_SOC_QDSP6
136	select SND_SOC_QCOM_COMMON
137	help
138	  To add support for audio on Qualcomm Technologies Inc.
139	  SM8250 SoC-based systems.
140	  Say Y if you want to use audio device on this SoCs.
141
142config SND_SOC_SC7180
143	tristate "SoC Machine driver for SC7180 boards"
144	depends on I2C
145	select SND_SOC_QCOM_COMMON
146	select SND_SOC_LPASS_SC7180
147	select SND_SOC_MAX98357A
148	select SND_SOC_RT5682_I2C
149	select SND_SOC_ADAU7002
150	help
151	  To add support for audio on Qualcomm Technologies Inc.
152	  SC7180 SoC-based systems.
153	  Say Y if you want to use audio device on this SoCs.
154
155endif #SND_SOC_QCOM
156