162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_cimenu "Allwinner SoC Audio support" 362306a36Sopenharmony_ci depends on ARCH_SUNXI || COMPILE_TEST 462306a36Sopenharmony_ci 562306a36Sopenharmony_ciconfig SND_SUN4I_CODEC 662306a36Sopenharmony_ci tristate "Allwinner A10 Codec Support" 762306a36Sopenharmony_ci select SND_SOC_GENERIC_DMAENGINE_PCM 862306a36Sopenharmony_ci select REGMAP_MMIO 962306a36Sopenharmony_ci help 1062306a36Sopenharmony_ci Select Y or M to add support for the Codec embedded in the Allwinner 1162306a36Sopenharmony_ci A10 and affiliated SoCs. 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ciconfig SND_SUN8I_CODEC 1462306a36Sopenharmony_ci tristate "Allwinner SUN8I audio codec" 1562306a36Sopenharmony_ci depends on OF 1662306a36Sopenharmony_ci depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST 1762306a36Sopenharmony_ci depends on COMMON_CLK 1862306a36Sopenharmony_ci select REGMAP_MMIO 1962306a36Sopenharmony_ci help 2062306a36Sopenharmony_ci This option enables the digital part of the internal audio codec for 2162306a36Sopenharmony_ci Allwinner sun8i SoC (and particularly A33). 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ci Say Y or M if you want to add sun8i digital audio codec support. 2462306a36Sopenharmony_ci 2562306a36Sopenharmony_ciconfig SND_SUN8I_CODEC_ANALOG 2662306a36Sopenharmony_ci tristate "Allwinner sun8i Codec Analog Controls Support" 2762306a36Sopenharmony_ci depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST 2862306a36Sopenharmony_ci select SND_SUN8I_ADDA_PR_REGMAP 2962306a36Sopenharmony_ci help 3062306a36Sopenharmony_ci Say Y or M if you want to add support for the analog controls for 3162306a36Sopenharmony_ci the codec embedded in newer Allwinner SoCs. 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_ciconfig SND_SUN50I_CODEC_ANALOG 3462306a36Sopenharmony_ci tristate "Allwinner sun50i Codec Analog Controls Support" 3562306a36Sopenharmony_ci depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST 3662306a36Sopenharmony_ci select SND_SUN8I_ADDA_PR_REGMAP 3762306a36Sopenharmony_ci help 3862306a36Sopenharmony_ci Say Y or M if you want to add support for the analog controls for 3962306a36Sopenharmony_ci the codec embedded in Allwinner A64 SoC. 4062306a36Sopenharmony_ci 4162306a36Sopenharmony_ciconfig SND_SUN4I_I2S 4262306a36Sopenharmony_ci tristate "Allwinner A10 I2S Support" 4362306a36Sopenharmony_ci select SND_SOC_GENERIC_DMAENGINE_PCM 4462306a36Sopenharmony_ci select REGMAP_MMIO 4562306a36Sopenharmony_ci help 4662306a36Sopenharmony_ci Say Y or M if you want to add support for codecs attached to 4762306a36Sopenharmony_ci the Allwinner A10 I2S. You will also need to select the 4862306a36Sopenharmony_ci individual machine drivers to support below. 4962306a36Sopenharmony_ci 5062306a36Sopenharmony_ciconfig SND_SUN4I_SPDIF 5162306a36Sopenharmony_ci tristate "Allwinner A10 SPDIF Support" 5262306a36Sopenharmony_ci depends on OF 5362306a36Sopenharmony_ci select SND_SOC_GENERIC_DMAENGINE_PCM 5462306a36Sopenharmony_ci select REGMAP_MMIO 5562306a36Sopenharmony_ci help 5662306a36Sopenharmony_ci Say Y or M to add support for the S/PDIF audio block in the Allwinner 5762306a36Sopenharmony_ci A10 and affiliated SoCs. 5862306a36Sopenharmony_ci 5962306a36Sopenharmony_ciconfig SND_SUN50I_DMIC 6062306a36Sopenharmony_ci tristate "Allwinner H6 DMIC Support" 6162306a36Sopenharmony_ci select SND_SOC_GENERIC_DMAENGINE_PCM 6262306a36Sopenharmony_ci help 6362306a36Sopenharmony_ci Say Y or M to add support for the DMIC audio block in the Allwinner 6462306a36Sopenharmony_ci H6 and affiliated SoCs. 6562306a36Sopenharmony_ci 6662306a36Sopenharmony_ciconfig SND_SUN8I_ADDA_PR_REGMAP 6762306a36Sopenharmony_ci tristate 6862306a36Sopenharmony_ci select REGMAP 6962306a36Sopenharmony_ci 7062306a36Sopenharmony_ciendmenu 71