blob: 4e75eeb135420ba5dbdaf166d81e6bb03f2e66ec [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001config SND_SOC_MEDIATEK
2 tristate
3
4config SND_SOC_MTK_SRAM
5 tristate
6
7config SND_SOC_MTK_SMART_PHONE
8 tristate
9config SND_SOC_MT2701
10 tristate "ASoC support for Mediatek MT2701 chip"
11 depends on ARCH_MEDIATEK
12 select SND_SOC_MEDIATEK
13 help
14 This adds ASoC driver for Mediatek MT2701 boards
15 that can be used with other codecs.
16 Select Y if you have such device.
17 If unsure select "N".
18
19config SND_SOC_MT2701_CS42448
20 tristate "ASoc Audio driver for MT2701 with CS42448 codec"
21 depends on SND_SOC_MT2701 && I2C
22 select SND_SOC_CS42XX8_I2C
23 select SND_SOC_BT_SCO
24 help
25 This adds ASoC driver for Mediatek MT2701 boards
26 with the CS42448 codecs.
27 Select Y if you have such device.
28 If unsure select "N".
29
30config SND_SOC_MT2701_WM8960
31 tristate "ASoc Audio driver for MT2701 with WM8960 codec"
32 depends on SND_SOC_MT2701 && I2C
33 select SND_SOC_WM8960
34 help
35 This adds ASoC driver for Mediatek MT2701 boards
36 with the WM8960 codecs.
37 Select Y if you have such device.
38 If unsure select "N".
39config SND_SOC_MT2731
40 tristate "ASoC support for Mediatek MT6785 chip"
41 select REGMAP_MMIO
42 select SND_SOC_MEDIATEK
43 select SND_SOC_MTK_SRAM
44 select SND_SOC_MTK_SMART_PHONE
45 help
46 This adds ASoC driver for Mediatek MT2731 boards
47 that can be used with other codecs.
48 Select Y if you have such device.
49 If unsure select "N".
50
51config SND_SOC_MT2731_MT6356
52 tristate "ASoc Audio driver for MT2731 with MT6389 codec"
53 select SND_SOC_MT2731
54 select SND_SOC_MT6356
55 help
56 This adds ASoC driver for Mediatek MT2731 boards
57 with the MT6389 codecs.
58 Select Y if you have such device.
59 If unsure select "N".
60
61config SND_SOC_MT2731_MT6389
62 tristate "ASoc Audio driver for MT2731 with MT6389 codec"
63 select SND_SOC_MT2731
64 select SND_SOC_MT6389
65 help
66 This adds ASoC driver for Mediatek MT2731 boards
67 with the MT6389 codecs.
68 Select Y if you have such device.
69 If unsure select "N".
70
71config SND_SOC_MT8173
72 tristate "ASoC support for Mediatek MT8173 chip"
73 depends on ARCH_MEDIATEK
74 select SND_SOC_MEDIATEK
75 help
76 This adds ASoC platform driver support for Mediatek MT8173 chip
77 that can be used with other codecs.
78 Select Y if you have such device.
79 Ex: MT8173
80
81config SND_SOC_MT8173_MAX98090
82 tristate "ASoC Audio driver for MT8173 with MAX98090 codec"
83 depends on SND_SOC_MT8173 && I2C
84 select SND_SOC_MAX98090
85 help
86 This adds ASoC driver for Mediatek MT8173 boards
87 with the MAX98090 audio codec.
88 Select Y if you have such device.
89 If unsure select "N".
90
91config SND_SOC_MT8173_RT5650
92 tristate "ASoC Audio driver for MT8173 with RT5650 codec"
93 depends on SND_SOC_MT8173 && I2C
94 select SND_SOC_RT5645
95 select SND_SOC_HDMI_CODEC
96 help
97 This adds ASoC driver for Mediatek MT8173 boards
98 with the RT5650 audio codec.
99 Select Y if you have such device.
100 If unsure select "N".
101
102config SND_SOC_MT8173_RT5650_RT5514
103 tristate "ASoC Audio driver for MT8173 with RT5650 RT5514 codecs"
104 depends on SND_SOC_MT8173 && I2C
105 select SND_SOC_RT5645
106 select SND_SOC_RT5514
107 help
108 This adds ASoC driver for Mediatek MT8173 boards
109 with the RT5650 and RT5514 codecs.
110 Select Y if you have such device.
111 If unsure select "N".
112
113config SND_SOC_MT8173_RT5650_RT5676
114 tristate "ASoC Audio driver for MT8173 with RT5650 RT5676 codecs"
115 depends on SND_SOC_MT8173 && I2C
116 select SND_SOC_RT5645
117 select SND_SOC_RT5677
118 select SND_SOC_HDMI_CODEC
119 help
120 This adds ASoC driver for Mediatek MT8173 boards
121 with the RT5650 and RT5676 codecs.
122 Select Y if you have such device.
123 If unsure select "N".
124
125config SND_SOC_MT8183
126 tristate "ASoC support for Mediatek MT8183 chip"
127 depends on ARCH_MEDIATEK
128 select SND_SOC_MEDIATEK
129 help
130 This adds ASoC driver for Mediatek MT8183 boards
131 that can be used with other codecs.
132 Select Y if you have such device.
133 If unsure select "N".
134
135config SND_SOC_MT8183_MT6358
136 tristate "ASoC Audio driver for MT8183 with MT6358 codec"
137 depends on SND_SOC_MT8183 && MTK_PMIC_WRAP
138 select SND_SOC_MT6358
139 help
140 This adds ASoC driver for Mediatek MT8183 boards
141 with the MT6358 codecs.
142 Select Y if you have such device.
143 If unsure select "N".
144config MTK_SND_SOC_CODEC
145 string "String for Mediatek audio codec"
146 help
147 Specify Mediatek audio codec.
148 It depend on the string to choose the audio codec.
149 Say "mt6351" if you have mt6351 audio codec.
150 Say "mt6337" if you have mt6337 audio codec.
151 Say "mt6355" if you have mt6355 audio codec.
152 Say "mt6356" if you have mt6356 audio codec.
153
154config SND_SOC_MTK_BTCVSD
155 bool "MTK BT CVSD ALSA ARICHITECTURE"
156 default n
157 help
158 If you say Y, enable SND_SOC_MTK_BTCVSD.
159 This is for software BTCVSD. This enable
160 the function for transferring/receiving
161 BT encoded data to/from BT firmware.
162
163config BT_AUDIO_PCM
164 bool "MTK BT AUDIO PCM INTERFACE"
165 default n
166 help
167 If you say Y, enable CONFIG_BT_AUDIO_PCM.
168 This is for audio pcm connect to BT. This enable
169 the function for transferring/receiving
170 BT via pcm interface.
171
172config MTK_SND_SOC_NEW_ARCH
173 bool "Support new audio architecture"
174 select REGMAP_MMIO
175 help
176 If you say Y, enable MTK_SND_SOC_NEW_ARCH.
177 Only enable this when you use refactored audio driver architecture.
178 If new chip after mt6757, we will enable this config.
179 Audio driver refactor to common folder and platform folder.