summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2020-02-27 23:28:33 +0100
committerTony Lindgren <tony@atomide.com>2020-03-04 16:52:50 +0100
commit4d0dd3802ee1b6b14b7c46621cd581eb7c1ade79 (patch)
treee0f59038e2498a6b601944ea9e27d13a1d34a8a0 /include
parentbus: ti-sysc: Detect EDMA and set quirk flags for tptc (diff)
downloadlinux-4d0dd3802ee1b6b14b7c46621cd581eb7c1ade79.tar.xz
linux-4d0dd3802ee1b6b14b7c46621cd581eb7c1ade79.zip
dt-bindings: bus: ti-sysc: Add support for PRUSS SYSC type
The PRUSS module has a SYSCFG which is unique. The SYSCFG has two additional unique fields called STANDBY_INIT and SUB_MWAIT in addition to regular IDLE_MODE and STANDBY_MODE fields. Add the bindings for this new sysc type. Cc: Rob Herring <robh+dt@kernel.org> Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include')
-rw-r--r--include/dt-bindings/bus/ti-sysc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/dt-bindings/bus/ti-sysc.h b/include/dt-bindings/bus/ti-sysc.h
index babd08a1d226..76b07826ed05 100644
--- a/include/dt-bindings/bus/ti-sysc.h
+++ b/include/dt-bindings/bus/ti-sysc.h
@@ -18,6 +18,10 @@
#define SYSC_DRA7_MCAN_ENAWAKEUP (1 << 4)
+/* PRUSS sysc found on AM33xx/AM43xx/AM57xx */
+#define SYSC_PRUSS_SUB_MWAIT (1 << 5)
+#define SYSC_PRUSS_STANDBY_INIT (1 << 4)
+
/* SYSCONFIG STANDBYMODE/MIDLEMODE/SIDLEMODE supported by hardware */
#define SYSC_IDLE_FORCE 0
#define SYSC_IDLE_NO 1