18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_cimenuconfig SND_SOC_SAMSUNG
38c2ecf20Sopenharmony_ci	tristate "ASoC support for Samsung"
48c2ecf20Sopenharmony_ci	depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
58c2ecf20Sopenharmony_ci	depends on COMMON_CLK
68c2ecf20Sopenharmony_ci	select SND_SOC_GENERIC_DMAENGINE_PCM
78c2ecf20Sopenharmony_ci	help
88c2ecf20Sopenharmony_ci	  Say Y or M if you want to add support for codecs attached to
98c2ecf20Sopenharmony_ci	  the Samsung SoCs' Audio interfaces. You will also need to
108c2ecf20Sopenharmony_ci	  select the audio interfaces to support below.
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciif SND_SOC_SAMSUNG
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ciconfig SND_S3C24XX_I2S
158c2ecf20Sopenharmony_ci	tristate
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciconfig SND_S3C_I2SV2_SOC
188c2ecf20Sopenharmony_ci	tristate
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ciconfig SND_S3C2412_SOC_I2S
218c2ecf20Sopenharmony_ci	tristate
228c2ecf20Sopenharmony_ci	select SND_S3C_I2SV2_SOC
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ciconfig SND_SAMSUNG_PCM
258c2ecf20Sopenharmony_ci	tristate "Samsung PCM interface support"
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciconfig SND_SAMSUNG_SPDIF
288c2ecf20Sopenharmony_ci	tristate "Samsung SPDIF transmitter support"
298c2ecf20Sopenharmony_ci	select SND_SOC_SPDIF
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ciconfig SND_SAMSUNG_I2S
328c2ecf20Sopenharmony_ci	tristate "Samsung I2S interface support"
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ciconfig SND_SOC_SAMSUNG_NEO1973_WM8753
358c2ecf20Sopenharmony_ci	tristate "Audio support for Openmoko Neo1973 Smartphones (GTA02)"
368c2ecf20Sopenharmony_ci	depends on MACH_NEO1973_GTA02
378c2ecf20Sopenharmony_ci	select SND_S3C24XX_I2S
388c2ecf20Sopenharmony_ci	select SND_SOC_WM8753
398c2ecf20Sopenharmony_ci	select SND_SOC_BT_SCO
408c2ecf20Sopenharmony_ci	help
418c2ecf20Sopenharmony_ci	  Say Y here to enable audio support for the Openmoko Neo1973
428c2ecf20Sopenharmony_ci	  Smartphones.
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ciconfig SND_SOC_SAMSUNG_JIVE_WM8750
458c2ecf20Sopenharmony_ci	tristate "SoC I2S Audio support for Jive"
468c2ecf20Sopenharmony_ci	depends on MACH_JIVE && I2C
478c2ecf20Sopenharmony_ci	select SND_SOC_WM8750
488c2ecf20Sopenharmony_ci	select SND_S3C2412_SOC_I2S
498c2ecf20Sopenharmony_ci	help
508c2ecf20Sopenharmony_ci	  Say Y if you want to add support for SoC audio on the Jive.
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ciconfig SND_SOC_SAMSUNG_SMDK_WM8580
538c2ecf20Sopenharmony_ci	tristate "SoC I2S Audio support for WM8580 on SMDK"
548c2ecf20Sopenharmony_ci	depends on MACH_SMDK6410 || COMPILE_TEST
558c2ecf20Sopenharmony_ci	depends on I2C
568c2ecf20Sopenharmony_ci	select SND_SOC_WM8580
578c2ecf20Sopenharmony_ci	select SND_SAMSUNG_I2S
588c2ecf20Sopenharmony_ci	help
598c2ecf20Sopenharmony_ci	  Say Y if you want to add support for SoC audio on the SMDKs.
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_ciconfig SND_SOC_SAMSUNG_SMDK_WM8994
628c2ecf20Sopenharmony_ci	tristate "SoC I2S Audio support for WM8994 on SMDK"
638c2ecf20Sopenharmony_ci	depends on I2C=y
648c2ecf20Sopenharmony_ci	select MFD_WM8994
658c2ecf20Sopenharmony_ci	select SND_SOC_WM8994
668c2ecf20Sopenharmony_ci	select SND_SAMSUNG_I2S
678c2ecf20Sopenharmony_ci	help
688c2ecf20Sopenharmony_ci		Say Y if you want to add support for SoC audio on the SMDKs.
698c2ecf20Sopenharmony_ci
708c2ecf20Sopenharmony_ciconfig SND_SOC_SAMSUNG_S3C24XX_UDA134X
718c2ecf20Sopenharmony_ci	tristate "SoC I2S Audio support UDA134X wired to a S3C24XX"
728c2ecf20Sopenharmony_ci	depends on ARCH_S3C24XX
738c2ecf20Sopenharmony_ci	select SND_S3C24XX_I2S
748c2ecf20Sopenharmony_ci	select SND_SOC_L3
758c2ecf20Sopenharmony_ci	select SND_SOC_UDA134X
768c2ecf20Sopenharmony_ci
778c2ecf20Sopenharmony_ciconfig SND_SOC_SAMSUNG_SIMTEC
788c2ecf20Sopenharmony_ci	tristate
798c2ecf20Sopenharmony_ci	help
808c2ecf20Sopenharmony_ci	  Internal node for common S3C24XX/Simtec support.
818c2ecf20Sopenharmony_ci
828c2ecf20Sopenharmony_ciconfig SND_SOC_SAMSUNG_SIMTEC_TLV320AIC23
838c2ecf20Sopenharmony_ci	tristate "SoC I2S Audio support for TLV320AIC23 on Simtec boards"
848c2ecf20Sopenharmony_ci	depends on ARCH_S3C24XX && I2C
858c2ecf20Sopenharmony_ci	select SND_S3C24XX_I2S
868c2ecf20Sopenharmony_ci	select SND_SOC_TLV320AIC23_I2C
878c2ecf20Sopenharmony_ci	select SND_SOC_SAMSUNG_SIMTEC
888c2ecf20Sopenharmony_ci
898c2ecf20Sopenharmony_ciconfig SND_SOC_SAMSUNG_SIMTEC_HERMES
908c2ecf20Sopenharmony_ci	tristate "SoC I2S Audio support for Simtec Hermes board"
918c2ecf20Sopenharmony_ci	depends on ARCH_S3C24XX && I2C
928c2ecf20Sopenharmony_ci	select SND_S3C24XX_I2S
938c2ecf20Sopenharmony_ci	select SND_SOC_TLV320AIC3X
948c2ecf20Sopenharmony_ci	select SND_SOC_SAMSUNG_SIMTEC
958c2ecf20Sopenharmony_ci
968c2ecf20Sopenharmony_ciconfig SND_SOC_SAMSUNG_H1940_UDA1380
978c2ecf20Sopenharmony_ci	tristate "Audio support for the HP iPAQ H1940"
988c2ecf20Sopenharmony_ci	depends on ARCH_H1940 && I2C
998c2ecf20Sopenharmony_ci	select SND_S3C24XX_I2S
1008c2ecf20Sopenharmony_ci	select SND_SOC_UDA1380
1018c2ecf20Sopenharmony_ci	help
1028c2ecf20Sopenharmony_ci	  This driver provides audio support for HP iPAQ h1940 PDA.
1038c2ecf20Sopenharmony_ci
1048c2ecf20Sopenharmony_ciconfig SND_SOC_SAMSUNG_RX1950_UDA1380
1058c2ecf20Sopenharmony_ci	tristate "Audio support for the HP iPAQ RX1950"
1068c2ecf20Sopenharmony_ci	depends on MACH_RX1950 && I2C
1078c2ecf20Sopenharmony_ci	select SND_S3C24XX_I2S
1088c2ecf20Sopenharmony_ci	select SND_SOC_UDA1380
1098c2ecf20Sopenharmony_ci	help
1108c2ecf20Sopenharmony_ci	  This driver provides audio support for HP iPAQ RX1950 PDA.
1118c2ecf20Sopenharmony_ci
1128c2ecf20Sopenharmony_ciconfig SND_SOC_SMARTQ
1138c2ecf20Sopenharmony_ci	tristate "SoC I2S Audio support for SmartQ board"
1148c2ecf20Sopenharmony_ci	depends on MACH_SMARTQ || COMPILE_TEST
1158c2ecf20Sopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
1168c2ecf20Sopenharmony_ci	depends on I2C
1178c2ecf20Sopenharmony_ci	select SND_SAMSUNG_I2S
1188c2ecf20Sopenharmony_ci	select SND_SOC_WM8750
1198c2ecf20Sopenharmony_ci
1208c2ecf20Sopenharmony_ciconfig SND_SOC_SAMSUNG_SMDK_SPDIF
1218c2ecf20Sopenharmony_ci	tristate "SoC S/PDIF Audio support for SMDK"
1228c2ecf20Sopenharmony_ci	select SND_SAMSUNG_SPDIF
1238c2ecf20Sopenharmony_ci	help
1248c2ecf20Sopenharmony_ci	  Say Y if you want to add support for SoC S/PDIF audio on the SMDK.
1258c2ecf20Sopenharmony_ci
1268c2ecf20Sopenharmony_ciconfig SND_SOC_SMDK_WM8994_PCM
1278c2ecf20Sopenharmony_ci	tristate "SoC PCM Audio support for WM8994 on SMDK"
1288c2ecf20Sopenharmony_ci	depends on I2C=y
1298c2ecf20Sopenharmony_ci	select MFD_WM8994
1308c2ecf20Sopenharmony_ci	select SND_SOC_WM8994
1318c2ecf20Sopenharmony_ci	select SND_SAMSUNG_PCM
1328c2ecf20Sopenharmony_ci	help
1338c2ecf20Sopenharmony_ci	  Say Y if you want to add support for SoC audio on the SMDK
1348c2ecf20Sopenharmony_ci
1358c2ecf20Sopenharmony_ciconfig SND_SOC_SPEYSIDE
1368c2ecf20Sopenharmony_ci	tristate "Audio support for Wolfson Speyside"
1378c2ecf20Sopenharmony_ci	depends on I2C && SPI_MASTER
1388c2ecf20Sopenharmony_ci	depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST
1398c2ecf20Sopenharmony_ci	select SND_SAMSUNG_I2S
1408c2ecf20Sopenharmony_ci	select SND_SOC_WM8996
1418c2ecf20Sopenharmony_ci	select SND_SOC_WM9081
1428c2ecf20Sopenharmony_ci	select SND_SOC_WM0010
1438c2ecf20Sopenharmony_ci	select SND_SOC_WM1250_EV1
1448c2ecf20Sopenharmony_ci
1458c2ecf20Sopenharmony_ciconfig SND_SOC_TOBERMORY
1468c2ecf20Sopenharmony_ci	tristate "Audio support for Wolfson Tobermory"
1478c2ecf20Sopenharmony_ci	depends on INPUT && I2C
1488c2ecf20Sopenharmony_ci	depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST
1498c2ecf20Sopenharmony_ci	select SND_SAMSUNG_I2S
1508c2ecf20Sopenharmony_ci	select SND_SOC_WM8962
1518c2ecf20Sopenharmony_ci
1528c2ecf20Sopenharmony_ciconfig SND_SOC_BELLS
1538c2ecf20Sopenharmony_ci	tristate "Audio support for Wolfson Bells"
1548c2ecf20Sopenharmony_ci	depends on MFD_ARIZONA && MFD_WM5102 && MFD_WM5110 && I2C && SPI_MASTER
1558c2ecf20Sopenharmony_ci	depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST
1568c2ecf20Sopenharmony_ci	select SND_SAMSUNG_I2S
1578c2ecf20Sopenharmony_ci	select SND_SOC_WM5102
1588c2ecf20Sopenharmony_ci	select SND_SOC_WM5110
1598c2ecf20Sopenharmony_ci	select SND_SOC_WM9081
1608c2ecf20Sopenharmony_ci	select SND_SOC_WM0010
1618c2ecf20Sopenharmony_ci	select SND_SOC_WM1250_EV1
1628c2ecf20Sopenharmony_ci
1638c2ecf20Sopenharmony_ciconfig SND_SOC_LOWLAND
1648c2ecf20Sopenharmony_ci	tristate "Audio support for Wolfson Lowland"
1658c2ecf20Sopenharmony_ci	depends on I2C
1668c2ecf20Sopenharmony_ci	depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST
1678c2ecf20Sopenharmony_ci	select SND_SAMSUNG_I2S
1688c2ecf20Sopenharmony_ci	select SND_SOC_WM5100
1698c2ecf20Sopenharmony_ci	select SND_SOC_WM9081
1708c2ecf20Sopenharmony_ci
1718c2ecf20Sopenharmony_ciconfig SND_SOC_LITTLEMILL
1728c2ecf20Sopenharmony_ci	tristate "Audio support for Wolfson Littlemill"
1738c2ecf20Sopenharmony_ci	depends on I2C
1748c2ecf20Sopenharmony_ci	depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST
1758c2ecf20Sopenharmony_ci	select SND_SAMSUNG_I2S
1768c2ecf20Sopenharmony_ci	select MFD_WM8994
1778c2ecf20Sopenharmony_ci	select SND_SOC_WM8994
1788c2ecf20Sopenharmony_ci
1798c2ecf20Sopenharmony_ciconfig SND_SOC_SNOW
1808c2ecf20Sopenharmony_ci	tristate "Audio support for Google Snow boards"
1818c2ecf20Sopenharmony_ci	depends on I2C
1828c2ecf20Sopenharmony_ci	select SND_SOC_MAX98090
1838c2ecf20Sopenharmony_ci	select SND_SOC_MAX98095
1848c2ecf20Sopenharmony_ci	select SND_SAMSUNG_I2S
1858c2ecf20Sopenharmony_ci	help
1868c2ecf20Sopenharmony_ci	  Say Y if you want to add audio support for various Snow
1878c2ecf20Sopenharmony_ci	  boards based on Exynos5 series of SoCs.
1888c2ecf20Sopenharmony_ci
1898c2ecf20Sopenharmony_ciconfig SND_SOC_ODROID
1908c2ecf20Sopenharmony_ci	tristate "Audio support for Odroid XU3/XU4"
1918c2ecf20Sopenharmony_ci	depends on SND_SOC_SAMSUNG && I2C
1928c2ecf20Sopenharmony_ci	select SND_SOC_MAX98090
1938c2ecf20Sopenharmony_ci	select SND_SAMSUNG_I2S
1948c2ecf20Sopenharmony_ci	help
1958c2ecf20Sopenharmony_ci	  Say Y here to enable audio support for the Odroid XU3/XU4.
1968c2ecf20Sopenharmony_ci
1978c2ecf20Sopenharmony_ciconfig SND_SOC_ARNDALE
1988c2ecf20Sopenharmony_ci	tristate "Audio support for Arndale Board"
1998c2ecf20Sopenharmony_ci	depends on I2C
2008c2ecf20Sopenharmony_ci	select SND_SAMSUNG_I2S
2018c2ecf20Sopenharmony_ci	select SND_SOC_RT5631
2028c2ecf20Sopenharmony_ci	select MFD_WM8994
2038c2ecf20Sopenharmony_ci	select SND_SOC_WM8994
2048c2ecf20Sopenharmony_ci
2058c2ecf20Sopenharmony_ciconfig SND_SOC_SAMSUNG_TM2_WM5110
2068c2ecf20Sopenharmony_ci	tristate "SoC I2S Audio support for WM5110 on TM2 board"
2078c2ecf20Sopenharmony_ci	depends on SND_SOC_SAMSUNG && MFD_ARIZONA && MFD_WM5110 && I2C && SPI_MASTER
2088c2ecf20Sopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
2098c2ecf20Sopenharmony_ci	select SND_SOC_MAX98504
2108c2ecf20Sopenharmony_ci	select SND_SOC_WM5110
2118c2ecf20Sopenharmony_ci	select SND_SAMSUNG_I2S
2128c2ecf20Sopenharmony_ci	help
2138c2ecf20Sopenharmony_ci	  Say Y if you want to add support for SoC audio on the TM2 board.
2148c2ecf20Sopenharmony_ci
2158c2ecf20Sopenharmony_ciconfig SND_SOC_SAMSUNG_ARIES_WM8994
2168c2ecf20Sopenharmony_ci	tristate "SoC I2S Audio support for WM8994 on Aries"
2178c2ecf20Sopenharmony_ci	depends on SND_SOC_SAMSUNG && MFD_WM8994 && IIO && EXTCON
2188c2ecf20Sopenharmony_ci	select SND_SOC_BT_SCO
2198c2ecf20Sopenharmony_ci	select SND_SOC_WM8994
2208c2ecf20Sopenharmony_ci	select SND_SAMSUNG_I2S
2218c2ecf20Sopenharmony_ci	help
2228c2ecf20Sopenharmony_ci	  Say Y if you want to add support for SoC audio on Aries boards,
2238c2ecf20Sopenharmony_ci	  which has a WM8994 codec connected to a BT codec, a cellular
2248c2ecf20Sopenharmony_ci	  modem, and the Samsung I2S controller.  Jack detection is done
2258c2ecf20Sopenharmony_ci	  via ADC, GPIOs, and an extcon device.  Switching between the Mic
2268c2ecf20Sopenharmony_ci	  and TV-Out path is also handled.
2278c2ecf20Sopenharmony_ci
2288c2ecf20Sopenharmony_ciconfig SND_SOC_SAMSUNG_MIDAS_WM1811
2298c2ecf20Sopenharmony_ci	tristate "SoC I2S Audio support for Midas boards"
2308c2ecf20Sopenharmony_ci	depends on SND_SOC_SAMSUNG
2318c2ecf20Sopenharmony_ci	select SND_SAMSUNG_I2S
2328c2ecf20Sopenharmony_ci	select SND_SOC_WM8994
2338c2ecf20Sopenharmony_ci	help
2348c2ecf20Sopenharmony_ci	  Say Y if you want to add support for SoC audio on the Midas boards.
2358c2ecf20Sopenharmony_ci
2368c2ecf20Sopenharmony_ciendif #SND_SOC_SAMSUNG
237