18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_cimenu "Allwinner SoC Audio support" 38c2ecf20Sopenharmony_ci depends on ARCH_SUNXI || COMPILE_TEST 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ciconfig SND_SUN4I_CODEC 68c2ecf20Sopenharmony_ci tristate "Allwinner A10 Codec Support" 78c2ecf20Sopenharmony_ci select SND_SOC_GENERIC_DMAENGINE_PCM 88c2ecf20Sopenharmony_ci select REGMAP_MMIO 98c2ecf20Sopenharmony_ci help 108c2ecf20Sopenharmony_ci Select Y or M to add support for the Codec embedded in the Allwinner 118c2ecf20Sopenharmony_ci A10 and affiliated SoCs. 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciconfig SND_SUN8I_CODEC 148c2ecf20Sopenharmony_ci tristate "Allwinner SUN8I audio codec" 158c2ecf20Sopenharmony_ci depends on OF 168c2ecf20Sopenharmony_ci depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST 178c2ecf20Sopenharmony_ci select REGMAP_MMIO 188c2ecf20Sopenharmony_ci help 198c2ecf20Sopenharmony_ci This option enables the digital part of the internal audio codec for 208c2ecf20Sopenharmony_ci Allwinner sun8i SoC (and particularly A33). 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci Say Y or M if you want to add sun8i digital audio codec support. 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ciconfig SND_SUN8I_CODEC_ANALOG 258c2ecf20Sopenharmony_ci tristate "Allwinner sun8i Codec Analog Controls Support" 268c2ecf20Sopenharmony_ci depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST 278c2ecf20Sopenharmony_ci select SND_SUN8I_ADDA_PR_REGMAP 288c2ecf20Sopenharmony_ci help 298c2ecf20Sopenharmony_ci Say Y or M if you want to add support for the analog controls for 308c2ecf20Sopenharmony_ci the codec embedded in newer Allwinner SoCs. 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ciconfig SND_SUN50I_CODEC_ANALOG 338c2ecf20Sopenharmony_ci tristate "Allwinner sun50i Codec Analog Controls Support" 348c2ecf20Sopenharmony_ci depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST 358c2ecf20Sopenharmony_ci select SND_SUN8I_ADDA_PR_REGMAP 368c2ecf20Sopenharmony_ci help 378c2ecf20Sopenharmony_ci Say Y or M if you want to add support for the analog controls for 388c2ecf20Sopenharmony_ci the codec embedded in Allwinner A64 SoC. 398c2ecf20Sopenharmony_ci 408c2ecf20Sopenharmony_ciconfig SND_SUN4I_I2S 418c2ecf20Sopenharmony_ci tristate "Allwinner A10 I2S Support" 428c2ecf20Sopenharmony_ci select SND_SOC_GENERIC_DMAENGINE_PCM 438c2ecf20Sopenharmony_ci select REGMAP_MMIO 448c2ecf20Sopenharmony_ci help 458c2ecf20Sopenharmony_ci Say Y or M if you want to add support for codecs attached to 468c2ecf20Sopenharmony_ci the Allwinner A10 I2S. You will also need to select the 478c2ecf20Sopenharmony_ci individual machine drivers to support below. 488c2ecf20Sopenharmony_ci 498c2ecf20Sopenharmony_ciconfig SND_SUN4I_SPDIF 508c2ecf20Sopenharmony_ci tristate "Allwinner A10 SPDIF Support" 518c2ecf20Sopenharmony_ci depends on OF 528c2ecf20Sopenharmony_ci select SND_SOC_GENERIC_DMAENGINE_PCM 538c2ecf20Sopenharmony_ci select REGMAP_MMIO 548c2ecf20Sopenharmony_ci help 558c2ecf20Sopenharmony_ci Say Y or M to add support for the S/PDIF audio block in the Allwinner 568c2ecf20Sopenharmony_ci A10 and affiliated SoCs. 578c2ecf20Sopenharmony_ci 588c2ecf20Sopenharmony_ciconfig SND_SUN8I_ADDA_PR_REGMAP 598c2ecf20Sopenharmony_ci tristate 608c2ecf20Sopenharmony_ci select REGMAP 618c2ecf20Sopenharmony_ci 628c2ecf20Sopenharmony_ciendmenu 63