xref: /openbmc/linux/sound/soc/qcom/Kconfig (revision 2a12187d)
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	imply SND_SOC_QCOM_COMMON
6	help
7	  Say Y or M if you want to add support to use audio devices
8	  in Qualcomm Technologies SOC-based platforms.
9
10if SND_SOC_QCOM
11
12config SND_SOC_LPASS_CPU
13	tristate
14	select REGMAP_MMIO
15
16config SND_SOC_LPASS_HDMI
17	tristate
18	select REGMAP_MMIO
19
20config SND_SOC_LPASS_PLATFORM
21	tristate
22	select REGMAP_MMIO
23
24config SND_SOC_LPASS_CDC_DMA
25	tristate
26	select REGMAP_MMIO
27
28config SND_SOC_LPASS_IPQ806X
29	tristate
30	select SND_SOC_LPASS_CPU
31	select SND_SOC_LPASS_PLATFORM
32
33config SND_SOC_LPASS_APQ8016
34	tristate
35	select SND_SOC_LPASS_CPU
36	select SND_SOC_LPASS_PLATFORM
37
38config SND_SOC_LPASS_SC7180
39	tristate
40	select SND_SOC_LPASS_CPU
41	select SND_SOC_LPASS_PLATFORM
42	select SND_SOC_LPASS_HDMI
43
44config SND_SOC_LPASS_SC7280
45	tristate
46	select SND_SOC_LPASS_CPU
47	select SND_SOC_LPASS_PLATFORM
48	select SND_SOC_LPASS_HDMI
49	select SND_SOC_LPASS_CDC_DMA
50
51config SND_SOC_STORM
52	tristate "ASoC I2S support for Storm boards"
53	depends on GPIOLIB
54	select SND_SOC_LPASS_IPQ806X
55	select SND_SOC_MAX98357A
56	help
57	  Say Y or M if you want add support for SoC audio on the
58	  Qualcomm Technologies IPQ806X-based Storm board.
59
60config SND_SOC_APQ8016_SBC
61	tristate "SoC Audio support for APQ8016 SBC platforms"
62	select SND_SOC_LPASS_APQ8016
63	depends on SND_SOC_QCOM_COMMON
64	help
65	  Support for Qualcomm Technologies LPASS audio block in
66	  APQ8016 SOC-based systems.
67	  Say Y if you want to use audio devices on MI2S.
68
69config SND_SOC_QCOM_COMMON
70	depends on SOUNDWIRE
71	tristate
72
73config SND_SOC_QDSP6_COMMON
74	tristate
75
76config SND_SOC_QDSP6_CORE
77	tristate
78
79config SND_SOC_QDSP6_AFE
80	tristate
81
82config SND_SOC_QDSP6_AFE_DAI
83	tristate
84
85config SND_SOC_QDSP6_AFE_CLOCKS
86	tristate
87
88config SND_SOC_QDSP6_ADM
89	tristate
90
91config SND_SOC_QDSP6_ROUTING
92	tristate
93
94config SND_SOC_QDSP6_ASM
95	tristate
96
97config SND_SOC_QDSP6_ASM_DAI
98	select SND_SOC_COMPRESS
99	tristate
100
101config SND_SOC_QDSP6_APM_DAI
102	tristate
103	select SND_SOC_COMPRESS
104
105config SND_SOC_QDSP6_APM_LPASS_DAI
106	tristate
107
108config SND_SOC_QDSP6_APM
109	tristate
110	select SND_SOC_QDSP6_APM_DAI
111	select SND_SOC_QDSP6_APM_LPASS_DAI
112
113config SND_SOC_QDSP6_PRM_LPASS_CLOCKS
114	tristate
115
116config SND_SOC_QDSP6_PRM
117	tristate
118	select SND_SOC_QDSP6_PRM_LPASS_CLOCKS
119
120config SND_SOC_QDSP6
121	tristate "SoC ALSA audio driver for QDSP6"
122	depends on QCOM_APR
123	depends on COMMON_CLK
124	select SND_SOC_QDSP6_COMMON
125	select SND_SOC_QDSP6_CORE
126	select SND_SOC_QDSP6_AFE
127	select SND_SOC_QDSP6_AFE_DAI
128	select SND_SOC_QDSP6_AFE_CLOCKS
129	select SND_SOC_QDSP6_ADM
130	select SND_SOC_QDSP6_ROUTING
131	select SND_SOC_QDSP6_ASM
132	select SND_SOC_QDSP6_ASM_DAI
133	select SND_SOC_TOPOLOGY
134	select SND_SOC_QDSP6_APM
135	select SND_SOC_QDSP6_PRM
136	help
137	 To add support for MSM QDSP6 Soc Audio.
138	 This will enable sound soc platform specific
139	 audio drivers. This includes q6asm, q6adm,
140	 q6afe interfaces to DSP using apr.
141
142config SND_SOC_MSM8996
143	tristate "SoC Machine driver for MSM8996 and APQ8096 boards"
144	depends on QCOM_APR
145	depends on COMMON_CLK
146	select SND_SOC_QDSP6
147	depends on SND_SOC_QCOM_COMMON
148	help
149	  Support for Qualcomm Technologies LPASS audio block in
150	  APQ8096 SoC-based systems.
151	  Say Y if you want to use audio device on this SoCs
152
153config SND_SOC_SDM845
154	tristate "SoC Machine driver for SDM845 boards"
155	depends on QCOM_APR && I2C && SOUNDWIRE
156	depends on COMMON_CLK
157	select SND_SOC_QDSP6
158	depends on SND_SOC_QCOM_COMMON
159	select SND_SOC_RT5663
160	select SND_SOC_MAX98927
161	imply SND_SOC_CROS_EC_CODEC
162	help
163	  To add support for audio on Qualcomm Technologies Inc.
164	  SDM845 SoC-based systems.
165	  Say Y if you want to use audio device on this SoCs.
166
167config SND_SOC_SM8250
168	tristate "SoC Machine driver for SM8250 boards"
169	depends on QCOM_APR && SOUNDWIRE
170	depends on COMMON_CLK
171	select SND_SOC_QDSP6
172	depends on SND_SOC_QCOM_COMMON
173	help
174	  To add support for audio on Qualcomm Technologies Inc.
175	  SM8250 SoC-based systems.
176	  Say Y if you want to use audio device on this SoCs.
177
178config SND_SOC_SC8280XP
179	tristate "SoC Machine driver for SC8280XP boards"
180	depends on QCOM_APR && SOUNDWIRE
181	depends on COMMON_CLK
182	select SND_SOC_QDSP6
183	depends on SND_SOC_QCOM_COMMON
184	help
185	  To add support for audio on Qualcomm Technologies Inc.
186	  SC8280XP SoC-based systems.
187	  Say Y if you want to use audio device on this SoCs.
188
189config SND_SOC_SC7180
190	tristate "SoC Machine driver for SC7180 boards"
191	depends on I2C && GPIOLIB
192	depends on SOUNDWIRE || SOUNDWIRE=n
193	depends on SND_SOC_QCOM_COMMON
194	select SND_SOC_LPASS_SC7180
195	select SND_SOC_MAX98357A
196	select SND_SOC_RT5682_I2C
197	select SND_SOC_RT5682S
198	select SND_SOC_ADAU7002
199	help
200	  To add support for audio on Qualcomm Technologies Inc.
201	  SC7180 SoC-based systems.
202	  Say Y if you want to use audio device on this SoCs.
203
204config SND_SOC_SC7280
205	tristate "SoC Machine driver for SC7280 boards"
206	depends on I2C && SOUNDWIRE
207	depends on SND_SOC_QCOM_COMMON
208	select SND_SOC_LPASS_SC7280
209	select SND_SOC_MAX98357A
210	select SND_SOC_WCD938X_SDW
211	select SND_SOC_LPASS_MACRO_COMMON
212	imply SND_SOC_LPASS_RX_MACRO
213	imply SND_SOC_LPASS_TX_MACRO
214	select SND_SOC_RT5682_I2C
215	select SND_SOC_RT5682S
216	help
217	  Add support for audio on Qualcomm Technologies Inc.
218	  SC7280 SoC-based systems.
219	  Say Y or M if you want to use audio device on this SoCs.
220
221endif #SND_SOC_QCOM
222