From: Feng Xiao Date: Thu, 10 Mar 2016 10:27:17 +0000 (+0800) Subject: ARM64: dts: rk3366: use operating-points-v2 for gpu dvfs X-Git-Tag: firefly_0821_release~3215 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3ff47d23639ee7a0e0fcce8b4684c43e45c77f26;p=firefly-linux-kernel-4.4.55.git ARM64: dts: rk3366: use operating-points-v2 for gpu dvfs Change-Id: Ia68197273e278f25320a4afe64c35c070f1737cc Signed-off-by: Feng Xiao --- 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>; + }; + }; };