summaryrefslogtreecommitdiffstats
path: root/sound/soc/sunxi/Kconfig
diff options
context:
space:
mode:
authorEmilio López2015-09-12 15:26:24 +0200
committerMark Brown2015-09-16 21:18:45 +0200
commit45fb6b6f2aa3f6b22b81078db0dba4b26c9d0bdb (patch)
tree29391f7f27898a48b51e98f768d60bd004a4061f /sound/soc/sunxi/Kconfig
parentASoC: sunxi: Add the Allwinner A10 codec bindings (diff)
downloadkernel-qcow2-linux-45fb6b6f2aa3f6b22b81078db0dba4b26c9d0bdb.tar.gz
kernel-qcow2-linux-45fb6b6f2aa3f6b22b81078db0dba4b26c9d0bdb.tar.xz
kernel-qcow2-linux-45fb6b6f2aa3f6b22b81078db0dba4b26c9d0bdb.zip
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