| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | menu "Allwinner SoC Audio support" |
|---|
| 2 | 3 | depends on ARCH_SUNXI || COMPILE_TEST |
|---|
| 3 | 4 | |
|---|
| .. | .. |
|---|
| 12 | 13 | config SND_SUN8I_CODEC |
|---|
| 13 | 14 | tristate "Allwinner SUN8I audio codec" |
|---|
| 14 | 15 | depends on OF |
|---|
| 15 | | - depends on MACH_SUN8I || COMPILE_TEST |
|---|
| 16 | + depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST |
|---|
| 16 | 17 | select REGMAP_MMIO |
|---|
| 17 | 18 | help |
|---|
| 18 | 19 | This option enables the digital part of the internal audio codec for |
|---|
| .. | .. |
|---|
| 23 | 24 | config SND_SUN8I_CODEC_ANALOG |
|---|
| 24 | 25 | tristate "Allwinner sun8i Codec Analog Controls Support" |
|---|
| 25 | 26 | depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST |
|---|
| 26 | | - select REGMAP |
|---|
| 27 | + select SND_SUN8I_ADDA_PR_REGMAP |
|---|
| 27 | 28 | help |
|---|
| 28 | 29 | Say Y or M if you want to add support for the analog controls for |
|---|
| 29 | 30 | the codec embedded in newer Allwinner SoCs. |
|---|
| 31 | + |
|---|
| 32 | +config SND_SUN50I_CODEC_ANALOG |
|---|
| 33 | + tristate "Allwinner sun50i Codec Analog Controls Support" |
|---|
| 34 | + depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST |
|---|
| 35 | + select SND_SUN8I_ADDA_PR_REGMAP |
|---|
| 36 | + help |
|---|
| 37 | + Say Y or M if you want to add support for the analog controls for |
|---|
| 38 | + the codec embedded in Allwinner A64 SoC. |
|---|
| 30 | 39 | |
|---|
| 31 | 40 | config SND_SUN4I_I2S |
|---|
| 32 | 41 | tristate "Allwinner A10 I2S Support" |
|---|
| .. | .. |
|---|
| 45 | 54 | help |
|---|
| 46 | 55 | Say Y or M to add support for the S/PDIF audio block in the Allwinner |
|---|
| 47 | 56 | A10 and affiliated SoCs. |
|---|
| 57 | + |
|---|
| 58 | +config SND_SUN8I_ADDA_PR_REGMAP |
|---|
| 59 | + tristate |
|---|
| 60 | + select REGMAP |
|---|
| 61 | + |
|---|
| 48 | 62 | endmenu |
|---|