xref: /openbmc/linux/sound/soc/qcom/Kconfig (revision 3e30a927)
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	help
41	  Support for Qualcomm Technologies LPASS audio block in
42	  APQ8016 SOC-based systems.
43	  Say Y if you want to use audio devices on MI2S.
44
45config SND_SOC_QCOM_COMMON
46	tristate
47
48config SND_SOC_QDSP6_COMMON
49	tristate
50
51config SND_SOC_QDSP6_CORE
52	tristate
53
54config SND_SOC_QDSP6_AFE
55	tristate
56
57config SND_SOC_QDSP6_AFE_DAI
58	tristate
59
60config SND_SOC_QDSP6_ADM
61	tristate
62
63config SND_SOC_QDSP6_ROUTING
64	tristate
65
66config SND_SOC_QDSP6_ASM
67	tristate
68
69config SND_SOC_QDSP6_ASM_DAI
70	select SND_SOC_COMPRESS
71	tristate
72
73config SND_SOC_QDSP6
74	tristate "SoC ALSA audio driver for QDSP6"
75	depends on QCOM_APR && HAS_DMA
76	select SND_SOC_QDSP6_COMMON
77	select SND_SOC_QDSP6_CORE
78	select SND_SOC_QDSP6_AFE
79	select SND_SOC_QDSP6_AFE_DAI
80	select SND_SOC_QDSP6_ADM
81	select SND_SOC_QDSP6_ROUTING
82	select SND_SOC_QDSP6_ASM
83	select SND_SOC_QDSP6_ASM_DAI
84	help
85	 To add support for MSM QDSP6 Soc Audio.
86	 This will enable sound soc platform specific
87	 audio drivers. This includes q6asm, q6adm,
88	 q6afe interfaces to DSP using apr.
89
90config SND_SOC_MSM8996
91	tristate "SoC Machine driver for MSM8996 and APQ8096 boards"
92	depends on QCOM_APR
93	select SND_SOC_QDSP6
94	select SND_SOC_QCOM_COMMON
95	help
96	  Support for Qualcomm Technologies LPASS audio block in
97	  APQ8096 SoC-based systems.
98	  Say Y if you want to use audio device on this SoCs
99
100config SND_SOC_SDM845
101	tristate "SoC Machine driver for SDM845 boards"
102	depends on QCOM_APR && CROS_EC && I2C
103	select SND_SOC_QDSP6
104	select SND_SOC_QCOM_COMMON
105	select SND_SOC_RT5663
106	select SND_SOC_MAX98927
107	select SND_SOC_CROS_EC_CODEC
108	help
109	  To add support for audio on Qualcomm Technologies Inc.
110	  SDM845 SoC-based systems.
111	  Say Y if you want to use audio device on this SoCs.
112