From 90a43a889a2c1fc2eaf8a05dfdcc801f9c8b0dce Mon Sep 17 00:00:00 2001 From: Randy Li Date: Wed, 30 Nov 2016 11:21:51 +0800 Subject: [PATCH] ARM: dts: rockchip: rk3288 hevc using same clk freqs as android If you meet a performance issue, I would suggest you to set 500MHZ for ACLK_HEVC at rk3288. It could solve the decoding quite slow for some video resources. Change-Id: Iedc2bc90fb13ae89d204dc6b5f5d897acae6812d Signed-off-by: Randy Li --- arch/arm/boot/dts/rk3288.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 131759906f0a..d23c920fe7b6 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -1193,6 +1193,16 @@ <&cru SCLK_HEVC_CABAC>; clock-names = "aclk_vcodec", "hclk_vcodec", "clk_core", "clk_cabac"; + /* + * The 4K hevc would also work well with 500/125/300/300, + * no more err irq and reset request. + */ + assigned-clocks = <&cru ACLK_HEVC>, <&cru HCLK_HEVC>, + <&cru SCLK_HEVC_CORE>, + <&cru SCLK_HEVC_CABAC>; + assigned-clock-rates = <400000000>, <100000000>, + <300000000>, <300000000>; + resets = <&cru SRST_HEVC>; reset-names = "video"; power-domains = <&power RK3288_PD_HEVC>; -- 2.34.1