dt-bindings: soc: Add ZynqMP PM bindings
authorRajan Vaja <rajan.vaja@xilinx.com>
Tue, 29 Jan 2019 20:38:19 +0000 (12:38 -0800)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 12 Feb 2019 12:36:21 +0000 (13:36 +0100)
Add documentation to describe Xilinx ZynqMP power management
bindings.

Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com>
Signed-off-by: Jolly Shah <jolly.shah@xilinx.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Documentation/devicetree/bindings/power/reset/xlnx,zynqmp-power.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/power/reset/xlnx,zynqmp-power.txt b/Documentation/devicetree/bindings/power/reset/xlnx,zynqmp-power.txt
new file mode 100644 (file)
index 0000000..d366f1e
--- /dev/null
@@ -0,0 +1,25 @@
+--------------------------------------------------------------------
+Device Tree Bindings for the Xilinx Zynq MPSoC Power Management
+--------------------------------------------------------------------
+The zynqmp-power node describes the power management configurations.
+It will control remote suspend/shutdown interfaces.
+
+Required properties:
+ - compatible:         Must contain:   "xlnx,zynqmp-power"
+ - interrupts:         Interrupt specifier
+
+-------
+Example
+-------
+
+firmware {
+       zynqmp_firmware: zynqmp-firmware {
+               compatible = "xlnx,zynqmp-firmware";
+               method = "smc";
+
+               zynqmp_power: zynqmp-power {
+                       compatible = "xlnx,zynqmp-power";
+                       interrupts = <0 35 4>;
+               };
+       };
+};