]> rtime.felk.cvut.cz Git - vajnamar/linux-xlnx.git/commitdiff
devicetree: remoteproc: zynqmp_r5: add missing pd-handle
authorWendy Liang <wendy.liang@xilinx.com>
Mon, 17 Jul 2017 05:18:36 +0000 (22:18 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 18 Jul 2017 14:44:26 +0000 (16:44 +0200)
Add missing "pd-handle" property binding to documentation.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Documentation/devicetree/bindings/remoteproc/r5_remoteproc.txt

index 5f7ca1c4b48e050eb267c187b4a908c2f057ed10..ac4926703d7c6318c0c3916758f501a926d2ee25 100644 (file)
@@ -21,6 +21,11 @@ Required properties:
  - interrupts : Interrupt mapping for remoteproc IPI
  - interrupt-parent : Phandle for the interrupt controller
  - sram_N: firmware memory
+ - pd-handle : power domain handle, as remoteproc is not hooked into
+               Linux runtime power management, we will not use
+               "power-domains" for the power domain handler. We use
+               the power domain handler only to get the power domain
+               id which is required to power on RPU.
 
 Optional properties:
 --------------------
@@ -29,13 +34,30 @@ Optional properties:
 
 Example:
 --------
+       power-domains {
+               pd_r5_0: pd_r5_0 {
+                       #power-domain-cells = <0x0>;
+                       pd-id = <0x7>;
+               };
+               pd_tcm_0_a: pd_tcm_0_a {
+                       #power-domain-cells = <0x0>;
+                       pd-id = <0xf>;
+               };
+               pd_tcm_0_b: pd_tcm_0_b {
+                       #power-domain-cells = <0x0>;
+                       pd-id = <0x10>;
+               };
+       };
+
        r5_0_tcm_a: tcm@ffe00000 {
                compatible = "mmio-sram";
                reg = <0x0 0xFFE00000 0x0 0x20000>;
+               pd-handle = <&pd_tcm_0_a>;
        };
        r5_0_tcm_b: tcm@ffe20000 {
                compatible = "mmio-sram";
                reg = <0x0 0xFFE20000 0x0 0x20000>;
+               pd-handle = <&pd_tcm_0_b>;
        };
        elf_ddr_0: ddr@3ed00000 {
                compatible = "mmio-sram";
@@ -54,4 +76,5 @@ Example:
                sram_2 = <&elf_ddr_0>;
                interrupt-parent = <&gic>;
                interrupts = <0 29 4>;
+               pd-handle = <&pd_r5_0>;
        } ;