arm: dts: rockchip: rk3328: add gpu_power_model in gpu node
authorchenzhen <chenzhen@rock-chips.com>
Wed, 28 Jun 2017 02:43:14 +0000 (10:43 +0800)
committerJianqun Xu <jay.xu@rock-chips.com>
Thu, 29 Jun 2017 07:30:09 +0000 (15:30 +0800)
Indeed, the values of the model parameters are supplied by Rocky Hao.

Change-Id: I23edaa0ee104d07f79f5bf5bdbd393b4fb3c5120
Signed-off-by: chenzhen <chenzhen@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3328.dtsi

index 8e4a4a0512c270f269436220ee7edf19366e0e0c..df5495b6004a5b8bcdca577470c5f7898b86d366 100644 (file)
                clock-names = "clk_mali";
                operating-points-v2 = <&gpu_opp_table>;
                status = "disabled";
+
+               gpu_power_model: power-model {
+                       compatible = "arm,mali-simple-power-model";
+                       voltage = <900>;
+                       frequency = <500>;
+                       static-power = <300>;
+                       dynamic-power = <396>;
+                       ts = <32000 4700 (-80) 2>;
+                       thermal-zone = "soc-thermal";
+               };
        };
 
        gpu_opp_table: opp-table2 {