arm64: dts: rk3328: enable the power domain for decoder
authorRandy Li <randy.li@rock-chips.com>
Fri, 23 Jun 2017 03:55:58 +0000 (11:55 +0800)
committerJianqun Xu <jay.xu@rock-chips.com>
Tue, 27 Jun 2017 02:19:27 +0000 (10:19 +0800)
The decoder requests the power domain is idle status when
it is resetting. Without the power domain it won't work.

Change-Id: If3afdbefbe40bc7529f13c12444adddbb328a21b
Signed-off-by: Randy Li <randy.li@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3328.dtsi

index db6974bfedab39869d2d619b11847ebe73e9da62..8e4a4a0512c270f269436220ee7edf19366e0e0c 100644 (file)
                        #power-domain-cells = <1>;
                        #address-cells = <1>;
                        #size-cells = <0>;
-                       status = "disabled";
+                       status = "okay";
 
                        pd_hevc@RK3328_PD_HEVC {
                                reg = <RK3328_PD_HEVC>;
                rockchip,grf = <&grf>;
                iommus = <&vpu_mmu>;
                allocator = <1>;
+               power-domains = <&power RK3328_PD_VPU>;
                status = "disabled";
        };
 
                interrupt-names = "vpu_mmu";
                clock-names = "aclk", "hclk";
                clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
+               power-domains = <&power RK3328_PD_VPU>;
                #iommu-cells = <0>;
        };
 
                rockchip,grf = <&grf>;
                iommus = <&rkvdec_mmu>;
                allocator = <1>;
+               power-domains = <&power RK3328_PD_VIDEO>;
                status = "disabled";
        };
 
                interrupt-names = "rkvdec_mmu";
                clocks = <&cru ACLK_RKVDEC>, <&cru HCLK_RKVDEC>;
                clock-names = "aclk_vcodec", "hclk_vcodec";
+               power-domains = <&power RK3328_PD_VIDEO>;
                #iommu-cells = <0>;
        };