Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# SPDX-License-Identifier: GPL-2.0-only
menu "Allwinner SoC Audio support"
	depends on CONFIG_ARCH_SUNXI || CONFIG_COMPILE_TEST

config CONFIG_SND_SUN4I_CODEC
	tristate "Allwinner A10 Codec Support"
	select CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM
	select CONFIG_REGMAP_MMIO
	help
	  Select Y or CONFIG_M to add support for the Codec embedded in the Allwinner
	  A10 and affiliated SoCs.

config CONFIG_SND_SUN8I_CODEC
	tristate "Allwinner SUN8I audio codec"
	depends on CONFIG_OF
	depends on CONFIG_MACH_SUN8I || (CONFIG_ARM64 && CONFIG_ARCH_SUNXI) || CONFIG_COMPILE_TEST
	select CONFIG_REGMAP_MMIO
	help
	  This option enables the digital part of the internal audio codec for
	  Allwinner sun8i SoC (and particularly A33).

	  Say Y or CONFIG_M if you want to add sun8i digital audio codec support.

config CONFIG_SND_SUN8I_CODEC_ANALOG
	tristate "Allwinner sun8i Codec Analog Controls Support"
	depends on CONFIG_MACH_SUN8I || (CONFIG_ARM64 && CONFIG_ARCH_SUNXI) || CONFIG_COMPILE_TEST
	select CONFIG_SND_SUN8I_ADDA_PR_REGMAP
	help
	  Say Y or CONFIG_M if you want to add support for the analog controls for
	  the codec embedded in newer Allwinner SoCs.

config CONFIG_SND_SUN50I_CODEC_ANALOG
	tristate "Allwinner sun50i Codec Analog Controls Support"
	depends on (CONFIG_ARM64 && CONFIG_ARCH_SUNXI) || CONFIG_COMPILE_TEST
	select CONFIG_SND_SUN8I_ADDA_PR_REGMAP
	help
	  Say Y or CONFIG_M if you want to add support for the analog controls for
	  the codec embedded in Allwinner A64 SoC.

config CONFIG_SND_SUN4I_I2S
	tristate "Allwinner A10 I2S Support"
	select CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM
	select CONFIG_REGMAP_MMIO
	help
	  Say Y or CONFIG_M if you want to add support for codecs attached to
	  the Allwinner A10 I2S. You will also need to select the
	  individual machine drivers to support below.

config CONFIG_SND_SUN4I_SPDIF
	tristate "Allwinner A10 SPDIF Support"
	depends on CONFIG_OF
	select CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM
	select CONFIG_REGMAP_MMIO
	help
	  Say Y or CONFIG_M to add support for the S/PDIF audio block in the Allwinner
	  A10 and affiliated SoCs.

config CONFIG_SND_SUN8I_ADDA_PR_REGMAP
	tristate
	select CONFIG_REGMAP

endmenu