arm64: dts: rockchip: rk3328: add thermal control for rkvdec

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

Change-Id: I4560f9b2a6b395d565652549a8f0dbcc1903da6f
Signed-off-by: Rocky Hao <rocky.hao@rock-chips.com>
This commit is contained in:
Liang Chen
2019-02-27 16:41:45 +08:00
committed by Tao Huang
parent 62ed0bf503
commit ee2e2fbf2b

View File

@@ -494,6 +494,11 @@
cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
contribution = <4096>;
};
map2 {
trip = <&target>;
cooling-device = <&rkvdec THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
contribution = <1024>;
};
};
};
@@ -719,7 +724,16 @@
allocator = <1>;
power-domains = <&power RK3328_PD_VIDEO>;
operating-points-v2 = <&rkvdec_opp_table>;
#cooling-cells = <2>;
status = "disabled";
vcodec_power_model: vcodec_power_model {
compatible = "vcodec_power_model";
dynamic-power-coefficient = <120>;
static-power-coefficient = <200>;
ts = <32000 4700 (-80) 2>;
thermal-zone = "soc-thermal";
};
};
rkvdec_opp_table: rkvdec-opp-table {