162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_cimenuconfig SND_SOC_SAMSUNG 362306a36Sopenharmony_ci tristate "ASoC support for Samsung" 462306a36Sopenharmony_ci depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST 562306a36Sopenharmony_ci depends on COMMON_CLK 662306a36Sopenharmony_ci select SND_SOC_GENERIC_DMAENGINE_PCM 762306a36Sopenharmony_ci help 862306a36Sopenharmony_ci Say Y or M if you want to add support for codecs attached to 962306a36Sopenharmony_ci the Samsung SoCs' Audio interfaces. You will also need to 1062306a36Sopenharmony_ci select the audio interfaces to support below. 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ciif SND_SOC_SAMSUNG 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ciconfig SND_SAMSUNG_PCM 1562306a36Sopenharmony_ci tristate "Samsung PCM interface support" 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ciconfig SND_SAMSUNG_SPDIF 1862306a36Sopenharmony_ci tristate "Samsung SPDIF transmitter support" 1962306a36Sopenharmony_ci select SND_SOC_SPDIF 2062306a36Sopenharmony_ci 2162306a36Sopenharmony_ciconfig SND_SAMSUNG_I2S 2262306a36Sopenharmony_ci tristate "Samsung I2S interface support" 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_ciconfig SND_SOC_SAMSUNG_SMDK_WM8994 2562306a36Sopenharmony_ci tristate "SoC I2S Audio support for WM8994 on SMDK" 2662306a36Sopenharmony_ci depends on I2C=y 2762306a36Sopenharmony_ci select MFD_WM8994 2862306a36Sopenharmony_ci select SND_SOC_WM8994 2962306a36Sopenharmony_ci select SND_SAMSUNG_I2S 3062306a36Sopenharmony_ci help 3162306a36Sopenharmony_ci Say Y if you want to add support for SoC audio on the SMDKs. 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_ciconfig SND_SOC_SAMSUNG_SMDK_SPDIF 3462306a36Sopenharmony_ci tristate "SoC S/PDIF Audio support for SMDK" 3562306a36Sopenharmony_ci select SND_SAMSUNG_SPDIF 3662306a36Sopenharmony_ci help 3762306a36Sopenharmony_ci Say Y if you want to add support for SoC S/PDIF audio on the SMDK. 3862306a36Sopenharmony_ci 3962306a36Sopenharmony_ciconfig SND_SOC_SMDK_WM8994_PCM 4062306a36Sopenharmony_ci tristate "SoC PCM Audio support for WM8994 on SMDK" 4162306a36Sopenharmony_ci depends on I2C=y 4262306a36Sopenharmony_ci select MFD_WM8994 4362306a36Sopenharmony_ci select SND_SOC_WM8994 4462306a36Sopenharmony_ci select SND_SAMSUNG_PCM 4562306a36Sopenharmony_ci help 4662306a36Sopenharmony_ci Say Y if you want to add support for SoC audio on the SMDK 4762306a36Sopenharmony_ci 4862306a36Sopenharmony_ciconfig SND_SOC_SPEYSIDE 4962306a36Sopenharmony_ci tristate "Audio support for Wolfson Speyside" 5062306a36Sopenharmony_ci depends on I2C && SPI_MASTER 5162306a36Sopenharmony_ci depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST 5262306a36Sopenharmony_ci select SND_SAMSUNG_I2S 5362306a36Sopenharmony_ci select SND_SOC_WM8996 5462306a36Sopenharmony_ci select SND_SOC_WM9081 5562306a36Sopenharmony_ci select SND_SOC_WM0010 5662306a36Sopenharmony_ci select SND_SOC_WM1250_EV1 5762306a36Sopenharmony_ci 5862306a36Sopenharmony_ciconfig SND_SOC_TOBERMORY 5962306a36Sopenharmony_ci tristate "Audio support for Wolfson Tobermory" 6062306a36Sopenharmony_ci depends on INPUT && I2C 6162306a36Sopenharmony_ci depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST 6262306a36Sopenharmony_ci select SND_SAMSUNG_I2S 6362306a36Sopenharmony_ci select SND_SOC_WM8962 6462306a36Sopenharmony_ci 6562306a36Sopenharmony_ciconfig SND_SOC_BELLS 6662306a36Sopenharmony_ci tristate "Audio support for Wolfson Bells" 6762306a36Sopenharmony_ci depends on MFD_ARIZONA && MFD_WM5102 && MFD_WM5110 && I2C && SPI_MASTER 6862306a36Sopenharmony_ci depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST 6962306a36Sopenharmony_ci select SND_SAMSUNG_I2S 7062306a36Sopenharmony_ci select SND_SOC_WM5102 7162306a36Sopenharmony_ci select SND_SOC_WM5110 7262306a36Sopenharmony_ci select SND_SOC_WM9081 7362306a36Sopenharmony_ci select SND_SOC_WM0010 7462306a36Sopenharmony_ci select SND_SOC_WM1250_EV1 7562306a36Sopenharmony_ci 7662306a36Sopenharmony_ciconfig SND_SOC_LOWLAND 7762306a36Sopenharmony_ci tristate "Audio support for Wolfson Lowland" 7862306a36Sopenharmony_ci depends on I2C 7962306a36Sopenharmony_ci depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST 8062306a36Sopenharmony_ci select SND_SAMSUNG_I2S 8162306a36Sopenharmony_ci select SND_SOC_WM5100 8262306a36Sopenharmony_ci select SND_SOC_WM9081 8362306a36Sopenharmony_ci 8462306a36Sopenharmony_ciconfig SND_SOC_LITTLEMILL 8562306a36Sopenharmony_ci tristate "Audio support for Wolfson Littlemill" 8662306a36Sopenharmony_ci depends on I2C 8762306a36Sopenharmony_ci depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST 8862306a36Sopenharmony_ci select SND_SAMSUNG_I2S 8962306a36Sopenharmony_ci select MFD_WM8994 9062306a36Sopenharmony_ci select SND_SOC_WM8994 9162306a36Sopenharmony_ci 9262306a36Sopenharmony_ciconfig SND_SOC_SNOW 9362306a36Sopenharmony_ci tristate "Audio support for Google Snow boards" 9462306a36Sopenharmony_ci depends on I2C 9562306a36Sopenharmony_ci select SND_SOC_MAX98090 9662306a36Sopenharmony_ci select SND_SOC_MAX98095 9762306a36Sopenharmony_ci select SND_SAMSUNG_I2S 9862306a36Sopenharmony_ci help 9962306a36Sopenharmony_ci Say Y if you want to add audio support for various Snow 10062306a36Sopenharmony_ci boards based on Exynos5 series of SoCs. 10162306a36Sopenharmony_ci 10262306a36Sopenharmony_ciconfig SND_SOC_ODROID 10362306a36Sopenharmony_ci tristate "Audio support for Odroid XU3/XU4" 10462306a36Sopenharmony_ci depends on SND_SOC_SAMSUNG && I2C 10562306a36Sopenharmony_ci select SND_SOC_MAX98090 10662306a36Sopenharmony_ci select SND_SAMSUNG_I2S 10762306a36Sopenharmony_ci help 10862306a36Sopenharmony_ci Say Y here to enable audio support for the Odroid XU3/XU4. 10962306a36Sopenharmony_ci 11062306a36Sopenharmony_ciconfig SND_SOC_ARNDALE 11162306a36Sopenharmony_ci tristate "Audio support for Arndale Board" 11262306a36Sopenharmony_ci depends on I2C 11362306a36Sopenharmony_ci select SND_SAMSUNG_I2S 11462306a36Sopenharmony_ci select SND_SOC_RT5631 11562306a36Sopenharmony_ci select MFD_WM8994 11662306a36Sopenharmony_ci select SND_SOC_WM8994 11762306a36Sopenharmony_ci 11862306a36Sopenharmony_ciconfig SND_SOC_SAMSUNG_TM2_WM5110 11962306a36Sopenharmony_ci tristate "SoC I2S Audio support for WM5110 on TM2 board" 12062306a36Sopenharmony_ci depends on SND_SOC_SAMSUNG && MFD_ARIZONA && MFD_WM5110 && I2C && SPI_MASTER 12162306a36Sopenharmony_ci depends on GPIOLIB || COMPILE_TEST 12262306a36Sopenharmony_ci select SND_SOC_MAX98504 12362306a36Sopenharmony_ci select SND_SOC_WM5110 12462306a36Sopenharmony_ci select SND_SAMSUNG_I2S 12562306a36Sopenharmony_ci help 12662306a36Sopenharmony_ci Say Y if you want to add support for SoC audio on the TM2 board. 12762306a36Sopenharmony_ci 12862306a36Sopenharmony_ciconfig SND_SOC_SAMSUNG_ARIES_WM8994 12962306a36Sopenharmony_ci tristate "SoC I2S Audio support for WM8994 on Aries" 13062306a36Sopenharmony_ci depends on SND_SOC_SAMSUNG && MFD_WM8994 && IIO && EXTCON 13162306a36Sopenharmony_ci select SND_SOC_BT_SCO 13262306a36Sopenharmony_ci select SND_SOC_WM8994 13362306a36Sopenharmony_ci select SND_SAMSUNG_I2S 13462306a36Sopenharmony_ci help 13562306a36Sopenharmony_ci Say Y if you want to add support for SoC audio on Aries boards, 13662306a36Sopenharmony_ci which has a WM8994 codec connected to a BT codec, a cellular 13762306a36Sopenharmony_ci modem, and the Samsung I2S controller. Jack detection is done 13862306a36Sopenharmony_ci via ADC, GPIOs, and an extcon device. Switching between the Mic 13962306a36Sopenharmony_ci and TV-Out path is also handled. 14062306a36Sopenharmony_ci 14162306a36Sopenharmony_ciconfig SND_SOC_SAMSUNG_MIDAS_WM1811 14262306a36Sopenharmony_ci tristate "SoC I2S Audio support for Midas boards" 14362306a36Sopenharmony_ci depends on SND_SOC_SAMSUNG 14462306a36Sopenharmony_ci select SND_SAMSUNG_I2S 14562306a36Sopenharmony_ci select SND_SOC_WM8994 14662306a36Sopenharmony_ci help 14762306a36Sopenharmony_ci Say Y if you want to add support for SoC audio on the Midas boards. 14862306a36Sopenharmony_ci 14962306a36Sopenharmony_ciendif #SND_SOC_SAMSUNG 150