1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only 2*4882a593Smuzhiyunmenu "Allwinner SoC Audio support" 3*4882a593Smuzhiyun depends on ARCH_SUNXI || COMPILE_TEST 4*4882a593Smuzhiyun 5*4882a593Smuzhiyunconfig SND_SUN4I_CODEC 6*4882a593Smuzhiyun tristate "Allwinner A10 Codec Support" 7*4882a593Smuzhiyun select SND_SOC_GENERIC_DMAENGINE_PCM 8*4882a593Smuzhiyun select REGMAP_MMIO 9*4882a593Smuzhiyun help 10*4882a593Smuzhiyun Select Y or M to add support for the Codec embedded in the Allwinner 11*4882a593Smuzhiyun A10 and affiliated SoCs. 12*4882a593Smuzhiyun 13*4882a593Smuzhiyunconfig SND_SUN8I_CODEC 14*4882a593Smuzhiyun tristate "Allwinner SUN8I audio codec" 15*4882a593Smuzhiyun depends on OF 16*4882a593Smuzhiyun depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST 17*4882a593Smuzhiyun select REGMAP_MMIO 18*4882a593Smuzhiyun help 19*4882a593Smuzhiyun This option enables the digital part of the internal audio codec for 20*4882a593Smuzhiyun Allwinner sun8i SoC (and particularly A33). 21*4882a593Smuzhiyun 22*4882a593Smuzhiyun Say Y or M if you want to add sun8i digital audio codec support. 23*4882a593Smuzhiyun 24*4882a593Smuzhiyunconfig SND_SUN8I_CODEC_ANALOG 25*4882a593Smuzhiyun tristate "Allwinner sun8i Codec Analog Controls Support" 26*4882a593Smuzhiyun depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST 27*4882a593Smuzhiyun select SND_SUN8I_ADDA_PR_REGMAP 28*4882a593Smuzhiyun help 29*4882a593Smuzhiyun Say Y or M if you want to add support for the analog controls for 30*4882a593Smuzhiyun the codec embedded in newer Allwinner SoCs. 31*4882a593Smuzhiyun 32*4882a593Smuzhiyunconfig SND_SUN50I_CODEC_ANALOG 33*4882a593Smuzhiyun tristate "Allwinner sun50i Codec Analog Controls Support" 34*4882a593Smuzhiyun depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST 35*4882a593Smuzhiyun select SND_SUN8I_ADDA_PR_REGMAP 36*4882a593Smuzhiyun help 37*4882a593Smuzhiyun Say Y or M if you want to add support for the analog controls for 38*4882a593Smuzhiyun the codec embedded in Allwinner A64 SoC. 39*4882a593Smuzhiyun 40*4882a593Smuzhiyunconfig SND_SUN4I_I2S 41*4882a593Smuzhiyun tristate "Allwinner A10 I2S Support" 42*4882a593Smuzhiyun select SND_SOC_GENERIC_DMAENGINE_PCM 43*4882a593Smuzhiyun select REGMAP_MMIO 44*4882a593Smuzhiyun help 45*4882a593Smuzhiyun Say Y or M if you want to add support for codecs attached to 46*4882a593Smuzhiyun the Allwinner A10 I2S. You will also need to select the 47*4882a593Smuzhiyun individual machine drivers to support below. 48*4882a593Smuzhiyun 49*4882a593Smuzhiyunconfig SND_SUN4I_SPDIF 50*4882a593Smuzhiyun tristate "Allwinner A10 SPDIF Support" 51*4882a593Smuzhiyun depends on OF 52*4882a593Smuzhiyun select SND_SOC_GENERIC_DMAENGINE_PCM 53*4882a593Smuzhiyun select REGMAP_MMIO 54*4882a593Smuzhiyun help 55*4882a593Smuzhiyun Say Y or M to add support for the S/PDIF audio block in the Allwinner 56*4882a593Smuzhiyun A10 and affiliated SoCs. 57*4882a593Smuzhiyun 58*4882a593Smuzhiyunconfig SND_SUN8I_ADDA_PR_REGMAP 59*4882a593Smuzhiyun tristate 60*4882a593Smuzhiyun select REGMAP 61*4882a593Smuzhiyun 62*4882a593Smuzhiyunendmenu 63