arm64: dts: qcom: msm8916: move gpu opp table to gpu node
authorStephan Gerhold <stephan@gerhold.net>
Thu, 14 May 2020 11:27:53 +0000 (13:27 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 14 May 2020 17:29:31 +0000 (10:29 -0700)
In msm8916.dtsi the GPU OPP table is defined under the root node,
whereas in msm8996.dtsi/sdm845.dtsi it is a subnode of the gpu device
(which makes it easier to find).

Move it to the gpu device node to make this consistent.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20200514112754.148919-2-stephan@gerhold.net
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/msm8916.dtsi

index 69129c0..32bd140 100644 (file)
                };
        };
 
-       gpu_opp_table: gpu-opp-table {
-               compatible = "operating-points-v2";
-
-               opp-400000000 {
-                       opp-hz = /bits/ 64 <400000000>;
-               };
-               opp-19200000 {
-                       opp-hz = /bits/ 64 <19200000>;
-               };
-       };
-
        timer {
                compatible = "arm,armv8-timer";
                interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
                        power-domains = <&gcc OXILI_GDSC>;
                        operating-points-v2 = <&gpu_opp_table>;
                        iommus = <&gpu_iommu 1>, <&gpu_iommu 2>;
+
+                       gpu_opp_table: opp-table {
+                               compatible = "operating-points-v2";
+
+                               opp-400000000 {
+                                       opp-hz = /bits/ 64 <400000000>;
+                               };
+                               opp-19200000 {
+                                       opp-hz = /bits/ 64 <19200000>;
+                               };
+                       };
                };
 
                mdss: mdss@1a00000 {