From bc2cd843574a30741ab949b1c7b0e8da853ed191 Mon Sep 17 00:00:00 2001 From: Elaine Zhang Date: Tue, 10 May 2016 15:44:56 +0800 Subject: [PATCH] ARM64: dts: rockchip: rk3399: qos: add qos nodes add qos reg addr base. add pm_qos nodes for save and restore registers when pd on/off. Change-Id: I91286463ba1018f896b67ac5b85485520e1518e6 Signed-off-by: Elaine Zhang --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 76 ++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 1df227179b6c..b52e00ca6caf 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -794,6 +794,67 @@ status = "disabled"; }; + qos_gpu: qos_gpu@0xffae0000 { + compatible ="syscon"; + reg = <0x0 0xffae0000 0x0 0x20>; + }; + qos_video_m0: qos_video_m0@0xffab8000 { + compatible ="syscon"; + reg = <0x0 0xffab8000 0x0 0x20>; + }; + qos_video_m1_r: qos_video_m1_r@0xffac0000 { + compatible ="syscon"; + reg = <0x0 0xffac0000 0x0 0x20>; + }; + qos_video_m1_w: qos_video_m1_w@0xffac0080 { + compatible ="syscon"; + reg = <0x0 0xffac0080 0x0 0x20>; + }; + qos_rga_r: qos_rga_r@0xffab0000 { + compatible ="syscon"; + reg = <0x0 0xffab0000 0x0 0x20>; + }; + qos_rga_w: qos_rga_w@0xffab0080 { + compatible ="syscon"; + reg = <0x0 0xffab0000 0x0 0x20>; + }; + qos_iep: qos_iep@0xffa98000 { + compatible ="syscon"; + reg = <0x0 0xffa98000 0x0 0x20>; + }; + qos_vop_big_r: qos_vop_big_r@0xffac8000 { + compatible ="syscon"; + reg = <0x0 0xffac8000 0x0 0x20>; + }; + qos_vop_big_w: qos_vop_big_w@0xffac8080 { + compatible ="syscon"; + reg = <0x0 0xffac8080 0x0 0x20>; + }; + qos_vop_little: qos_vop_little@0xffad0000 { + compatible ="syscon"; + reg = <0x0 0xffad0000 0x0 0x20>; + }; + qos_isp0_m0: qos_isp0_m0@0xffaa0000 { + compatible ="syscon"; + reg = <0x0 0xffaa0000 0x0 0x20>; + }; + qos_isp0_m1: qos_isp0_m1@0xffaa0080 { + compatible ="syscon"; + reg = <0x0 0xffaa0080 0x0 0x20>; + }; + qos_isp1_m0: qos_isp1_m0@0xffaa8000 { + compatible ="syscon"; + reg = <0x0 0xffaa8000 0x0 0x20>; + }; + qos_isp1_m1: qos_isp1_m1@0xffaa8080 { + compatible ="syscon"; + reg = <0x0 0xffaa8080 0x0 0x20>; + }; + qos_hdcp: qos_hdcp@0xffa90000 { + compatible ="syscon"; + reg = <0x0 0xffa90000 0x0 0x20>; + }; + pmu: power-management@ff310000 { compatible = "rockchip,rk3399-pmu", "syscon", "simple-mfd"; reg = <0x0 0xff310000 0x0 0x1000>; @@ -812,15 +873,21 @@ pd_vdu { reg = ; + pm_qos = <&qos_video_m1_r>, + <&qos_video_m1_w>; }; pd_vcodec { reg = ; + pm_qos = <&qos_video_m0>; }; pd_iep { reg = ; + pm_qos = <&qos_iep>; }; pd_rga { reg = ; + pm_qos = <&qos_rga_r>, + <&qos_rga_w>; }; }; pd_vio { @@ -830,12 +897,17 @@ pd_isp0 { reg = ; + pm_qos = <&qos_isp0_m0>, + <&qos_isp0_m1>; }; pd_isp1 { reg = ; + pm_qos = <&qos_isp1_m0>, + <&qos_isp1_m1>; }; pd_hdcp { reg = ; + pm_qos = <&qos_hdcp>; }; pd_vo { reg = ; @@ -844,14 +916,18 @@ pd_vopb { reg = ; + pm_qos = <&qos_vop_big_r>, + <&qos_vop_big_w>; }; pd_vopl { reg = ; + pm_qos = <&qos_vop_little>; }; }; }; pd_gpu { reg = ; + pm_qos = <&qos_gpu>; }; }; }; -- 2.34.1