xref: /openbmc/linux/sound/soc/qcom/Kconfig (revision dbf563ee)
1# SPDX-License-Identifier: GPL-2.0-only
2config 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
9config SND_SOC_LPASS_CPU
10	tristate
11	select REGMAP_MMIO
12
13config SND_SOC_LPASS_PLATFORM
14	tristate
15	select REGMAP_MMIO
16
17config SND_SOC_LPASS_IPQ806X
18	tristate
19	select SND_SOC_LPASS_CPU
20	select SND_SOC_LPASS_PLATFORM
21
22config SND_SOC_LPASS_APQ8016
23	tristate
24	select SND_SOC_LPASS_CPU
25	select SND_SOC_LPASS_PLATFORM
26
27config SND_SOC_STORM
28	tristate "ASoC I2S support for Storm boards"
29	depends on SND_SOC_QCOM
30	select SND_SOC_LPASS_IPQ806X
31	select SND_SOC_MAX98357A
32	help
33	  Say Y or M if you want add support for SoC audio on the
34	  Qualcomm Technologies IPQ806X-based Storm board.
35
36config SND_SOC_APQ8016_SBC
37	tristate "SoC Audio support for APQ8016 SBC platforms"
38	depends on SND_SOC_QCOM
39	select SND_SOC_LPASS_APQ8016
40	select SND_SOC_QCOM_COMMON
41	help
42	  Support for Qualcomm Technologies LPASS audio block in
43	  APQ8016 SOC-based systems.
44	  Say Y if you want to use audio devices on MI2S.
45
46config SND_SOC_QCOM_COMMON
47	tristate
48
49config SND_SOC_QDSP6_COMMON
50	tristate
51
52config SND_SOC_QDSP6_CORE
53	tristate
54
55config SND_SOC_QDSP6_AFE
56	tristate
57
58config SND_SOC_QDSP6_AFE_DAI
59	tristate
60
61config SND_SOC_QDSP6_ADM
62	tristate
63
64config SND_SOC_QDSP6_ROUTING
65	tristate
66
67config SND_SOC_QDSP6_ASM
68	tristate
69
70config SND_SOC_QDSP6_ASM_DAI
71	select SND_SOC_COMPRESS
72	tristate
73
74config SND_SOC_QDSP6
75	tristate "SoC ALSA audio driver for QDSP6"
76	depends on QCOM_APR
77	select SND_SOC_QDSP6_COMMON
78	select SND_SOC_QDSP6_CORE
79	select SND_SOC_QDSP6_AFE
80	select SND_SOC_QDSP6_AFE_DAI
81	select SND_SOC_QDSP6_ADM
82	select SND_SOC_QDSP6_ROUTING
83	select SND_SOC_QDSP6_ASM
84	select SND_SOC_QDSP6_ASM_DAI
85	help
86	 To add support for MSM QDSP6 Soc Audio.
87	 This will enable sound soc platform specific
88	 audio drivers. This includes q6asm, q6adm,
89	 q6afe interfaces to DSP using apr.
90
91config SND_SOC_MSM8996
92	tristate "SoC Machine driver for MSM8996 and APQ8096 boards"
93	depends on QCOM_APR
94	select SND_SOC_QDSP6
95	select SND_SOC_QCOM_COMMON
96	help
97	  Support for Qualcomm Technologies LPASS audio block in
98	  APQ8096 SoC-based systems.
99	  Say Y if you want to use audio device on this SoCs
100
101config SND_SOC_SDM845
102	tristate "SoC Machine driver for SDM845 boards"
103	depends on QCOM_APR && I2C && SOUNDWIRE
104	select SND_SOC_QDSP6
105	select SND_SOC_QCOM_COMMON
106	select SND_SOC_RT5663
107	select SND_SOC_MAX98927
108	imply SND_SOC_CROS_EC_CODEC
109	help
110	  To add support for audio on Qualcomm Technologies Inc.
111	  SDM845 SoC-based systems.
112	  Say Y if you want to use audio device on this SoCs.
113