forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/sound/soc/samsung/Kconfig
....@@ -1,9 +1,10 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 menuconfig SND_SOC_SAMSUNG
23 tristate "ASoC support for Samsung"
3
- depends on PLAT_SAMSUNG || ARCH_EXYNOS || COMPILE_TEST
4
+ depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
45 depends on COMMON_CLK
56 select SND_SOC_GENERIC_DMAENGINE_PCM
6
- ---help---
7
+ help
78 Say Y or M if you want to add support for codecs attached to
89 the Samsung SoCs' Audio interfaces. You will also need to
910 select the audio interfaces to support below.
....@@ -76,7 +77,7 @@
7677 config SND_SOC_SAMSUNG_SIMTEC
7778 tristate
7879 help
79
- Internal node for common S3C24XX/Simtec suppor
80
+ Internal node for common S3C24XX/Simtec support.
8081
8182 config SND_SOC_SAMSUNG_SIMTEC_TLV320AIC23
8283 tristate "SoC I2S Audio support for TLV320AIC23 on Simtec boards"
....@@ -150,7 +151,7 @@
150151
151152 config SND_SOC_BELLS
152153 tristate "Audio support for Wolfson Bells"
153
- depends on MFD_ARIZONA && I2C && SPI_MASTER
154
+ depends on MFD_ARIZONA && MFD_WM5102 && MFD_WM5110 && I2C && SPI_MASTER
154155 depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST
155156 select SND_SAMSUNG_I2S
156157 select SND_SOC_WM5102
....@@ -193,15 +194,17 @@
193194 help
194195 Say Y here to enable audio support for the Odroid XU3/XU4.
195196
196
-config SND_SOC_ARNDALE_RT5631_ALC5631
197
- tristate "Audio support for RT5631(ALC5631) on Arndale Board"
198
- depends on I2C
199
- select SND_SAMSUNG_I2S
200
- select SND_SOC_RT5631
197
+config SND_SOC_ARNDALE
198
+ tristate "Audio support for Arndale Board"
199
+ depends on I2C
200
+ select SND_SAMSUNG_I2S
201
+ select SND_SOC_RT5631
202
+ select MFD_WM8994
203
+ select SND_SOC_WM8994
201204
202205 config SND_SOC_SAMSUNG_TM2_WM5110
203206 tristate "SoC I2S Audio support for WM5110 on TM2 board"
204
- depends on SND_SOC_SAMSUNG && MFD_ARIZONA && I2C && SPI_MASTER
207
+ depends on SND_SOC_SAMSUNG && MFD_ARIZONA && MFD_WM5110 && I2C && SPI_MASTER
205208 depends on GPIOLIB || COMPILE_TEST
206209 select SND_SOC_MAX98504
207210 select SND_SOC_WM5110
....@@ -209,4 +212,25 @@
209212 help
210213 Say Y if you want to add support for SoC audio on the TM2 board.
211214
215
+config SND_SOC_SAMSUNG_ARIES_WM8994
216
+ tristate "SoC I2S Audio support for WM8994 on Aries"
217
+ depends on SND_SOC_SAMSUNG && MFD_WM8994 && IIO && EXTCON
218
+ select SND_SOC_BT_SCO
219
+ select SND_SOC_WM8994
220
+ select SND_SAMSUNG_I2S
221
+ help
222
+ Say Y if you want to add support for SoC audio on Aries boards,
223
+ which has a WM8994 codec connected to a BT codec, a cellular
224
+ modem, and the Samsung I2S controller. Jack detection is done
225
+ via ADC, GPIOs, and an extcon device. Switching between the Mic
226
+ and TV-Out path is also handled.
227
+
228
+config SND_SOC_SAMSUNG_MIDAS_WM1811
229
+ tristate "SoC I2S Audio support for Midas boards"
230
+ depends on SND_SOC_SAMSUNG
231
+ select SND_SAMSUNG_I2S
232
+ select SND_SOC_WM8994
233
+ help
234
+ Say Y if you want to add support for SoC audio on the Midas boards.
235
+
212236 endif #SND_SOC_SAMSUNG