summaryrefslogtreecommitdiffstats
path: root/sound/soc/uniphier/aio-reg.h
diff options
context:
space:
mode:
authorKatsuhiro Suzuki2018-03-16 08:08:13 +0100
committerMark Brown2018-03-19 01:57:54 +0100
commit7c3c20f2bec1e8bdaadd551a4b75f1834a7cb974 (patch)
tree020714b15ea8c8d115f43396bacc7b5edf33d676 /sound/soc/uniphier/aio-reg.h
parentASoC: uniphier: add syscon property to binding document (diff)
downloadkernel-qcow2-linux-7c3c20f2bec1e8bdaadd551a4b75f1834a7cb974.tar.gz
kernel-qcow2-linux-7c3c20f2bec1e8bdaadd551a4b75f1834a7cb974.tar.xz
kernel-qcow2-linux-7c3c20f2bec1e8bdaadd551a4b75f1834a7cb974.zip
ASoC: uniphier: add syscon property for UniPhier sound system
This patch adds syscon property for specifying soc-glue core. Currently, soc-glue core is used for changing the state of S/PDIF signal output pin to signal output state or Hi-Z state. After resetting of SoC Hi-Z state is selected. This driver set to signal output state when syscon property is available. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/uniphier/aio-reg.h')
-rw-r--r--sound/soc/uniphier/aio-reg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/uniphier/aio-reg.h b/sound/soc/uniphier/aio-reg.h
index eaf2c65acf14..136d3563cf44 100644
--- a/sound/soc/uniphier/aio-reg.h
+++ b/sound/soc/uniphier/aio-reg.h
@@ -23,6 +23,9 @@
#include <linux/bitops.h>
+/* soc-glue */
+#define SG_AOUTEN 0x1c04
+
/* SW view */
#define A2CHNMAPCTR0(n) (0x00000 + 0x40 * (n))
#define A2RBNMAPCTR0(n) (0x01000 + 0x40 * (n))