xref: /openbmc/linux/sound/soc/mediatek/Kconfig (revision bf106bf0)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
26b1e19d9SGarlic Tsengconfig SND_SOC_MEDIATEK
36b1e19d9SGarlic Tseng	tristate
45a80dea9STrevor Wu	select REGMAP_MMIO
56b1e19d9SGarlic Tseng
61f458d53SGarlic Tsengconfig SND_SOC_MT2701
71f458d53SGarlic Tseng	tristate "ASoC support for Mediatek MT2701 chip"
81f458d53SGarlic Tseng	depends on ARCH_MEDIATEK
91f458d53SGarlic Tseng	select SND_SOC_MEDIATEK
101f458d53SGarlic Tseng	help
111f458d53SGarlic Tseng	  This adds ASoC driver for Mediatek MT2701 boards
121f458d53SGarlic Tseng	  that can be used with other codecs.
131f458d53SGarlic Tseng	  Select Y if you have such device.
141f458d53SGarlic Tseng	  If unsure select "N".
151f458d53SGarlic Tseng
161f458d53SGarlic Tsengconfig SND_SOC_MT2701_CS42448
171f458d53SGarlic Tseng	tristate "ASoc Audio driver for MT2701 with CS42448 codec"
1872cedf59SArnd Bergmann	depends on SND_SOC_MT2701 && I2C
191f458d53SGarlic Tseng	select SND_SOC_CS42XX8_I2C
201f458d53SGarlic Tseng	select SND_SOC_BT_SCO
211f458d53SGarlic Tseng	help
221f458d53SGarlic Tseng	  This adds ASoC driver for Mediatek MT2701 boards
231f458d53SGarlic Tseng	  with the CS42448 codecs.
241f458d53SGarlic Tseng	  Select Y if you have such device.
251f458d53SGarlic Tseng	  If unsure select "N".
261f458d53SGarlic Tseng
278625c1dbSRyder Leeconfig SND_SOC_MT2701_WM8960
288625c1dbSRyder Lee	tristate "ASoc Audio driver for MT2701 with WM8960 codec"
29362c5943SArnd Bergmann	depends on SND_SOC_MT2701 && I2C
308625c1dbSRyder Lee	select SND_SOC_WM8960
318625c1dbSRyder Lee	help
328625c1dbSRyder Lee	  This adds ASoC driver for Mediatek MT2701 boards
338625c1dbSRyder Lee	  with the WM8960 codecs.
348625c1dbSRyder Lee	  Select Y if you have such device.
358625c1dbSRyder Lee	  If unsure select "N".
368625c1dbSRyder Lee
37f0ab0bf2SKai Chieh Chuangconfig SND_SOC_MT6797
38f0ab0bf2SKai Chieh Chuang	tristate "ASoC support for Mediatek MT6797 chip"
39f0ab0bf2SKai Chieh Chuang	depends on ARCH_MEDIATEK
40f0ab0bf2SKai Chieh Chuang	select SND_SOC_MEDIATEK
41f0ab0bf2SKai Chieh Chuang	help
42f0ab0bf2SKai Chieh Chuang	  This adds ASoC driver for Mediatek MT6797 boards
43f0ab0bf2SKai Chieh Chuang	  that can be used with other codecs.
44f0ab0bf2SKai Chieh Chuang	  Select Y if you have such device.
45f0ab0bf2SKai Chieh Chuang	  If unsure select "N".
46f0ab0bf2SKai Chieh Chuang
47f0ab0bf2SKai Chieh Chuangconfig SND_SOC_MT6797_MT6351
48f0ab0bf2SKai Chieh Chuang	tristate "ASoc Audio driver for MT6797 with MT6351 codec"
49f0ab0bf2SKai Chieh Chuang	depends on SND_SOC_MT6797 && MTK_PMIC_WRAP
50f0ab0bf2SKai Chieh Chuang	select SND_SOC_MT6351
51f0ab0bf2SKai Chieh Chuang	help
52f0ab0bf2SKai Chieh Chuang	  This adds ASoC driver for Mediatek MT6797 boards
53f0ab0bf2SKai Chieh Chuang	  with the MT6351 codecs.
54f0ab0bf2SKai Chieh Chuang	  Select Y if you have such device.
55f0ab0bf2SKai Chieh Chuang	  If unsure select "N".
56f0ab0bf2SKai Chieh Chuang
570d1d7a66SGarlic Tsengconfig SND_SOC_MT8173
580d1d7a66SGarlic Tseng	tristate "ASoC support for Mediatek MT8173 chip"
59ee0bcaffSKoro Chen	depends on ARCH_MEDIATEK
606b1e19d9SGarlic Tseng	select SND_SOC_MEDIATEK
61ee0bcaffSKoro Chen	help
620d1d7a66SGarlic Tseng	  This adds ASoC platform driver support for Mediatek MT8173 chip
63ee0bcaffSKoro Chen	  that can be used with other codecs.
64ee0bcaffSKoro Chen	  Select Y if you have such device.
65ee0bcaffSKoro Chen	  Ex: MT8173
66ee0bcaffSKoro Chen
67a54f6f0cSKoro Chenconfig SND_SOC_MT8173_MAX98090
68a54f6f0cSKoro Chen	tristate "ASoC Audio driver for MT8173 with MAX98090 codec"
690d1d7a66SGarlic Tseng	depends on SND_SOC_MT8173 && I2C
70a54f6f0cSKoro Chen	select SND_SOC_MAX98090
71a54f6f0cSKoro Chen	help
72a54f6f0cSKoro Chen	  This adds ASoC driver for Mediatek MT8173 boards
73a54f6f0cSKoro Chen	  with the MAX98090 audio codec.
74a54f6f0cSKoro Chen	  Select Y if you have such device.
75a54f6f0cSKoro Chen	  If unsure select "N".
76a54f6f0cSKoro Chen
770f83f929SKoro Chenconfig SND_SOC_MT8173_RT5650
780f83f929SKoro Chen	tristate "ASoC Audio driver for MT8173 with RT5650 codec"
790d1d7a66SGarlic Tseng	depends on SND_SOC_MT8173 && I2C
800f83f929SKoro Chen	select SND_SOC_RT5645
8197e1145aSPC Liao	select SND_SOC_HDMI_CODEC
820f83f929SKoro Chen	help
830f83f929SKoro Chen	  This adds ASoC driver for Mediatek MT8173 boards
840f83f929SKoro Chen	  with the RT5650 audio codec.
850f83f929SKoro Chen	  Select Y if you have such device.
860f83f929SKoro Chen	  If unsure select "N".
870f83f929SKoro Chen
880c71367dSKoro Chenconfig SND_SOC_MT8173_RT5650_RT5514
890c71367dSKoro Chen	tristate "ASoC Audio driver for MT8173 with RT5650 RT5514 codecs"
900d1d7a66SGarlic Tseng	depends on SND_SOC_MT8173 && I2C
910c71367dSKoro Chen	select SND_SOC_RT5645
920c71367dSKoro Chen	select SND_SOC_RT5514
930c71367dSKoro Chen	help
940c71367dSKoro Chen	  This adds ASoC driver for Mediatek MT8173 boards
950c71367dSKoro Chen	  with the RT5650 and RT5514 codecs.
960c71367dSKoro Chen	  Select Y if you have such device.
970c71367dSKoro Chen	  If unsure select "N".
980c71367dSKoro Chen
99662e8d91SKoro Chenconfig SND_SOC_MT8173_RT5650_RT5676
100662e8d91SKoro Chen	tristate "ASoC Audio driver for MT8173 with RT5650 RT5676 codecs"
1010d1d7a66SGarlic Tseng	depends on SND_SOC_MT8173 && I2C
102662e8d91SKoro Chen	select SND_SOC_RT5645
103662e8d91SKoro Chen	select SND_SOC_RT5677
104c0133e3bSKoro Chen	select SND_SOC_HDMI_CODEC
105662e8d91SKoro Chen	help
106662e8d91SKoro Chen	  This adds ASoC driver for Mediatek MT8173 boards
107662e8d91SKoro Chen	  with the RT5650 and RT5676 codecs.
108662e8d91SKoro Chen	  Select Y if you have such device.
109662e8d91SKoro Chen	  If unsure select "N".
110a94aec03SShunli Wang
111a94aec03SShunli Wangconfig SND_SOC_MT8183
112a94aec03SShunli Wang	tristate "ASoC support for Mediatek MT8183 chip"
113a94aec03SShunli Wang	depends on ARCH_MEDIATEK
114a94aec03SShunli Wang	select SND_SOC_MEDIATEK
115a94aec03SShunli Wang	help
116a94aec03SShunli Wang	  This adds ASoC platform driver support for Mediatek MT8183 chip
117a94aec03SShunli Wang	  that can be used with other codecs.
118a94aec03SShunli Wang	  Select Y if you have such device.
119a94aec03SShunli Wang	  If unsure select "N".
1204bd8597dSKaiChieh Chuang
12111c02690SShunli Wangconfig SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A
122f4fb4fefSTzung-Bi Shih	tristate "ASoC Audio driver for MT8183 with MT6358 TS3A227E MAX98357A RT1015 codec"
1232554877eSJulian Braha	depends on I2C && GPIOLIB
12411c02690SShunli Wang	depends on SND_SOC_MT8183
12511c02690SShunli Wang	select SND_SOC_MT6358
12611c02690SShunli Wang	select SND_SOC_MAX98357A
127f4fb4fefSTzung-Bi Shih	select SND_SOC_RT1015
1289dc21a06STzung-Bi Shih	select SND_SOC_RT1015P
12911c02690SShunli Wang	select SND_SOC_BT_SCO
13011c02690SShunli Wang	select SND_SOC_TS3A227E
131ef5dee55SMao Wenan	select SND_SOC_CROS_EC_CODEC if CROS_EC
13288abbf62STzung-Bi Shih	select SND_SOC_HDMI_CODEC
13311c02690SShunli Wang	help
13411c02690SShunli Wang	  This adds ASoC driver for Mediatek MT8183 boards
135f4fb4fefSTzung-Bi Shih	  with the MT6358 TS3A227E MAX98357A RT1015 audio codec.
13611c02690SShunli Wang	  Select Y if you have such device.
13711c02690SShunli Wang	  If unsure select "N".
13811c02690SShunli Wang
139ebbddc75SShunli Wangconfig SND_SOC_MT8183_DA7219_MAX98357A
1409e30251fSTzung-Bi Shih	tristate "ASoC Audio driver for MT8183 with DA7219 MAX98357A RT1015 codec"
1412554877eSJulian Braha	depends on SND_SOC_MT8183 && I2C && GPIOLIB
142ebbddc75SShunli Wang	select SND_SOC_MT6358
143ebbddc75SShunli Wang	select SND_SOC_MAX98357A
1449e30251fSTzung-Bi Shih	select SND_SOC_RT1015
1457e5bfdddSTzung-Bi Shih	select SND_SOC_RT1015P
146ebbddc75SShunli Wang	select SND_SOC_DA7219
147ebbddc75SShunli Wang	select SND_SOC_BT_SCO
148e25f8afdSTzung-Bi Shih	select SND_SOC_HDMI_CODEC
149ebbddc75SShunli Wang	help
150ebbddc75SShunli Wang	  This adds ASoC driver for Mediatek MT8183 boards
1519e30251fSTzung-Bi Shih	  with the DA7219 MAX98357A RT1015 audio codec.
152ebbddc75SShunli Wang	  Select Y if you have such device.
153ebbddc75SShunli Wang	  If unsure select "N".
154ebbddc75SShunli Wang
155097e874aSJiaxin Yuconfig SND_SOC_MT8186
156097e874aSJiaxin Yu	tristate "ASoC support for Mediatek MT8186 chip"
157097e874aSJiaxin Yu	depends on ARCH_MEDIATEK || COMPILE_TEST
158097e874aSJiaxin Yu	depends on COMMON_CLK
159097e874aSJiaxin Yu	select SND_SOC_MEDIATEK
160f20d5116SRen Zhijie	select SND_SOC_MT6358
161097e874aSJiaxin Yu	select MFD_SYSCON if SND_SOC_MT6358
162097e874aSJiaxin Yu	help
163097e874aSJiaxin Yu	  This adds ASoC driver for Mediatek MT8186 boards
164097e874aSJiaxin Yu	  that can be used with other codecs.
165097e874aSJiaxin Yu	  Select Y if you have such device.
166097e874aSJiaxin Yu	  If unsure select "N".
167097e874aSJiaxin Yu
1683c6e24b6SJiaxin Yuconfig SND_SOC_MT8186_MT6366_DA7219_MAX98357
1693c6e24b6SJiaxin Yu	tristate "ASoC Audio driver for MT8186 with DA7219 MAX98357A codec"
1703c6e24b6SJiaxin Yu	depends on I2C && GPIOLIB
1713c6e24b6SJiaxin Yu	depends on SND_SOC_MT8186 && MTK_PMIC_WRAP
1723c6e24b6SJiaxin Yu	select SND_SOC_MT6358
1733c6e24b6SJiaxin Yu	select SND_SOC_MAX98357A
1743c6e24b6SJiaxin Yu	select SND_SOC_DA7219
1753c6e24b6SJiaxin Yu	select SND_SOC_BT_SCO
1763c6e24b6SJiaxin Yu	select SND_SOC_DMIC
1773c6e24b6SJiaxin Yu	select SND_SOC_HDMI_CODEC
1783c6e24b6SJiaxin Yu	help
1793c6e24b6SJiaxin Yu	  This adds ASoC driver for Mediatek MT8186 boards
1803c6e24b6SJiaxin Yu	  with the MT6366(MT6358) DA7219 MAX98357A codecs.
1813c6e24b6SJiaxin Yu	  Select Y if you have such device.
1823c6e24b6SJiaxin Yu	  If unsure select "N".
1833c6e24b6SJiaxin Yu
1840da16e37SJiaxin Yuconfig SND_SOC_MT8186_MT6366_RT1019_RT5682S
1850da16e37SJiaxin Yu	tristate "ASoC Audio driver for MT8186 with RT1019 RT5682S codec"
1860da16e37SJiaxin Yu	depends on I2C && GPIOLIB
1870da16e37SJiaxin Yu	depends on SND_SOC_MT8186 && MTK_PMIC_WRAP
1880da16e37SJiaxin Yu	select SND_SOC_MT6358
1890da16e37SJiaxin Yu	select SND_SOC_RT1015P
1900da16e37SJiaxin Yu	select SND_SOC_RT5682S
1910da16e37SJiaxin Yu	select SND_SOC_BT_SCO
1920da16e37SJiaxin Yu	select SND_SOC_DMIC
1930da16e37SJiaxin Yu	select SND_SOC_HDMI_CODEC
1940da16e37SJiaxin Yu	help
1950da16e37SJiaxin Yu	  This adds ASoC driver for Mediatek MT8186 boards
1960da16e37SJiaxin Yu	  with the MT6366(MT6358) RT1019 RT5682S codecs.
1970da16e37SJiaxin Yu	  Select Y if you have such device.
1980da16e37SJiaxin Yu	  If unsure select "N".
1990da16e37SJiaxin Yu
2004bd8597dSKaiChieh Chuangconfig SND_SOC_MTK_BTCVSD
2014bd8597dSKaiChieh Chuang	tristate "ALSA BT SCO CVSD/MSBC Driver"
2024bd8597dSKaiChieh Chuang	help
2034bd8597dSKaiChieh Chuang	  This is for software BTCVSD. This enable
2044bd8597dSKaiChieh Chuang	  the function for transferring/receiving
2054bd8597dSKaiChieh Chuang	  BT encoded data to/from BT firmware.
2064bd8597dSKaiChieh Chuang	  Select Y if you have such device.
2074bd8597dSKaiChieh Chuang	  If unsure select "N".
208125ab5d5SJiaxin Yu
209*bf106bf0STrevor Wuconfig SND_SOC_MT8188
210*bf106bf0STrevor Wu	tristate "ASoC support for MediaTek MT8188 chip"
211*bf106bf0STrevor Wu	depends on ARCH_MEDIATEK || COMPILE_TEST
212*bf106bf0STrevor Wu	depends on COMMON_CLK
213*bf106bf0STrevor Wu	select SND_SOC_MEDIATEK
214*bf106bf0STrevor Wu	select MFD_SYSCON if SND_SOC_MT6359
215*bf106bf0STrevor Wu	help
216*bf106bf0STrevor Wu	  This adds ASoC platform driver support for MediaTek MT8188 chip
217*bf106bf0STrevor Wu	  that can be used with other codecs.
218*bf106bf0STrevor Wu	  Select Y if you have such device.
219*bf106bf0STrevor Wu	  If unsure select "N".
220*bf106bf0STrevor Wu
221125ab5d5SJiaxin Yuconfig SND_SOC_MT8192
222125ab5d5SJiaxin Yu	tristate "ASoC support for Mediatek MT8192 chip"
223125ab5d5SJiaxin Yu	depends on ARCH_MEDIATEK
224125ab5d5SJiaxin Yu	select SND_SOC_MEDIATEK
225125ab5d5SJiaxin Yu	help
226125ab5d5SJiaxin Yu	  This adds ASoC platform driver support for Mediatek MT8192 chip
227125ab5d5SJiaxin Yu	  that can be used with other codecs.
228125ab5d5SJiaxin Yu	  Select Y if you have such device.
229125ab5d5SJiaxin Yu	  If unsure select "N".
23018b13ff2SJiaxin Yu
23118b13ff2SJiaxin Yuconfig SND_SOC_MT8192_MT6359_RT1015_RT5682
23218b13ff2SJiaxin Yu	tristate "ASoC Audio driver for MT8192 with MT6359 RT1015 RT5682 codec"
2332554877eSJulian Braha	depends on I2C && GPIOLIB
234c1cbbea9SArnd Bergmann	depends on SND_SOC_MT8192 && MTK_PMIC_WRAP
23518b13ff2SJiaxin Yu	select SND_SOC_MT6359
23618b13ff2SJiaxin Yu	select SND_SOC_RT1015
237cfd8bb25STzung-Bi Shih	select SND_SOC_RT1015P
23818b13ff2SJiaxin Yu	select SND_SOC_RT5682_I2C
2396181ab31SJiaxin Yu	select SND_SOC_RT5682S
2402aff94e4SJiaxin Yu	select SND_SOC_DMIC
24118b13ff2SJiaxin Yu	help
24218b13ff2SJiaxin Yu	  This adds ASoC driver for Mediatek MT8192 boards
24318b13ff2SJiaxin Yu	  with the MT6359 RT1015 RT5682 audio codec.
24418b13ff2SJiaxin Yu	  Select Y if you have such device.
24518b13ff2SJiaxin Yu	  If unsure select "N".
2466746cc85STrevor Wu
2476746cc85STrevor Wuconfig SND_SOC_MT8195
2486746cc85STrevor Wu	tristate "ASoC support for Mediatek MT8195 chip"
249940ffa19SGeert Uytterhoeven	depends on ARCH_MEDIATEK || COMPILE_TEST
2505a80dea9STrevor Wu	depends on COMMON_CLK
2516746cc85STrevor Wu	select SND_SOC_MEDIATEK
2525a80dea9STrevor Wu	select MFD_SYSCON if SND_SOC_MT6359
2536746cc85STrevor Wu	help
2546746cc85STrevor Wu	  This adds ASoC platform driver support for Mediatek MT8195 chip
2556746cc85STrevor Wu	  that can be used with other codecs.
2566746cc85STrevor Wu	  Select Y if you have such device.
2576746cc85STrevor Wu	  If unsure select "N".
25840d605dfSTrevor Wu
259094e30efSTrevor Wuconfig SND_SOC_MT8195_MT6359
260094e30efSTrevor Wu	tristate "ASoC Audio driver for MT8195 with MT6359 and I2S codecs"
2612554877eSJulian Braha	depends on I2C && GPIOLIB
262cd5e4efdSTrevor Wu	depends on SND_SOC_MT8195 && MTK_PMIC_WRAP
26340d605dfSTrevor Wu	select SND_SOC_MT6359
264094e30efSTrevor Wu	select SND_SOC_RT1011
26540d605dfSTrevor Wu	select SND_SOC_RT1015P
26640d605dfSTrevor Wu	select SND_SOC_RT5682_I2C
267c9d57a25STrevor Wu	select SND_SOC_RT5682S
26886a6b9c9STrevor Wu	select SND_SOC_MAX98390
26940d605dfSTrevor Wu	select SND_SOC_DMIC
270e581e301STrevor Wu	select SND_SOC_HDMI_CODEC
27140d605dfSTrevor Wu	help
272094e30efSTrevor Wu	  This adds support for ASoC machine driver for Mediatek MT8195
273094e30efSTrevor Wu	  boards with the MT6359 and other I2S audio codecs.
2740261e364STrevor Wu	  Select Y if you have such device.
2750261e364STrevor Wu	  If unsure select "N".
276