diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2018-01-11 22:51:24 +0100 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2018-01-18 00:10:54 +0100 |
commit | 36682d25057676b1d47b41c6f4438b213e820a16 (patch) | |
tree | 34c9c12235836a33c6c62a7889327f3224568732 | |
parent | 9a136388ef1ceddc35f569abc2b4bb5bc33ef21d (diff) |
hack: add cooling mapping for two clustersthermal/idle-inject
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-rw-r--r-- | arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 6a180d1926e8..7b13bccccc6e 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -133,6 +133,9 @@ next-level-cache = <&CLUSTER1_L2>; operating-points-v2 = <&cpu_opp_table>; cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>; + cooling-min-level = <4>; + cooling-max-level = <0>; + #cooling-cells = <2>; /* min followed by max */ }; cpu5: cpu@101 { @@ -868,6 +871,11 @@ trip = <&target>; cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; }; + + map1 { + trip = <&target>; + cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; }; }; }; |