summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2017-09-10 03:32:19 +0200
committerAndreas Färber <afaerber@suse.de>2017-11-27 23:19:23 +0100
commitafc7e586048c97ad26aac65f12df02f3c82f44e4 (patch)
treedfe2b10434502c6a7219be513f60ae460c1ece2a /include/dt-bindings
parent53e82bc779b1702a3b99c6eb02399726039aaaa8 (diff)
downloadlinux-afc7e586048c97ad26aac65f12df02f3c82f44e4.tar.bz2
dt-bindings: power: Add Actions Semi S700 SPS
Define power domains for Actions Semi S700 SoC Smart Power System (SPS). Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/power/owl-s700-powergate.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/dt-bindings/power/owl-s700-powergate.h b/include/dt-bindings/power/owl-s700-powergate.h
new file mode 100644
index 000000000000..4cf1aefbf09c
--- /dev/null
+++ b/include/dt-bindings/power/owl-s700-powergate.h
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Actions Semi S700 SPS
+ *
+ * Copyright (c) 2017 Andreas Färber
+ */
+#ifndef DT_BINDINGS_POWER_OWL_S700_POWERGATE_H
+#define DT_BINDINGS_POWER_OWL_S700_POWERGATE_H
+
+#define S700_PD_VDE 0
+#define S700_PD_VCE_SI 1
+#define S700_PD_USB2_1 2
+#define S700_PD_HDE 3
+#define S700_PD_DMA 4
+#define S700_PD_DS 5
+#define S700_PD_USB3 6
+#define S700_PD_USB2_0 7
+
+#endif