71 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2menu "Allwinner SoC Audio support"3 depends on ARCH_SUNXI || COMPILE_TEST4 5config SND_SUN4I_CODEC6 tristate "Allwinner A10 Codec Support"7 select SND_SOC_GENERIC_DMAENGINE_PCM8 select REGMAP_MMIO9 help10 Select Y or M to add support for the Codec embedded in the Allwinner11 A10 and affiliated SoCs.12 13config SND_SUN8I_CODEC14 tristate "Allwinner SUN8I audio codec"15 depends on OF16 depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST17 depends on COMMON_CLK18 select REGMAP_MMIO19 help20 This option enables the digital part of the internal audio codec for21 Allwinner sun8i SoC (and particularly A33).22 23 Say Y or M if you want to add sun8i digital audio codec support.24 25config SND_SUN8I_CODEC_ANALOG26 tristate "Allwinner sun8i Codec Analog Controls Support"27 depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST28 select SND_SUN8I_ADDA_PR_REGMAP29 help30 Say Y or M if you want to add support for the analog controls for31 the codec embedded in newer Allwinner SoCs.32 33config SND_SUN50I_CODEC_ANALOG34 tristate "Allwinner sun50i Codec Analog Controls Support"35 depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST36 select SND_SUN8I_ADDA_PR_REGMAP37 help38 Say Y or M if you want to add support for the analog controls for39 the codec embedded in Allwinner A64 SoC.40 41config SND_SUN4I_I2S42 tristate "Allwinner A10 I2S Support"43 select SND_SOC_GENERIC_DMAENGINE_PCM44 select REGMAP_MMIO45 help46 Say Y or M if you want to add support for codecs attached to47 the Allwinner A10 I2S. You will also need to select the48 individual machine drivers to support below.49 50config SND_SUN4I_SPDIF51 tristate "Allwinner A10 SPDIF Support"52 depends on OF53 select SND_SOC_GENERIC_DMAENGINE_PCM54 select REGMAP_MMIO55 help56 Say Y or M to add support for the S/PDIF audio block in the Allwinner57 A10 and affiliated SoCs.58 59config SND_SUN50I_DMIC60 tristate "Allwinner H6 DMIC Support"61 select SND_SOC_GENERIC_DMAENGINE_PCM62 help63 Say Y or M to add support for the DMIC audio block in the Allwinner64 H6 and affiliated SoCs.65 66config SND_SUN8I_ADDA_PR_REGMAP67 tristate68 select REGMAP69 70endmenu71