Skip to content

Commit df50e22

Browse files
buluessrkhuangtao
authored andcommitted
arm64: dts: rockchip: rk3328: fix vepu clk define error
1.vepu aclk is ACLK_H264 and hclk is HCLK_H264 2.vepu need clk_core clk define 3.add h264&h265 power domain Change-Id: I419e544cf86d90b2b8d88dd13dfed49d31a24991 Signed-off-by: Xinhuang Li <buluess.li@rock-chips.com>
1 parent c38770d commit df50e22

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3328.dtsi

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -723,6 +723,7 @@
723723
mode_ctrl = <0x40c>;
724724
name = "h265e";
725725
allocator = <1>;
726+
power-domains = <&power RK3328_PD_HEVC>;
726727
status = "disabled";
727728
};
728729

@@ -742,8 +743,10 @@
742743
iommus = <&vepu_mmu>;
743744
reg = <0x0 0xff340000 0x0 0x400>;
744745
interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
745-
clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
746-
clock-names = "aclk_vcodec", "hclk_vcodec";
746+
clocks = <&cru ACLK_H264>, <&cru HCLK_H264>,
747+
<&cru SCLK_VENC_CORE>;
748+
clock-names = "aclk_vcodec", "hclk_vcodec",
749+
"clk_core";
747750
resets = <&cru SRST_RKVENC_H264_H>,
748751
<&cru SRST_RKVENC_H264_A>;
749752
reset-names = "video_h", "video_a";
@@ -752,6 +755,7 @@
752755
mode_ctrl = <0x40c>;
753756
name = "vepu";
754757
allocator = <1>;
758+
power-domains = <&power RK3328_PD_HEVC>;
755759
status = "disabled";
756760
};
757761

@@ -760,7 +764,7 @@
760764
reg = <0x0 0xff340800 0x0 0x40>;
761765
interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
762766
interrupt-names = "vepu_mmu";
763-
clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
767+
clocks = <&cru ACLK_H264>, <&cru HCLK_H264>;
764768
clock-names = "aclk", "hclk";
765769
power-domains = <&power RK3328_PD_HEVC>;
766770
#iommu-cells = <0>;

0 commit comments

Comments
 (0)