From 3ff47d23639ee7a0e0fcce8b4684c43e45c77f26 Mon Sep 17 00:00:00 2001 From: Feng Xiao Date: Thu, 10 Mar 2016 18:27:17 +0800 Subject: [PATCH] ARM64: dts: rk3366: use operating-points-v2 for gpu dvfs Change-Id: Ia68197273e278f25320a4afe64c35c070f1737cc Signed-off-by: Feng Xiao --- arch/arm64/boot/dts/rockchip/rk3366.dtsi | 35 ++++++++++++++++++------ 1 file changed, 27 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3366.dtsi b/arch/arm64/boot/dts/rockchip/rk3366.dtsi index b91de810c798..4d642f77c430 100644 --- a/arch/arm64/boot/dts/rockchip/rk3366.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3366.dtsi @@ -1461,14 +1461,33 @@ clocks = <&cru ACLK_GPU>; clock-names = "clk_mali"; - - operating-points = < - /* KHz uV */ - 500000 1150000 - 420000 1050000 - 300000 950000 - 200000 900000 - 100000 900000 >; + operating-points-v2 = <&gpu_opp_table>; status = "disabled"; }; + + gpu_opp_table: gpu_opp_table { + compatible = "operating-points-v2"; + opp-shared; + + opp00 { + opp-hz = /bits/ 64 <96000000>; + opp-microvolt = <1150000>; + }; + opp01 { + opp-hz = /bits/ 64 <192000000>; + opp-microvolt = <1150000>; + }; + opp02 { + opp-hz = /bits/ 64 <288000000>; + opp-microvolt = <1150000>; + }; + opp03 { + opp-hz = /bits/ 64 <375000000>; + opp-microvolt = <1150000>; + }; + opp04 { + opp-hz = /bits/ 64 <480000000>; + opp-microvolt = <1150000>; + }; + }; }; -- 2.34.1