]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
dt-bindings: bus: ti-sysc: Add support for PRUSS SYSC type
authorRoger Quadros <rogerq@ti.com>
Thu, 27 Feb 2020 22:28:33 +0000 (16:28 -0600)
committerTony Lindgren <tony@atomide.com>
Wed, 4 Mar 2020 15:52:50 +0000 (07:52 -0800)
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>
Documentation/devicetree/bindings/bus/ti-sysc.txt
include/dt-bindings/bus/ti-sysc.h

index 233eb829420445cd03a1911dfa8eff848907867b..c984143d08d2f1928cd7a116846a68ba18533752 100644 (file)
@@ -38,6 +38,7 @@ Required standard properties:
                "ti,sysc-dra7-mcasp"
                "ti,sysc-usb-host-fs"
                "ti,sysc-dra7-mcan"
+               "ti,sysc-pruss"
 
 - reg          shall have register areas implemented for the interconnect
                target module in question such as revision, sysc and syss
index babd08a1d2267bfef88457f83446c31d593f842a..76b07826ed051b56348a9592431e6bbd0b4a3b1c 100644 (file)
 
 #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