blob: 9306b7ca2644248a547fec5d31e593de8384a375 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Garlic Tseng6b1e19d2016-06-17 15:43:54 +08002config SND_SOC_MEDIATEK
3 tristate
Trevor Wu5a80dea2021-09-09 14:55:33 +08004 select REGMAP_MMIO
Garlic Tseng6b1e19d2016-06-17 15:43:54 +08005
Garlic Tseng1f458d52016-07-04 18:56:28 +08006config SND_SOC_MT2701
7 tristate "ASoC support for Mediatek MT2701 chip"
8 depends on ARCH_MEDIATEK
9 select SND_SOC_MEDIATEK
10 help
11 This adds ASoC driver for Mediatek MT2701 boards
12 that can be used with other codecs.
13 Select Y if you have such device.
14 If unsure select "N".
15
16config SND_SOC_MT2701_CS42448
17 tristate "ASoc Audio driver for MT2701 with CS42448 codec"
Arnd Bergmann72cedf52017-02-21 23:00:46 +010018 depends on SND_SOC_MT2701 && I2C
Garlic Tseng1f458d52016-07-04 18:56:28 +080019 select SND_SOC_CS42XX8_I2C
20 select SND_SOC_BT_SCO
21 help
22 This adds ASoC driver for Mediatek MT2701 boards
23 with the CS42448 codecs.
24 Select Y if you have such device.
25 If unsure select "N".
26
Ryder Lee8625c1d2017-03-29 16:59:31 +080027config SND_SOC_MT2701_WM8960
28 tristate "ASoc Audio driver for MT2701 with WM8960 codec"
Arnd Bergmann362c5942017-04-20 10:15:20 +020029 depends on SND_SOC_MT2701 && I2C
Ryder Lee8625c1d2017-03-29 16:59:31 +080030 select SND_SOC_WM8960
31 help
32 This adds ASoC driver for Mediatek MT2701 boards
33 with the WM8960 codecs.
34 Select Y if you have such device.
35 If unsure select "N".
36
Kai Chieh Chuangf0ab0bf2018-04-25 15:25:21 +080037config SND_SOC_MT6797
38 tristate "ASoC support for Mediatek MT6797 chip"
39 depends on ARCH_MEDIATEK
40 select SND_SOC_MEDIATEK
41 help
42 This adds ASoC driver for Mediatek MT6797 boards
43 that can be used with other codecs.
44 Select Y if you have such device.
45 If unsure select "N".
46
47config SND_SOC_MT6797_MT6351
48 tristate "ASoc Audio driver for MT6797 with MT6351 codec"
49 depends on SND_SOC_MT6797 && MTK_PMIC_WRAP
50 select SND_SOC_MT6351
51 help
52 This adds ASoC driver for Mediatek MT6797 boards
53 with the MT6351 codecs.
54 Select Y if you have such device.
55 If unsure select "N".
56
Garlic Tseng0d1d7a62016-06-17 15:43:52 +080057config SND_SOC_MT8173
58 tristate "ASoC support for Mediatek MT8173 chip"
Koro Chenee0bcaf2015-06-15 22:38:02 +080059 depends on ARCH_MEDIATEK
Garlic Tseng6b1e19d2016-06-17 15:43:54 +080060 select SND_SOC_MEDIATEK
Koro Chenee0bcaf2015-06-15 22:38:02 +080061 help
Garlic Tseng0d1d7a62016-06-17 15:43:52 +080062 This adds ASoC platform driver support for Mediatek MT8173 chip
Koro Chenee0bcaf2015-06-15 22:38:02 +080063 that can be used with other codecs.
64 Select Y if you have such device.
65 Ex: MT8173
66
Koro Chena54f6f02015-06-15 22:38:03 +080067config SND_SOC_MT8173_MAX98090
68 tristate "ASoC Audio driver for MT8173 with MAX98090 codec"
Garlic Tseng0d1d7a62016-06-17 15:43:52 +080069 depends on SND_SOC_MT8173 && I2C
Koro Chena54f6f02015-06-15 22:38:03 +080070 select SND_SOC_MAX98090
71 help
72 This adds ASoC driver for Mediatek MT8173 boards
73 with the MAX98090 audio codec.
74 Select Y if you have such device.
75 If unsure select "N".
76
Koro Chen0f83f922016-02-19 10:35:59 +080077config SND_SOC_MT8173_RT5650
Koro Chen0c713672016-02-25 15:16:38 +080078 tristate "ASoC Audio driver for MT8173 with RT5650 codec"
Garlic Tseng0d1d7a62016-06-17 15:43:52 +080079 depends on SND_SOC_MT8173 && I2C
Koro Chen0c713672016-02-25 15:16:38 +080080 select SND_SOC_RT5645
PC Liao97e1145a2016-07-05 11:26:21 +020081 select SND_SOC_HDMI_CODEC
Koro Chen0c713672016-02-25 15:16:38 +080082 help
83 This adds ASoC driver for Mediatek MT8173 boards
84 with the RT5650 audio codec.
85 Select Y if you have such device.
86 If unsure select "N".
87
88config SND_SOC_MT8173_RT5650_RT5514
89 tristate "ASoC Audio driver for MT8173 with RT5650 RT5514 codecs"
Garlic Tseng0d1d7a62016-06-17 15:43:52 +080090 depends on SND_SOC_MT8173 && I2C
Koro Chen0c713672016-02-25 15:16:38 +080091 select SND_SOC_RT5645
92 select SND_SOC_RT5514
93 help
94 This adds ASoC driver for Mediatek MT8173 boards
95 with the RT5650 and RT5514 codecs.
96 Select Y if you have such device.
97 If unsure select "N".
Koro Chen0f83f922016-02-19 10:35:59 +080098
Koro Chen662e8d92015-06-15 22:38:04 +080099config SND_SOC_MT8173_RT5650_RT5676
100 tristate "ASoC Audio driver for MT8173 with RT5650 RT5676 codecs"
Garlic Tseng0d1d7a62016-06-17 15:43:52 +0800101 depends on SND_SOC_MT8173 && I2C
Koro Chen662e8d92015-06-15 22:38:04 +0800102 select SND_SOC_RT5645
103 select SND_SOC_RT5677
Koro Chenc0133e32016-04-20 10:59:56 +0200104 select SND_SOC_HDMI_CODEC
Koro Chen662e8d92015-06-15 22:38:04 +0800105 help
106 This adds ASoC driver for Mediatek MT8173 boards
107 with the RT5650 and RT5676 codecs.
108 Select Y if you have such device.
109 If unsure select "N".
Shunli Wanga94aec02019-01-22 14:39:08 +0800110
111config SND_SOC_MT8183
112 tristate "ASoC support for Mediatek MT8183 chip"
113 depends on ARCH_MEDIATEK
114 select SND_SOC_MEDIATEK
115 help
116 This adds ASoC platform driver support for Mediatek MT8183 chip
117 that can be used with other codecs.
118 Select Y if you have such device.
119 If unsure select "N".
KaiChieh Chuang4bd85972019-01-30 14:47:10 +0800120
Shunli Wang11c02692019-03-29 16:34:46 +0800121config SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A
Tzung-Bi Shihf4fb4fe2020-07-08 19:32:33 +0800122 tristate "ASoC Audio driver for MT8183 with MT6358 TS3A227E MAX98357A RT1015 codec"
Julian Braha25548772021-10-28 20:12:25 -0400123 depends on I2C && GPIOLIB
Shunli Wang11c02692019-03-29 16:34:46 +0800124 depends on SND_SOC_MT8183
125 select SND_SOC_MT6358
126 select SND_SOC_MAX98357A
Tzung-Bi Shihf4fb4fe2020-07-08 19:32:33 +0800127 select SND_SOC_RT1015
Tzung-Bi Shih9dc21a02021-03-11 11:31:51 +0800128 select SND_SOC_RT1015P
Shunli Wang11c02692019-03-29 16:34:46 +0800129 select SND_SOC_BT_SCO
130 select SND_SOC_TS3A227E
Mao Wenanef5dee52019-10-23 14:31:03 +0800131 select SND_SOC_CROS_EC_CODEC if CROS_EC
Tzung-Bi Shih88abbf62020-07-10 13:25:02 +0800132 select SND_SOC_HDMI_CODEC
Shunli Wang11c02692019-03-29 16:34:46 +0800133 help
134 This adds ASoC driver for Mediatek MT8183 boards
Tzung-Bi Shihf4fb4fe2020-07-08 19:32:33 +0800135 with the MT6358 TS3A227E MAX98357A RT1015 audio codec.
Shunli Wang11c02692019-03-29 16:34:46 +0800136 Select Y if you have such device.
137 If unsure select "N".
138
Shunli Wangebbddc72019-03-29 16:34:48 +0800139config SND_SOC_MT8183_DA7219_MAX98357A
Tzung-Bi Shih9e302512020-07-09 20:24:45 +0800140 tristate "ASoC Audio driver for MT8183 with DA7219 MAX98357A RT1015 codec"
Julian Braha25548772021-10-28 20:12:25 -0400141 depends on SND_SOC_MT8183 && I2C && GPIOLIB
Shunli Wangebbddc72019-03-29 16:34:48 +0800142 select SND_SOC_MT6358
143 select SND_SOC_MAX98357A
Tzung-Bi Shih9e302512020-07-09 20:24:45 +0800144 select SND_SOC_RT1015
Tzung-Bi Shih7e5bfdd2020-09-11 10:48:33 +0800145 select SND_SOC_RT1015P
Shunli Wangebbddc72019-03-29 16:34:48 +0800146 select SND_SOC_DA7219
147 select SND_SOC_BT_SCO
Tzung-Bi Shihe25f8af2020-07-10 13:25:05 +0800148 select SND_SOC_HDMI_CODEC
Shunli Wangebbddc72019-03-29 16:34:48 +0800149 help
150 This adds ASoC driver for Mediatek MT8183 boards
Tzung-Bi Shih9e302512020-07-09 20:24:45 +0800151 with the DA7219 MAX98357A RT1015 audio codec.
Shunli Wangebbddc72019-03-29 16:34:48 +0800152 Select Y if you have such device.
153 If unsure select "N".
154
KaiChieh Chuang4bd85972019-01-30 14:47:10 +0800155config SND_SOC_MTK_BTCVSD
156 tristate "ALSA BT SCO CVSD/MSBC Driver"
157 help
158 This is for software BTCVSD. This enable
159 the function for transferring/receiving
160 BT encoded data to/from BT firmware.
161 Select Y if you have such device.
162 If unsure select "N".
Jiaxin Yu125ab5d2020-11-03 15:59:31 +0800163
164config SND_SOC_MT8192
165 tristate "ASoC support for Mediatek MT8192 chip"
166 depends on ARCH_MEDIATEK
167 select SND_SOC_MEDIATEK
168 help
169 This adds ASoC platform driver support for Mediatek MT8192 chip
170 that can be used with other codecs.
171 Select Y if you have such device.
172 If unsure select "N".
Jiaxin Yu18b13ff2020-11-03 15:59:37 +0800173
174config SND_SOC_MT8192_MT6359_RT1015_RT5682
175 tristate "ASoC Audio driver for MT8192 with MT6359 RT1015 RT5682 codec"
Julian Braha25548772021-10-28 20:12:25 -0400176 depends on I2C && GPIOLIB
Arnd Bergmannc1cbbea2020-12-30 16:43:34 +0100177 depends on SND_SOC_MT8192 && MTK_PMIC_WRAP
Jiaxin Yu18b13ff2020-11-03 15:59:37 +0800178 select SND_SOC_MT6359
179 select SND_SOC_RT1015
Tzung-Bi Shihcfd8bb22020-12-01 21:26:14 +0800180 select SND_SOC_RT1015P
Jiaxin Yu18b13ff2020-11-03 15:59:37 +0800181 select SND_SOC_RT5682_I2C
Jiaxin Yu2aff94e2020-11-11 10:45:22 +0800182 select SND_SOC_DMIC
Jiaxin Yu18b13ff2020-11-03 15:59:37 +0800183 help
184 This adds ASoC driver for Mediatek MT8192 boards
185 with the MT6359 RT1015 RT5682 audio codec.
186 Select Y if you have such device.
187 If unsure select "N".
Trevor Wu6746cc82021-08-19 16:41:39 +0800188
189config SND_SOC_MT8195
190 tristate "ASoC support for Mediatek MT8195 chip"
Geert Uytterhoeven940ffa12021-08-31 15:18:54 +0200191 depends on ARCH_MEDIATEK || COMPILE_TEST
Trevor Wu5a80dea2021-09-09 14:55:33 +0800192 depends on COMMON_CLK
Trevor Wu6746cc82021-08-19 16:41:39 +0800193 select SND_SOC_MEDIATEK
Trevor Wu5a80dea2021-09-09 14:55:33 +0800194 select MFD_SYSCON if SND_SOC_MT6359
Trevor Wu6746cc82021-08-19 16:41:39 +0800195 help
196 This adds ASoC platform driver support for Mediatek MT8195 chip
197 that can be used with other codecs.
198 Select Y if you have such device.
199 If unsure select "N".
Trevor Wu40d605d2021-08-19 16:41:41 +0800200
201config SND_SOC_MT8195_MT6359_RT1019_RT5682
202 tristate "ASoC Audio driver for MT8195 with MT6359 RT1019 RT5682 codec"
Julian Braha25548772021-10-28 20:12:25 -0400203 depends on I2C && GPIOLIB
Trevor Wucd5e4ef2021-08-31 10:13:03 +0800204 depends on SND_SOC_MT8195 && MTK_PMIC_WRAP
Trevor Wu40d605d2021-08-19 16:41:41 +0800205 select SND_SOC_MT6359
206 select SND_SOC_RT1015P
207 select SND_SOC_RT5682_I2C
Trevor Wuc9d57a22021-11-29 22:10:54 +0800208 select SND_SOC_RT5682S
Trevor Wu40d605d2021-08-19 16:41:41 +0800209 select SND_SOC_DMIC
Trevor Wue581e302021-08-19 16:41:42 +0800210 select SND_SOC_HDMI_CODEC
Trevor Wu40d605d2021-08-19 16:41:41 +0800211 help
212 This adds ASoC driver for Mediatek MT8195 boards
213 with the MT6359 RT1019 RT5682 audio codec.
214 Select Y if you have such device.
215 If unsure select "N".
Trevor Wu0261e362021-10-20 15:14:27 +0800216
217config SND_SOC_MT8195_MT6359_RT1011_RT5682
218 tristate "ASoC Audio driver for MT8195 with MT6359 RT1011 RT5682 codec"
219 depends on I2C
220 depends on SND_SOC_MT8195 && MTK_PMIC_WRAP
221 select SND_SOC_MT6359
222 select SND_SOC_RT1011
223 select SND_SOC_RT5682_I2C
Trevor Wuc9d57a22021-11-29 22:10:54 +0800224 select SND_SOC_RT5682S
Trevor Wu0261e362021-10-20 15:14:27 +0800225 select SND_SOC_DMIC
226 select SND_SOC_HDMI_CODEC
227 help
228 This adds ASoC driver for Mediatek MT8195 boards
229 with the MT6359 RT1011 RT5682 audio codec.
230 Select Y if you have such device.
231 If unsure select "N".