xref: /openbmc/linux/sound/soc/qcom/Kconfig (revision cd3bc044)
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	depends on GPIOLIB
42	select SND_SOC_LPASS_IPQ806X
43	select SND_SOC_MAX98357A
44	help
45	  Say Y or M if you want add support for SoC audio on the
46	  Qualcomm Technologies IPQ806X-based Storm board.
47
48config SND_SOC_APQ8016_SBC
49	tristate "SoC Audio support for APQ8016 SBC platforms"
50	select SND_SOC_LPASS_APQ8016
51	select SND_SOC_QCOM_COMMON
52	help
53	  Support for Qualcomm Technologies LPASS audio block in
54	  APQ8016 SOC-based systems.
55	  Say Y if you want to use audio devices on MI2S.
56
57config SND_SOC_QCOM_COMMON
58	tristate
59
60config SND_SOC_QDSP6_COMMON
61	tristate
62
63config SND_SOC_QDSP6_CORE
64	tristate
65
66config SND_SOC_QDSP6_AFE
67	tristate
68
69config SND_SOC_QDSP6_AFE_DAI
70	tristate
71
72config SND_SOC_QDSP6_AFE_CLOCKS
73	tristate
74
75config SND_SOC_QDSP6_ADM
76	tristate
77
78config SND_SOC_QDSP6_ROUTING
79	tristate
80
81config SND_SOC_QDSP6_ASM
82	tristate
83
84config SND_SOC_QDSP6_ASM_DAI
85	select SND_SOC_COMPRESS
86	tristate
87
88config SND_SOC_QDSP6_APM_DAI
89	tristate
90	select SND_SOC_COMPRESS
91
92config SND_SOC_QDSP6_APM_LPASS_DAI
93	tristate
94
95config SND_SOC_QDSP6_APM
96	tristate
97	select SND_SOC_QDSP6_APM_DAI
98	select SND_SOC_QDSP6_APM_LPASS_DAI
99
100config SND_SOC_QDSP6_PRM_LPASS_CLOCKS
101	tristate
102
103config SND_SOC_QDSP6_PRM
104	tristate
105	select SND_SOC_QDSP6_PRM_LPASS_CLOCKS
106
107config SND_SOC_QDSP6
108	tristate "SoC ALSA audio driver for QDSP6"
109	depends on QCOM_APR
110	depends on COMMON_CLK
111	select SND_SOC_QDSP6_COMMON
112	select SND_SOC_QDSP6_CORE
113	select SND_SOC_QDSP6_AFE
114	select SND_SOC_QDSP6_AFE_DAI
115	select SND_SOC_QDSP6_AFE_CLOCKS
116	select SND_SOC_QDSP6_ADM
117	select SND_SOC_QDSP6_ROUTING
118	select SND_SOC_QDSP6_ASM
119	select SND_SOC_QDSP6_ASM_DAI
120	select SND_SOC_TOPOLOGY
121	select SND_SOC_QDSP6_APM
122	select SND_SOC_QDSP6_PRM
123	help
124	 To add support for MSM QDSP6 Soc Audio.
125	 This will enable sound soc platform specific
126	 audio drivers. This includes q6asm, q6adm,
127	 q6afe interfaces to DSP using apr.
128
129config SND_SOC_MSM8996
130	tristate "SoC Machine driver for MSM8996 and APQ8096 boards"
131	depends on QCOM_APR
132	depends on COMMON_CLK
133	select SND_SOC_QDSP6
134	select SND_SOC_QCOM_COMMON
135	help
136	  Support for Qualcomm Technologies LPASS audio block in
137	  APQ8096 SoC-based systems.
138	  Say Y if you want to use audio device on this SoCs
139
140config SND_SOC_SDM845
141	tristate "SoC Machine driver for SDM845 boards"
142	depends on QCOM_APR && I2C && SOUNDWIRE
143	depends on COMMON_CLK
144	select SND_SOC_QDSP6
145	select SND_SOC_QCOM_COMMON
146	select SND_SOC_RT5663
147	select SND_SOC_MAX98927
148	imply SND_SOC_CROS_EC_CODEC
149	help
150	  To add support for audio on Qualcomm Technologies Inc.
151	  SDM845 SoC-based systems.
152	  Say Y if you want to use audio device on this SoCs.
153
154config SND_SOC_SM8250
155	tristate "SoC Machine driver for SM8250 boards"
156	depends on QCOM_APR && SOUNDWIRE
157	depends on COMMON_CLK
158	select SND_SOC_QDSP6
159	select SND_SOC_QCOM_COMMON
160	help
161	  To add support for audio on Qualcomm Technologies Inc.
162	  SM8250 SoC-based systems.
163	  Say Y if you want to use audio device on this SoCs.
164
165config SND_SOC_SC7180
166	tristate "SoC Machine driver for SC7180 boards"
167	depends on I2C && GPIOLIB
168	select SND_SOC_QCOM_COMMON
169	select SND_SOC_LPASS_SC7180
170	select SND_SOC_MAX98357A
171	select SND_SOC_RT5682_I2C
172	select SND_SOC_RT5682S
173	select SND_SOC_ADAU7002
174	help
175	  To add support for audio on Qualcomm Technologies Inc.
176	  SC7180 SoC-based systems.
177	  Say Y if you want to use audio device on this SoCs.
178
179endif #SND_SOC_QCOM
180