summaryrefslogtreecommitdiff
path: root/sound/soc/sunxi/Kconfig
diff options
context:
space:
mode:
authorMylène Josserand <mylene.josserand@free-electrons.com>2017-02-02 12:24:17 +0300
committerMark Brown <broonie@kernel.org>2017-02-03 15:02:06 +0300
commit36c684936fae7ed97a4816de6006d127d1854a5a (patch)
tree58d4b6208b7be00aee214d2f1e8fce5543ecb31d /sound/soc/sunxi/Kconfig
parentbf14da7e55169964a1e6f35dc9d7428dc9e9013c (diff)
downloadlinux-36c684936fae7ed97a4816de6006d127d1854a5a.tar.xz
ASoC: Add sun8i digital audio codec
Add the sun8i audio codec which handles the digital register of A33 codec. The driver handles only the basic playback from the DAC to headphones. All other features (microphone, capture, etc) will be added later. Signed-off-by: Mylène Josserand <mylene.josserand@free-electrons.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sunxi/Kconfig')
-rw-r--r--sound/soc/sunxi/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/sound/soc/sunxi/Kconfig b/sound/soc/sunxi/Kconfig
index 6c344e16aca4..13a8267f17c7 100644
--- a/sound/soc/sunxi/Kconfig
+++ b/sound/soc/sunxi/Kconfig
@@ -9,6 +9,17 @@ config SND_SUN4I_CODEC
Select Y or M to add support for the Codec embedded in the Allwinner
A10 and affiliated SoCs.
+config SND_SUN8I_CODEC
+ tristate "Allwinner SUN8I audio codec"
+ depends on OF
+ depends on MACH_SUN8I || COMPILE_TEST
+ 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.
+
config SND_SUN8I_CODEC_ANALOG
tristate "Allwinner sun8i Codec Analog Controls Support"
depends on MACH_SUN8I || COMPILE_TEST