Commit dbbf5131 authored by Zhen Lei's avatar Zhen Lei Committed by Wei Xu
Browse files

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: default avatarZhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
parent 1860a518
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1113,7 +1113,7 @@ tsensor: tsensor@fff30000 {

		thermal-zones {

			cls0: cls0 {
			cls0: cls0-thermal {
				polling-delay = <1000>;
				polling-delay-passive = <100>;
				sustainable-power = <4500>;
@@ -1122,13 +1122,13 @@ cls0: cls0 {
				thermal-sensors = <&tsensor 1>;

				trips {
					threshold: trip-point@0 {
					threshold: trip-point0 {
						temperature = <65000>;
						hysteresis = <1000>;
						type = "passive";
					};

					target: trip-point@1 {
					target: trip-point1 {
						temperature = <75000>;
						hysteresis = <1000>;
						type = "passive";
+3 −3
Original line number Diff line number Diff line
@@ -872,7 +872,7 @@ i2s0: i2s@f7118000{

		thermal-zones {

			cls0: cls0 {
			cls0: cls0-thermal {
				polling-delay = <1000>;
				polling-delay-passive = <100>;
				sustainable-power = <3326>;
@@ -881,13 +881,13 @@ cls0: cls0 {
				thermal-sensors = <&tsensor 2>;

				trips {
					threshold: trip-point@0 {
					threshold: trip-point0 {
						temperature = <65000>;
						hysteresis = <0>;
						type = "passive";
					};

					target: trip-point@1 {
					target: trip-point1 {
						temperature = <75000>;
						hysteresis = <0>;
						type = "passive";