arm: dts: rockchip: add dmc thermal control for rk322x

add power model for dmc and add dmc as a cooling device in thermal
control

Change-Id: Ibc5f8ec97b43d4fcf9ff817582711b924d2a7ef0
Signed-off-by: Rocky Hao <rocky.hao@rock-chips.com>
This commit is contained in:
Rocky Hao
2018-02-05 19:00:48 +08:00
committed by Tao Huang
parent 18a6c71e2e
commit 2758694f23

View File

@@ -144,7 +144,16 @@
>;
dram_freq = <786000000>;
rockchip,dram_timing = <&dram_timing>;
#cooling-cells = <2>;
status = "disabled";
ddr_power_model: ddr_power_model {
compatible = "ddr_power_model";
dynamic-power-coefficient = <120>;
static-power-coefficient = <200>;
ts = <32000 4700 (-80) 2>;
thermal-zone = "soc-thermal";
};
};
dmc_opp_table: dmc-opp-table {
@@ -596,6 +605,12 @@
<&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
contribution = <1024>;
};
map2 {
trip = <&target>;
cooling-device =
<&dmc THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
contribution = <1024>;
};
};
};
};