summaryrefslogtreecommitdiff
path: root/sound/soc/sunxi/Kconfig
diff options
context:
space:
mode:
authorEmilio López <emilio@elopez.com.ar>2015-09-12 16:26:24 +0300
committerMark Brown <broonie@kernel.org>2015-09-16 22:18:45 +0300
commit45fb6b6f2aa3f6b22b81078db0dba4b26c9d0bdb (patch)
tree29391f7f27898a48b51e98f768d60bd004a4061f /sound/soc/sunxi/Kconfig
parent4ec73d3c81be5a401546afc6628aaf8add253ff1 (diff)
downloadlinux-45fb6b6f2aa3f6b22b81078db0dba4b26c9d0bdb.tar.xz
ASoC: sunxi: add support for the on-chip codec on early Allwinner SoCs
The sun4i, sun5i and sun7i SoC families have a built-in codec, capable of both audio capture and playback. While this is called a codec by Allwinner, it really is an in-SoC combination of a codec and a DAI, with its own DAC/ADC and amplifiers in a single memory-mapped controller. The capture part has been left out for now, and will be added eventually. Signed-off-by: Emilio López <emilio@elopez.com.ar> Signed-off-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
new file mode 100644
index 000000000000..84c72ec6ad73
--- /dev/null
+++ b/sound/soc/sunxi/Kconfig
@@ -0,0 +1,11 @@
+menu "Allwinner SoC Audio support"
+
+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.
+
+endmenu