xref: /openbmc/linux/sound/soc/mediatek/Kconfig (revision a5a8cb96)
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 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_BT_SCO
127	select SND_SOC_TS3A227E
128	select SND_SOC_CROS_EC_CODEC if CROS_EC
129	help
130	  This adds ASoC driver for Mediatek MT8183 boards
131	  with the MT6358 TS3A227E MAX98357A audio codec.
132	  Select Y if you have such device.
133	  If unsure select "N".
134
135config SND_SOC_MT8183_DA7219_MAX98357A
136	tristate "ASoC Audio driver for MT8183 with DA7219 MAX98357A codec"
137	depends on SND_SOC_MT8183 && I2C
138	select SND_SOC_MT6358
139	select SND_SOC_MAX98357A
140	select SND_SOC_DA7219
141	select SND_SOC_BT_SCO
142	help
143	  This adds ASoC driver for Mediatek MT8183 boards
144	  with the DA7219 MAX98357A audio codec.
145	  Select Y if you have such device.
146	  If unsure select "N".
147
148config SND_SOC_MTK_BTCVSD
149	tristate "ALSA BT SCO CVSD/MSBC Driver"
150	help
151	  This is for software BTCVSD. This enable
152	  the function for transferring/receiving
153	  BT encoded data to/from BT firmware.
154	  Select Y if you have such device.
155	  If unsure select "N".
156