mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02: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:
parent
5e0e5276e3
commit
b7402ccd73
|
|
@ -342,6 +342,11 @@ map1 {
|
|||
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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -695,7 +700,16 @@ rkvdec: rkvdec@ff36000 {
|
|||
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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user