]> git.sur5r.net Git - u-boot/commitdiff
arm64: zynqmp: PM: Specify power domains for DP related nodes
authorJyotheeswar Reddy Mutthareddyvari <jyothee@xilinx.com>
Mon, 2 Jan 2017 09:04:51 +0000 (14:34 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 28 Nov 2017 15:09:09 +0000 (16:09 +0100)
Currently DP power domain (pd_dp) is not attached to any of the DP nodes which is
causing genpd to trigger a power down request for DP domain, making all DP related
peripherals unusable. So assign power domains for all DP related nodes to enable
proper accounting of DP power domain usage.

Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp.dtsi

index f2e4e9834ef0559a97005c571d15bf1594d89d54..07b99233b3d291e10a9c1e1d9d0e61dc726848f8 100644 (file)
                };
 
                pd_dp: pd-dp {
-                       /* fixme: what to attach to */
                        #power-domain-cells = <0x0>;
                        pd-id = <0x29>;
                };
                        interrupts = <0 119 4>;
                        interrupt-parent = <&gic>;
                        clock-names = "aclk", "aud_clk";
+                       power-domains = <&pd_dp>;
                        xlnx,dp-version = "v1.2";
                        xlnx,max-lanes = <2>;
                        xlnx,max-link-rate = <540000>;
                        xlnx,output-fmt = "rgb";
                        xlnx,vid-fmt = "yuyv";
                        xlnx,gfx-fmt = "rgb565";
+                       power-domains = <&pd_dp>;
                };
 
                xlnx_dpdma: dma@fd4c0000 {
                        interrupts = <0 122 4>;
                        interrupt-parent = <&gic>;
                        clock-names = "axi_clk";
+                       power-domains = <&pd_dp>;
                        dma-channels = <6>;
                        #dma-cells = <1>;
                        dma-video0channel {