From: David Heidelberg Date: Sun, 29 Aug 2021 13:39:18 +0000 (+0200) Subject: ARM: dts: qcom: apq8064: Convert adreno from legacy gpu-pwrlevels to opp-v2 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8db0b6c7b636376789e356d861c3c6c35dcb6913;p=linux.git ARM: dts: qcom: apq8064: Convert adreno from legacy gpu-pwrlevels to opp-v2 APQ8064 was last user of gpu-pwrlevels inside mainline tree, so convert it now. Tested on Nexus 7 2013, no functional changes. Signed-off-by: David Heidelberg Signed-off-by: Bjorn Andersson Link: https://lore.kernel.org/r/20210829133918.57780-3-david@ixit.cz --- diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index 0b2bed6e7adfd..47a7fc55e1b8d 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -1230,13 +1230,17 @@ &gfx3d1 30 &gfx3d1 31>; - qcom,gpu-pwrlevels { - compatible = "qcom,gpu-pwrlevels"; - qcom,gpu-pwrlevel@0 { - qcom,gpu-freq = <450000000>; + operating-points-v2 = <&gpu_opp_table>; + + gpu_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-320000000 { + opp-hz = /bits/ 64 <450000000>; }; - qcom,gpu-pwrlevel@1 { - qcom,gpu-freq = <27000000>; + + opp-27000000 { + opp-hz = /bits/ 64 <27000000>; }; }; };