2019-05-19 05:07:45 -07:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2015-09-12 06:26:24 -07:00
|
|
|
menu "Allwinner SoC Audio support"
|
2016-08-23 10:17:46 -07:00
|
|
|
depends on ARCH_SUNXI || COMPILE_TEST
|
2015-09-12 06:26:24 -07:00
|
|
|
|
|
|
|
config SND_SUN4I_CODEC
|
|
|
|
tristate "Allwinner A10 Codec Support"
|
|
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM
|
|
|
|
select REGMAP_MMIO
|
|
|
|
help
|
|
|
|
Select Y or M to add support for the Codec embedded in the Allwinner
|
|
|
|
A10 and affiliated SoCs.
|
|
|
|
|
2017-02-02 02:24:17 -07:00
|
|
|
config SND_SUN8I_CODEC
|
|
|
|
tristate "Allwinner SUN8I audio codec"
|
|
|
|
depends on OF
|
2018-10-17 00:38:10 -07:00
|
|
|
depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST
|
2020-11-18 13:14:20 -07:00
|
|
|
depends on COMMON_CLK
|
2017-02-02 02:24:17 -07:00
|
|
|
select REGMAP_MMIO
|
|
|
|
help
|
|
|
|
This option enables the digital part of the internal audio codec for
|
|
|
|
Allwinner sun8i SoC (and particularly A33).
|
|
|
|
|
|
|
|
Say Y or M if you want to add sun8i digital audio codec support.
|
|
|
|
|
2016-11-11 23:46:40 -07:00
|
|
|
config SND_SUN8I_CODEC_ANALOG
|
|
|
|
tristate "Allwinner sun8i Codec Analog Controls Support"
|
2017-02-07 11:30:40 -07:00
|
|
|
depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST
|
2018-10-17 00:38:07 -07:00
|
|
|
select SND_SUN8I_ADDA_PR_REGMAP
|
2016-11-11 23:46:40 -07:00
|
|
|
help
|
|
|
|
Say Y or M if you want to add support for the analog controls for
|
|
|
|
the codec embedded in newer Allwinner SoCs.
|
|
|
|
|
2018-10-17 00:38:09 -07:00
|
|
|
config SND_SUN50I_CODEC_ANALOG
|
|
|
|
tristate "Allwinner sun50i Codec Analog Controls Support"
|
|
|
|
depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
|
2018-11-02 21:26:51 -07:00
|
|
|
select SND_SUN8I_ADDA_PR_REGMAP
|
2018-10-17 00:38:09 -07:00
|
|
|
help
|
|
|
|
Say Y or M if you want to add support for the analog controls for
|
|
|
|
the codec embedded in Allwinner A64 SoC.
|
|
|
|
|
2016-06-15 14:11:21 -07:00
|
|
|
config SND_SUN4I_I2S
|
|
|
|
tristate "Allwinner A10 I2S Support"
|
|
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM
|
|
|
|
select REGMAP_MMIO
|
|
|
|
help
|
|
|
|
Say Y or 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.
|
|
|
|
|
2016-02-08 10:09:21 -07:00
|
|
|
config SND_SUN4I_SPDIF
|
|
|
|
tristate "Allwinner A10 SPDIF Support"
|
|
|
|
depends on OF
|
|
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM
|
|
|
|
select REGMAP_MMIO
|
|
|
|
help
|
|
|
|
Say Y or M to add support for the S/PDIF audio block in the Allwinner
|
|
|
|
A10 and affiliated SoCs.
|
2018-10-17 00:38:07 -07:00
|
|
|
|
2022-09-11 23:45:33 -07:00
|
|
|
config SND_SUN50I_DMIC
|
|
|
|
tristate "Allwinner H6 DMIC Support"
|
|
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM
|
|
|
|
help
|
|
|
|
Say Y or M to add support for the DMIC audio block in the Allwinner
|
|
|
|
H6 and affiliated SoCs.
|
|
|
|
|
2018-10-17 00:38:07 -07:00
|
|
|
config SND_SUN8I_ADDA_PR_REGMAP
|
|
|
|
tristate
|
|
|
|
select REGMAP
|
|
|
|
|
2015-09-12 06:26:24 -07:00
|
|
|
endmenu
|