xref: /openbmc/linux/sound/soc/mediatek/Kconfig (revision 940ffa19)
1# SPDX-License-Identifier: GPL-2.0-only
2config SND_SOC_MEDIATEK
3	tristate
4
5config SND_SOC_MT2701
6	tristate "ASoC support for Mediatek MT2701 chip"
7	depends on ARCH_MEDIATEK
8	select SND_SOC_MEDIATEK
9	help
10	  This adds ASoC driver for Mediatek MT2701 boards
11	  that can be used with other codecs.
12	  Select Y if you have such device.
13	  If unsure select "N".
14
15config SND_SOC_MT2701_CS42448
16	tristate "ASoc Audio driver for MT2701 with CS42448 codec"
17	depends on SND_SOC_MT2701 && I2C
18	select SND_SOC_CS42XX8_I2C
19	select SND_SOC_BT_SCO
20	help
21	  This adds ASoC driver for Mediatek MT2701 boards
22	  with the CS42448 codecs.
23	  Select Y if you have such device.
24	  If unsure select "N".
25
26config SND_SOC_MT2701_WM8960
27	tristate "ASoc Audio driver for MT2701 with WM8960 codec"
28	depends on SND_SOC_MT2701 && I2C
29	select SND_SOC_WM8960
30	help
31	  This adds ASoC driver for Mediatek MT2701 boards
32	  with the WM8960 codecs.
33	  Select Y if you have such device.
34	  If unsure select "N".
35
36config SND_SOC_MT6797
37	tristate "ASoC support for Mediatek MT6797 chip"
38	depends on ARCH_MEDIATEK
39	select SND_SOC_MEDIATEK
40	help
41	  This adds ASoC driver for Mediatek MT6797 boards
42	  that can be used with other codecs.
43	  Select Y if you have such device.
44	  If unsure select "N".
45
46config SND_SOC_MT6797_MT6351
47	tristate "ASoc Audio driver for MT6797 with MT6351 codec"
48	depends on SND_SOC_MT6797 && MTK_PMIC_WRAP
49	select SND_SOC_MT6351
50	help
51	  This adds ASoC driver for Mediatek MT6797 boards
52	  with the MT6351 codecs.
53	  Select Y if you have such device.
54	  If unsure select "N".
55
56config SND_SOC_MT8173
57	tristate "ASoC support for Mediatek MT8173 chip"
58	depends on ARCH_MEDIATEK
59	select SND_SOC_MEDIATEK
60	help
61	  This adds ASoC platform driver support for Mediatek MT8173 chip
62	  that can be used with other codecs.
63	  Select Y if you have such device.
64	  Ex: MT8173
65
66config SND_SOC_MT8173_MAX98090
67	tristate "ASoC Audio driver for MT8173 with MAX98090 codec"
68	depends on SND_SOC_MT8173 && I2C
69	select SND_SOC_MAX98090
70	help
71	  This adds ASoC driver for Mediatek MT8173 boards
72	  with the MAX98090 audio codec.
73	  Select Y if you have such device.
74	  If unsure select "N".
75
76config SND_SOC_MT8173_RT5650
77	tristate "ASoC Audio driver for MT8173 with RT5650 codec"
78	depends on SND_SOC_MT8173 && I2C
79	select SND_SOC_RT5645
80	select SND_SOC_HDMI_CODEC
81	help
82	  This adds ASoC driver for Mediatek MT8173 boards
83	  with the RT5650 audio codec.
84	  Select Y if you have such device.
85	  If unsure select "N".
86
87config SND_SOC_MT8173_RT5650_RT5514
88	tristate "ASoC Audio driver for MT8173 with RT5650 RT5514 codecs"
89	depends on SND_SOC_MT8173 && I2C
90	select SND_SOC_RT5645
91	select SND_SOC_RT5514
92	help
93	  This adds ASoC driver for Mediatek MT8173 boards
94	  with the RT5650 and RT5514 codecs.
95	  Select Y if you have such device.
96	  If unsure select "N".
97
98config SND_SOC_MT8173_RT5650_RT5676
99	tristate "ASoC Audio driver for MT8173 with RT5650 RT5676 codecs"
100	depends on SND_SOC_MT8173 && I2C
101	select SND_SOC_RT5645
102	select SND_SOC_RT5677
103	select SND_SOC_HDMI_CODEC
104	help
105	  This adds ASoC driver for Mediatek MT8173 boards
106	  with the RT5650 and RT5676 codecs.
107	  Select Y if you have such device.
108	  If unsure select "N".
109
110config SND_SOC_MT8183
111	tristate "ASoC support for Mediatek MT8183 chip"
112	depends on ARCH_MEDIATEK
113	select SND_SOC_MEDIATEK
114	help
115	  This adds ASoC platform driver support for Mediatek MT8183 chip
116	  that can be used with other codecs.
117	  Select Y if you have such device.
118	  If unsure select "N".
119
120config SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A
121	tristate "ASoC Audio driver for MT8183 with MT6358 TS3A227E MAX98357A RT1015 codec"
122	depends on I2C
123	depends on SND_SOC_MT8183
124	select SND_SOC_MT6358
125	select SND_SOC_MAX98357A
126	select SND_SOC_RT1015
127	select SND_SOC_RT1015P
128	select SND_SOC_BT_SCO
129	select SND_SOC_TS3A227E
130	select SND_SOC_CROS_EC_CODEC if CROS_EC
131	select SND_SOC_HDMI_CODEC
132	help
133	  This adds ASoC driver for Mediatek MT8183 boards
134	  with the MT6358 TS3A227E MAX98357A RT1015 audio codec.
135	  Select Y if you have such device.
136	  If unsure select "N".
137
138config SND_SOC_MT8183_DA7219_MAX98357A
139	tristate "ASoC Audio driver for MT8183 with DA7219 MAX98357A RT1015 codec"
140	depends on SND_SOC_MT8183 && I2C
141	select SND_SOC_MT6358
142	select SND_SOC_MAX98357A
143	select SND_SOC_RT1015
144	select SND_SOC_RT1015P
145	select SND_SOC_DA7219
146	select SND_SOC_BT_SCO
147	select SND_SOC_HDMI_CODEC
148	help
149	  This adds ASoC driver for Mediatek MT8183 boards
150	  with the DA7219 MAX98357A RT1015 audio codec.
151	  Select Y if you have such device.
152	  If unsure select "N".
153
154config SND_SOC_MTK_BTCVSD
155	tristate "ALSA BT SCO CVSD/MSBC Driver"
156	help
157	  This is for software BTCVSD. This enable
158	  the function for transferring/receiving
159	  BT encoded data to/from BT firmware.
160	  Select Y if you have such device.
161	  If unsure select "N".
162
163config SND_SOC_MT8192
164	tristate "ASoC support for Mediatek MT8192 chip"
165	depends on ARCH_MEDIATEK
166	select SND_SOC_MEDIATEK
167	help
168	  This adds ASoC platform driver support for Mediatek MT8192 chip
169	  that can be used with other codecs.
170	  Select Y if you have such device.
171	  If unsure select "N".
172
173config SND_SOC_MT8192_MT6359_RT1015_RT5682
174	tristate "ASoC Audio driver for MT8192 with MT6359 RT1015 RT5682 codec"
175	depends on I2C
176	depends on SND_SOC_MT8192 && MTK_PMIC_WRAP
177	select SND_SOC_MT6359
178	select SND_SOC_RT1015
179	select SND_SOC_RT1015P
180	select SND_SOC_RT5682_I2C
181	select SND_SOC_DMIC
182	help
183	  This adds ASoC driver for Mediatek MT8192 boards
184	  with the MT6359 RT1015 RT5682 audio codec.
185	  Select Y if you have such device.
186	  If unsure select "N".
187
188config SND_SOC_MT8195
189	tristate "ASoC support for Mediatek MT8195 chip"
190	depends on ARCH_MEDIATEK || COMPILE_TEST
191	select SND_SOC_MEDIATEK
192	help
193	  This adds ASoC platform driver support for Mediatek MT8195 chip
194	  that can be used with other codecs.
195	  Select Y if you have such device.
196	  If unsure select "N".
197
198config SND_SOC_MT8195_MT6359_RT1019_RT5682
199	tristate "ASoC Audio driver for MT8195 with MT6359 RT1019 RT5682 codec"
200	depends on I2C
201	depends on SND_SOC_MT8195 && MTK_PMIC_WRAP
202	select SND_SOC_MT6359
203	select SND_SOC_RT1015P
204	select SND_SOC_RT5682_I2C
205	select SND_SOC_DMIC
206	select SND_SOC_HDMI_CODEC
207	help
208	  This adds ASoC driver for Mediatek MT8195 boards
209	  with the MT6359 RT1019 RT5682 audio codec.
210	  Select Y if you have such device.
211	  If unsure select "N".
212