summaryrefslogtreecommitdiffstats
path: root/sound/soc/sunxi/Kconfig
diff options
context:
space:
mode:
authorVasily Khoruzhick <anarsoul@gmail.com>2018-10-17 00:38:09 -0700
committerMark Brown <broonie@kernel.org>2018-10-17 11:11:01 +0100
commit42371f327df0b8e9d479b929c5cd301846dd0f70 (patch)
treeb0c84ef61a77a7beffeca63edaf06eb5cd9be3c4 /sound/soc/sunxi/Kconfig
parentaf2c06c41970eb0110a03696fd7f8f07854719db (diff)
downloadlinux-stable-42371f327df0b8e9d479b929c5cd301846dd0f70.tar.gz
linux-stable-42371f327df0b8e9d479b929c5cd301846dd0f70.tar.bz2
linux-stable-42371f327df0b8e9d479b929c5cd301846dd0f70.zip
ASoC: sunxi: Add new driver for Allwinner A64 codec's analog path controls
The internal codec on A64 is split into 2 parts. The analog path controls are routed through an embedded custom register bus accessed through the PRCM block. Add an ASoC component driver for it. This should be tied to the codec audio card as an auxiliary device. Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sunxi/Kconfig')
-rw-r--r--sound/soc/sunxi/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/sunxi/Kconfig b/sound/soc/sunxi/Kconfig
index 83b770cdfdaa..8a055ca1819a 100644
--- a/sound/soc/sunxi/Kconfig
+++ b/sound/soc/sunxi/Kconfig
@@ -28,6 +28,14 @@ config SND_SUN8I_CODEC_ANALOG
Say Y or M if you want to add support for the analog controls for
the codec embedded in newer Allwinner SoCs.
+config SND_SUN50I_CODEC_ANALOG
+ tristate "Allwinner sun50i Codec Analog Controls Support"
+ depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
+ select SND_SUNXI_ADDA_PR_REGMAP
+ help
+ Say Y or M if you want to add support for the analog controls for
+ the codec embedded in Allwinner A64 SoC.
+
config SND_SUN4I_I2S
tristate "Allwinner A10 I2S Support"
select SND_SOC_GENERIC_DMAENGINE_PCM