summaryrefslogtreecommitdiff
path: root/sound/soc/uniphier/aio-reg.h
diff options
context:
space:
mode:
authorKatsuhiro Suzuki <suzuki.katsuhiro@socionext.com>2018-03-16 10:08:13 +0300
committerMark Brown <broonie@kernel.org>2018-03-19 03:57:54 +0300
commit7c3c20f2bec1e8bdaadd551a4b75f1834a7cb974 (patch)
tree020714b15ea8c8d115f43396bacc7b5edf33d676 /sound/soc/uniphier/aio-reg.h
parent8bde8fd64d1b8f8bc1577e28ff412553597b6adb (diff)
downloadlinux-7c3c20f2bec1e8bdaadd551a4b75f1834a7cb974.tar.xz
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))