arm64: dts: hisilicon: normalize the node name of the module thermal

1. Change the node name of the thermal zone to match
'^[a-zA-Z][a-zA-Z0-9\\-]{1,12}-thermal$', add suffix "-thermal".
2. Change the node name of the trip point to match
'^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$', delete character "@".

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
This commit is contained in:
Zhen Lei
2021-01-18 11:16:31 +08:00
committed by Wei Xu
parent 1860a51823
commit dbbf51315a
2 changed files with 6 additions and 6 deletions

View File

@@ -1113,7 +1113,7 @@
thermal-zones { thermal-zones {
cls0: cls0 { cls0: cls0-thermal {
polling-delay = <1000>; polling-delay = <1000>;
polling-delay-passive = <100>; polling-delay-passive = <100>;
sustainable-power = <4500>; sustainable-power = <4500>;
@@ -1122,13 +1122,13 @@
thermal-sensors = <&tsensor 1>; thermal-sensors = <&tsensor 1>;
trips { trips {
threshold: trip-point@0 { threshold: trip-point0 {
temperature = <65000>; temperature = <65000>;
hysteresis = <1000>; hysteresis = <1000>;
type = "passive"; type = "passive";
}; };
target: trip-point@1 { target: trip-point1 {
temperature = <75000>; temperature = <75000>;
hysteresis = <1000>; hysteresis = <1000>;
type = "passive"; type = "passive";

View File

@@ -872,7 +872,7 @@
thermal-zones { thermal-zones {
cls0: cls0 { cls0: cls0-thermal {
polling-delay = <1000>; polling-delay = <1000>;
polling-delay-passive = <100>; polling-delay-passive = <100>;
sustainable-power = <3326>; sustainable-power = <3326>;
@@ -881,13 +881,13 @@
thermal-sensors = <&tsensor 2>; thermal-sensors = <&tsensor 2>;
trips { trips {
threshold: trip-point@0 { threshold: trip-point0 {
temperature = <65000>; temperature = <65000>;
hysteresis = <0>; hysteresis = <0>;
type = "passive"; type = "passive";
}; };
target: trip-point@1 { target: trip-point1 {
temperature = <75000>; temperature = <75000>;
hysteresis = <0>; hysteresis = <0>;
type = "passive"; type = "passive";