1 # SPDX-License-Identifier: GPL-2.0-only 1 # SPDX-License-Identifier: GPL-2.0-only 2 menu "Allwinner SoC Audio support" 2 menu "Allwinner SoC Audio support" 3 depends on ARCH_SUNXI || COMPILE_TEST 3 depends on ARCH_SUNXI || COMPILE_TEST 4 4 5 config SND_SUN4I_CODEC 5 config SND_SUN4I_CODEC 6 tristate "Allwinner A10 Codec Support" 6 tristate "Allwinner A10 Codec Support" 7 select SND_SOC_GENERIC_DMAENGINE_PCM 7 select SND_SOC_GENERIC_DMAENGINE_PCM 8 select REGMAP_MMIO 8 select REGMAP_MMIO 9 help 9 help 10 Select Y or M to add support for the 10 Select Y or M to add support for the Codec embedded in the Allwinner 11 A10 and affiliated SoCs. 11 A10 and affiliated SoCs. 12 12 13 config SND_SUN8I_CODEC 13 config SND_SUN8I_CODEC 14 tristate "Allwinner SUN8I audio codec" 14 tristate "Allwinner SUN8I audio codec" 15 depends on OF 15 depends on OF 16 depends on MACH_SUN8I || (ARM64 && ARC 16 depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST 17 depends on COMMON_CLK 17 depends on COMMON_CLK 18 select REGMAP_MMIO 18 select REGMAP_MMIO 19 help 19 help 20 This option enables the digital part 20 This option enables the digital part of the internal audio codec for 21 Allwinner sun8i SoC (and particularl 21 Allwinner sun8i SoC (and particularly A33). 22 22 23 Say Y or M if you want to add sun8i 23 Say Y or M if you want to add sun8i digital audio codec support. 24 24 25 config SND_SUN8I_CODEC_ANALOG 25 config SND_SUN8I_CODEC_ANALOG 26 tristate "Allwinner sun8i Codec Analog 26 tristate "Allwinner sun8i Codec Analog Controls Support" 27 depends on MACH_SUN8I || (ARM64 && ARC 27 depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST 28 select SND_SUN8I_ADDA_PR_REGMAP 28 select SND_SUN8I_ADDA_PR_REGMAP 29 help 29 help 30 Say Y or M if you want to add suppor 30 Say Y or M if you want to add support for the analog controls for 31 the codec embedded in newer Allwinne 31 the codec embedded in newer Allwinner SoCs. 32 32 33 config SND_SUN50I_CODEC_ANALOG 33 config SND_SUN50I_CODEC_ANALOG 34 tristate "Allwinner sun50i Codec Analo 34 tristate "Allwinner sun50i Codec Analog Controls Support" 35 depends on (ARM64 && ARCH_SUNXI) || CO 35 depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST 36 select SND_SUN8I_ADDA_PR_REGMAP 36 select SND_SUN8I_ADDA_PR_REGMAP 37 help 37 help 38 Say Y or M if you want to add suppor 38 Say Y or M if you want to add support for the analog controls for 39 the codec embedded in Allwinner A64 39 the codec embedded in Allwinner A64 SoC. 40 40 41 config SND_SUN4I_I2S 41 config SND_SUN4I_I2S 42 tristate "Allwinner A10 I2S Support" 42 tristate "Allwinner A10 I2S Support" 43 select SND_SOC_GENERIC_DMAENGINE_PCM 43 select SND_SOC_GENERIC_DMAENGINE_PCM 44 select REGMAP_MMIO 44 select REGMAP_MMIO 45 help 45 help 46 Say Y or M if you want to add suppor 46 Say Y or M if you want to add support for codecs attached to 47 the Allwinner A10 I2S. You will also 47 the Allwinner A10 I2S. You will also need to select the 48 individual machine drivers to suppor 48 individual machine drivers to support below. 49 49 50 config SND_SUN4I_SPDIF 50 config SND_SUN4I_SPDIF 51 tristate "Allwinner A10 SPDIF Support" 51 tristate "Allwinner A10 SPDIF Support" 52 depends on OF 52 depends on OF 53 select SND_SOC_GENERIC_DMAENGINE_PCM 53 select SND_SOC_GENERIC_DMAENGINE_PCM 54 select REGMAP_MMIO 54 select REGMAP_MMIO 55 help 55 help 56 Say Y or M to add support for the S/ 56 Say Y or M to add support for the S/PDIF audio block in the Allwinner 57 A10 and affiliated SoCs. 57 A10 and affiliated SoCs. 58 58 59 config SND_SUN50I_DMIC 59 config SND_SUN50I_DMIC 60 tristate "Allwinner H6 DMIC Support" 60 tristate "Allwinner H6 DMIC Support" 61 select SND_SOC_GENERIC_DMAENGINE_PCM 61 select SND_SOC_GENERIC_DMAENGINE_PCM 62 help 62 help 63 Say Y or M to add support for the DM 63 Say Y or M to add support for the DMIC audio block in the Allwinner 64 H6 and affiliated SoCs. 64 H6 and affiliated SoCs. 65 65 66 config SND_SUN8I_ADDA_PR_REGMAP 66 config SND_SUN8I_ADDA_PR_REGMAP 67 tristate 67 tristate 68 select REGMAP 68 select REGMAP 69 69 70 endmenu 70 endmenu
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.