blob: b2173847dc476b04e2c06ca98b02c6140e0c0b2e [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Srinivas Kandagatladb24fa52020-08-11 11:58:18 +01002menuconfig SND_SOC_QCOM
Kenneth Westfieldf380dd32015-03-13 01:01:06 -07003 tristate "ASoC support for QCOM platforms"
Kenneth Westfield02c4b9c2015-06-18 15:16:07 -07004 depends on ARCH_QCOM || COMPILE_TEST
Kenneth Westfieldf380dd32015-03-13 01:01:06 -07005 help
Krzysztof Kozlowski82e8d722019-10-04 16:49:31 +02006 Say Y or M if you want to add support to use audio devices
7 in Qualcomm Technologies SOC-based platforms.
Kenneth Westfieldf380dd32015-03-13 01:01:06 -07008
Srinivas Kandagatladb24fa52020-08-11 11:58:18 +01009if SND_SOC_QCOM
10
Kenneth Westfieldf380dd32015-03-13 01:01:06 -070011config SND_SOC_LPASS_CPU
12 tristate
Kenneth Westfieldf380dd32015-03-13 01:01:06 -070013 select REGMAP_MMIO
14
V Sujith Kumar Reddy7cb37b72020-10-08 10:47:01 +053015config SND_SOC_LPASS_HDMI
16 tristate
17 select REGMAP_MMIO
18
Kenneth Westfieldf380dd32015-03-13 01:01:06 -070019config SND_SOC_LPASS_PLATFORM
20 tristate
Kenneth Westfieldf380dd32015-03-13 01:01:06 -070021 select REGMAP_MMIO
22
Srinivas Kandagatla9bae4882015-05-16 13:32:17 +010023config SND_SOC_LPASS_IPQ806X
24 tristate
Srinivas Kandagatla9bae4882015-05-16 13:32:17 +010025 select SND_SOC_LPASS_CPU
26 select SND_SOC_LPASS_PLATFORM
27
Srinivas Kandagatladc1ebd182015-05-22 16:53:52 +010028config SND_SOC_LPASS_APQ8016
29 tristate
Srinivas Kandagatladc1ebd182015-05-22 16:53:52 +010030 select SND_SOC_LPASS_CPU
31 select SND_SOC_LPASS_PLATFORM
32
Ajit Pandey24caf8d2020-08-14 16:23:05 +053033config SND_SOC_LPASS_SC7180
34 tristate
35 select SND_SOC_LPASS_CPU
36 select SND_SOC_LPASS_PLATFORM
V Sujith Kumar Reddy7cb37b72020-10-08 10:47:01 +053037 select SND_SOC_LPASS_HDMI
Ajit Pandey24caf8d2020-08-14 16:23:05 +053038
Kenneth Westfieldf380dd32015-03-13 01:01:06 -070039config SND_SOC_STORM
40 tristate "ASoC I2S support for Storm boards"
Julian Braha6cace792021-10-10 17:56:27 -040041 depends on GPIOLIB
Srinivas Kandagatla9bae4882015-05-16 13:32:17 +010042 select SND_SOC_LPASS_IPQ806X
Kenneth Westfieldf380dd32015-03-13 01:01:06 -070043 select SND_SOC_MAX98357A
44 help
Krzysztof Kozlowski82e8d722019-10-04 16:49:31 +020045 Say Y or M if you want add support for SoC audio on the
46 Qualcomm Technologies IPQ806X-based Storm board.
Srinivas Kandagatlabdb052e2015-06-10 13:15:54 +010047
48config SND_SOC_APQ8016_SBC
49 tristate "SoC Audio support for APQ8016 SBC platforms"
Srinivas Kandagatlabdb052e2015-06-10 13:15:54 +010050 select SND_SOC_LPASS_APQ8016
Stephan Gerhold118205d22020-07-23 20:39:03 +020051 select SND_SOC_QCOM_COMMON
Srinivas Kandagatlabdb052e2015-06-10 13:15:54 +010052 help
Krzysztof Kozlowski82e8d722019-10-04 16:49:31 +020053 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.
Srinivas Kandagatla4dddbdd2018-05-09 13:56:18 +010056
Srinivas Kandagatla8e3684f2018-08-06 11:12:05 +010057config SND_SOC_QCOM_COMMON
58 tristate
59
Srinivas Kandagatla4dddbdd2018-05-09 13:56:18 +010060config SND_SOC_QDSP6_COMMON
61 tristate
62
Srinivas Kandagatlab73e93e2018-05-09 13:56:19 +010063config SND_SOC_QDSP6_CORE
64 tristate
65
Srinivas Kandagatla7fa2d702018-05-18 13:55:56 +010066config SND_SOC_QDSP6_AFE
67 tristate
68
Srinivas Kandagatla24c4cbc2018-05-18 13:56:07 +010069config SND_SOC_QDSP6_AFE_DAI
70 tristate
71
Srinivas Kandagatla520a1c32020-09-10 14:57:08 +010072config SND_SOC_QDSP6_AFE_CLOCKS
73 tristate
74
Srinivas Kandagatla7b20b2b2018-05-18 13:56:00 +010075config SND_SOC_QDSP6_ADM
76 tristate
77
Srinivas Kandagatlae3a33672018-05-18 13:56:04 +010078config SND_SOC_QDSP6_ROUTING
79 tristate
80
Srinivas Kandagatlaa13e8722018-05-18 13:56:01 +010081config SND_SOC_QDSP6_ASM
82 tristate
83
Srinivas Kandagatla2a9e92d2018-05-18 13:56:08 +010084config SND_SOC_QDSP6_ASM_DAI
Srinivas Kandagatla22930c72018-11-15 18:13:24 +000085 select SND_SOC_COMPRESS
Srinivas Kandagatla2a9e92d2018-05-18 13:56:08 +010086 tristate
87
Srinivas Kandagatla9b4fe0f2021-10-26 12:16:52 +010088config SND_SOC_QDSP6_APM_DAI
89 tristate
90 select SND_SOC_COMPRESS
91
Srinivas Kandagatla30ad7232021-10-26 12:16:53 +010092config SND_SOC_QDSP6_APM_LPASS_DAI
93 tristate
94
Srinivas Kandagatlacf989b62021-10-26 12:16:50 +010095config SND_SOC_QDSP6_APM
96 tristate
Srinivas Kandagatla9b4fe0f2021-10-26 12:16:52 +010097 select SND_SOC_QDSP6_APM_DAI
Srinivas Kandagatla30ad7232021-10-26 12:16:53 +010098 select SND_SOC_QDSP6_APM_LPASS_DAI
Srinivas Kandagatlacf989b62021-10-26 12:16:50 +010099
Srinivas Kandagatlad0756862021-10-26 12:16:55 +0100100config SND_SOC_QDSP6_PRM_LPASS_CLOCKS
101 tristate
102
Srinivas Kandagatla9a0e5d62021-10-26 12:16:54 +0100103config SND_SOC_QDSP6_PRM
104 tristate
Srinivas Kandagatlad0756862021-10-26 12:16:55 +0100105 select SND_SOC_QDSP6_PRM_LPASS_CLOCKS
Srinivas Kandagatla9a0e5d62021-10-26 12:16:54 +0100106
Srinivas Kandagatla4dddbdd2018-05-09 13:56:18 +0100107config SND_SOC_QDSP6
108 tristate "SoC ALSA audio driver for QDSP6"
Geert Uytterhoevenb6aa06d2020-06-29 14:24:43 +0200109 depends on QCOM_APR
Randy Dunlap2bc88312020-10-01 11:35:37 -0700110 depends on COMMON_CLK
Srinivas Kandagatla4dddbdd2018-05-09 13:56:18 +0100111 select SND_SOC_QDSP6_COMMON
Srinivas Kandagatlab73e93e2018-05-09 13:56:19 +0100112 select SND_SOC_QDSP6_CORE
Srinivas Kandagatla7fa2d702018-05-18 13:55:56 +0100113 select SND_SOC_QDSP6_AFE
Srinivas Kandagatla24c4cbc2018-05-18 13:56:07 +0100114 select SND_SOC_QDSP6_AFE_DAI
Srinivas Kandagatla520a1c32020-09-10 14:57:08 +0100115 select SND_SOC_QDSP6_AFE_CLOCKS
Srinivas Kandagatla7b20b2b2018-05-18 13:56:00 +0100116 select SND_SOC_QDSP6_ADM
Srinivas Kandagatlae3a33672018-05-18 13:56:04 +0100117 select SND_SOC_QDSP6_ROUTING
Srinivas Kandagatlaa13e8722018-05-18 13:56:01 +0100118 select SND_SOC_QDSP6_ASM
Srinivas Kandagatla2a9e92d2018-05-18 13:56:08 +0100119 select SND_SOC_QDSP6_ASM_DAI
Srinivas Kandagatla36ad9bf2021-10-26 12:16:51 +0100120 select SND_SOC_TOPOLOGY
Srinivas Kandagatlacf989b62021-10-26 12:16:50 +0100121 select SND_SOC_QDSP6_APM
Srinivas Kandagatla9a0e5d62021-10-26 12:16:54 +0100122 select SND_SOC_QDSP6_PRM
Srinivas Kandagatla4dddbdd2018-05-09 13:56:18 +0100123 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.
Srinivas Kandagatlaa6f933f2018-05-18 13:56:10 +0100128
129config SND_SOC_MSM8996
130 tristate "SoC Machine driver for MSM8996 and APQ8096 boards"
131 depends on QCOM_APR
Arnd Bergmannb1b8eb12020-12-04 00:14:18 +0100132 depends on COMMON_CLK
Srinivas Kandagatlaa6f933f2018-05-18 13:56:10 +0100133 select SND_SOC_QDSP6
Srinivas Kandagatla8e3684f2018-08-06 11:12:05 +0100134 select SND_SOC_QCOM_COMMON
Srinivas Kandagatlaa6f933f2018-05-18 13:56:10 +0100135 help
Krzysztof Kozlowski82e8d722019-10-04 16:49:31 +0200136 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
Rohit kumar6b1687b2018-08-01 14:31:09 +0530139
140config SND_SOC_SDM845
141 tristate "SoC Machine driver for SDM845 boards"
John Stultz3bd057c2020-06-19 03:14:07 +0000142 depends on QCOM_APR && I2C && SOUNDWIRE
Randy Dunlap2bc88312020-10-01 11:35:37 -0700143 depends on COMMON_CLK
Rohit kumar6b1687b2018-08-01 14:31:09 +0530144 select SND_SOC_QDSP6
Srinivas Kandagatla8e3684f2018-08-06 11:12:05 +0100145 select SND_SOC_QCOM_COMMON
Arnd Bergmanne9dc9192018-12-10 21:49:28 +0100146 select SND_SOC_RT5663
Cheng-Yi Chiang0ddb0fb2019-01-15 19:02:53 +0800147 select SND_SOC_MAX98927
John Stultz3bd057c2020-06-19 03:14:07 +0000148 imply SND_SOC_CROS_EC_CODEC
Rohit kumar6b1687b2018-08-01 14:31:09 +0530149 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.
Srinivas Kandagatladb24fa52020-08-11 11:58:18 +0100153
Srinivas Kandagatlaaa2e2782020-10-26 17:09:47 +0000154config 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
Ajit Pandey9e3ecb52020-10-27 11:22:34 +0800165config SND_SOC_SC7180
166 tristate "SoC Machine driver for SC7180 boards"
Julian Braha6cace792021-10-10 17:56:27 -0400167 depends on I2C && GPIOLIB
Ajit Pandey9e3ecb52020-10-27 11:22:34 +0800168 select SND_SOC_QCOM_COMMON
169 select SND_SOC_LPASS_SC7180
170 select SND_SOC_MAX98357A
171 select SND_SOC_RT5682_I2C
xuyuqinge9366192020-11-12 09:43:28 +0800172 select SND_SOC_ADAU7002
Ajit Pandey9e3ecb52020-10-27 11:22:34 +0800173 help
174 To add support for audio on Qualcomm Technologies Inc.
175 SC7180 SoC-based systems.
176 Say Y if you want to use audio device on this SoCs.
177
Srinivas Kandagatladb24fa52020-08-11 11:58:18 +0100178endif #SND_SOC_QCOM