diff options
author | Leo Yan <leo.yan@linaro.org> | 2017-08-23 14:03:44 +0800 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2017-08-23 12:07:12 +0200 |
commit | 40b70424ede5c3fa11d8696be3e7a4c0ee7fb64b (patch) | |
tree | e3c188e80727c790e625c449ece5ddcc29bb4464 | |
parent | 4e2a809703e2b2300438a425b0a3f2013b55fcc6 (diff) |
ARM64: dts: hisilicon: add missed thermal sensors for Hi6220
The thermal driver tries to register four sensors but the DT only binds
one sensor (sensor ID 2) with thermal zone, as result the thermal driver
reports failure for missed thermal sensor binding.
This patch adds missed thermal sensor for Hi6220, so can dismiss the
booting failure log.
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-rw-r--r-- | arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index eacbe0db5bc2..939a6e7bcb0e 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -833,6 +833,18 @@ thermal-zones { + local: local { + polling-delay = <1000>; + polling-delay-passive = <100>; + thermal-sensors = <&tsensor 0>; + }; + + cls1: cls1 { + polling-delay = <1000>; + polling-delay-passive = <100>; + thermal-sensors = <&tsensor 1>; + }; + cls0: cls0 { polling-delay = <1000>; polling-delay-passive = <100>; @@ -862,6 +874,12 @@ }; }; }; + + gpu: gpu { + polling-delay = <1000>; + polling-delay-passive = <100>; + thermal-sensors = <&tsensor 3>; + }; }; ade: ade@f4100000 { |