From 46e1e5a6da35095b0575e630b070b7d1ce42c828 Mon Sep 17 00:00:00 2001 From: Randy Li Date: Fri, 23 Jun 2017 11:55:58 +0800 Subject: [PATCH] arm64: dts: rk3328: enable the power domain for decoder 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 --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index db6974bfedab..8e4a4a0512c2 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -268,7 +268,7 @@ #power-domain-cells = <1>; #address-cells = <1>; #size-cells = <0>; - status = "disabled"; + status = "okay"; pd_hevc@RK3328_PD_HEVC { reg = ; @@ -634,6 +634,7 @@ rockchip,grf = <&grf>; iommus = <&vpu_mmu>; allocator = <1>; + power-domains = <&power RK3328_PD_VPU>; status = "disabled"; }; @@ -644,6 +645,7 @@ interrupt-names = "vpu_mmu"; clock-names = "aclk", "hclk"; clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>; + power-domains = <&power RK3328_PD_VPU>; #iommu-cells = <0>; }; @@ -664,6 +666,7 @@ rockchip,grf = <&grf>; iommus = <&rkvdec_mmu>; allocator = <1>; + power-domains = <&power RK3328_PD_VIDEO>; status = "disabled"; }; @@ -674,6 +677,7 @@ 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>; }; -- 2.34.1