blob: ddd7ae4618fe505ab2479ea6d649a3c41bf75374 [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 Kandagatla9a0e5d62021-10-26 12:16:54 +0100100config SND_SOC_QDSP6_PRM
101 tristate
102
Srinivas Kandagatla4dddbdd2018-05-09 13:56:18 +0100103config SND_SOC_QDSP6
104 tristate "SoC ALSA audio driver for QDSP6"
Geert Uytterhoevenb6aa06d2020-06-29 14:24:43 +0200105 depends on QCOM_APR
Randy Dunlap2bc88312020-10-01 11:35:37 -0700106 depends on COMMON_CLK
Srinivas Kandagatla4dddbdd2018-05-09 13:56:18 +0100107 select SND_SOC_QDSP6_COMMON
Srinivas Kandagatlab73e93e2018-05-09 13:56:19 +0100108 select SND_SOC_QDSP6_CORE
Srinivas Kandagatla7fa2d702018-05-18 13:55:56 +0100109 select SND_SOC_QDSP6_AFE
Srinivas Kandagatla24c4cbc2018-05-18 13:56:07 +0100110 select SND_SOC_QDSP6_AFE_DAI
Srinivas Kandagatla520a1c32020-09-10 14:57:08 +0100111 select SND_SOC_QDSP6_AFE_CLOCKS
Srinivas Kandagatla7b20b2b2018-05-18 13:56:00 +0100112 select SND_SOC_QDSP6_ADM
Srinivas Kandagatlae3a33672018-05-18 13:56:04 +0100113 select SND_SOC_QDSP6_ROUTING
Srinivas Kandagatlaa13e8722018-05-18 13:56:01 +0100114 select SND_SOC_QDSP6_ASM
Srinivas Kandagatla2a9e92d2018-05-18 13:56:08 +0100115 select SND_SOC_QDSP6_ASM_DAI
Srinivas Kandagatla36ad9bf2021-10-26 12:16:51 +0100116 select SND_SOC_TOPOLOGY
Srinivas Kandagatlacf989b62021-10-26 12:16:50 +0100117 select SND_SOC_QDSP6_APM
Srinivas Kandagatla9a0e5d62021-10-26 12:16:54 +0100118 select SND_SOC_QDSP6_PRM
Srinivas Kandagatla4dddbdd2018-05-09 13:56:18 +0100119 help
120 To add support for MSM QDSP6 Soc Audio.
121 This will enable sound soc platform specific
122 audio drivers. This includes q6asm, q6adm,
123 q6afe interfaces to DSP using apr.
Srinivas Kandagatlaa6f933f2018-05-18 13:56:10 +0100124
125config SND_SOC_MSM8996
126 tristate "SoC Machine driver for MSM8996 and APQ8096 boards"
127 depends on QCOM_APR
Arnd Bergmannb1b8eb12020-12-04 00:14:18 +0100128 depends on COMMON_CLK
Srinivas Kandagatlaa6f933f2018-05-18 13:56:10 +0100129 select SND_SOC_QDSP6
Srinivas Kandagatla8e3684f2018-08-06 11:12:05 +0100130 select SND_SOC_QCOM_COMMON
Srinivas Kandagatlaa6f933f2018-05-18 13:56:10 +0100131 help
Krzysztof Kozlowski82e8d722019-10-04 16:49:31 +0200132 Support for Qualcomm Technologies LPASS audio block in
133 APQ8096 SoC-based systems.
134 Say Y if you want to use audio device on this SoCs
Rohit kumar6b1687b2018-08-01 14:31:09 +0530135
136config SND_SOC_SDM845
137 tristate "SoC Machine driver for SDM845 boards"
John Stultz3bd057c2020-06-19 03:14:07 +0000138 depends on QCOM_APR && I2C && SOUNDWIRE
Randy Dunlap2bc88312020-10-01 11:35:37 -0700139 depends on COMMON_CLK
Rohit kumar6b1687b2018-08-01 14:31:09 +0530140 select SND_SOC_QDSP6
Srinivas Kandagatla8e3684f2018-08-06 11:12:05 +0100141 select SND_SOC_QCOM_COMMON
Arnd Bergmanne9dc9192018-12-10 21:49:28 +0100142 select SND_SOC_RT5663
Cheng-Yi Chiang0ddb0fb2019-01-15 19:02:53 +0800143 select SND_SOC_MAX98927
John Stultz3bd057c2020-06-19 03:14:07 +0000144 imply SND_SOC_CROS_EC_CODEC
Rohit kumar6b1687b2018-08-01 14:31:09 +0530145 help
146 To add support for audio on Qualcomm Technologies Inc.
147 SDM845 SoC-based systems.
148 Say Y if you want to use audio device on this SoCs.
Srinivas Kandagatladb24fa52020-08-11 11:58:18 +0100149
Srinivas Kandagatlaaa2e2782020-10-26 17:09:47 +0000150config SND_SOC_SM8250
151 tristate "SoC Machine driver for SM8250 boards"
152 depends on QCOM_APR && SOUNDWIRE
153 depends on COMMON_CLK
154 select SND_SOC_QDSP6
155 select SND_SOC_QCOM_COMMON
156 help
157 To add support for audio on Qualcomm Technologies Inc.
158 SM8250 SoC-based systems.
159 Say Y if you want to use audio device on this SoCs.
160
Ajit Pandey9e3ecb52020-10-27 11:22:34 +0800161config SND_SOC_SC7180
162 tristate "SoC Machine driver for SC7180 boards"
Julian Braha6cace792021-10-10 17:56:27 -0400163 depends on I2C && GPIOLIB
Ajit Pandey9e3ecb52020-10-27 11:22:34 +0800164 select SND_SOC_QCOM_COMMON
165 select SND_SOC_LPASS_SC7180
166 select SND_SOC_MAX98357A
167 select SND_SOC_RT5682_I2C
xuyuqinge9366192020-11-12 09:43:28 +0800168 select SND_SOC_ADAU7002
Ajit Pandey9e3ecb52020-10-27 11:22:34 +0800169 help
170 To add support for audio on Qualcomm Technologies Inc.
171 SC7180 SoC-based systems.
172 Say Y if you want to use audio device on this SoCs.
173
Srinivas Kandagatladb24fa52020-08-11 11:58:18 +0100174endif #SND_SOC_QCOM