xref: /openbmc/linux/sound/soc/qcom/Kconfig (revision 6c9111bc)
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	select SND_SOC_QDSP6
110	select SND_SOC_QCOM_COMMON
111	help
112	  Support for Qualcomm Technologies LPASS audio block in
113	  APQ8096 SoC-based systems.
114	  Say Y if you want to use audio device on this SoCs
115
116config SND_SOC_SDM845
117	tristate "SoC Machine driver for SDM845 boards"
118	depends on QCOM_APR && I2C && SOUNDWIRE
119	depends on COMMON_CLK
120	select SND_SOC_QDSP6
121	select SND_SOC_QCOM_COMMON
122	select SND_SOC_RT5663
123	select SND_SOC_MAX98927
124	imply SND_SOC_CROS_EC_CODEC
125	help
126	  To add support for audio on Qualcomm Technologies Inc.
127	  SDM845 SoC-based systems.
128	  Say Y if you want to use audio device on this SoCs.
129
130endif #SND_SOC_QCOM
131