mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user