]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
arm64: dts: hisilicon: normalize the node name of the module thermal
authorZhen Lei <thunder.leizhen@huawei.com>
Mon, 18 Jan 2021 03:16:31 +0000 (11:16 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Fri, 29 Jan 2021 08:33:25 +0000 (16:33 +0800)
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>
arch/arm64/boot/dts/hisilicon/hi3660.dtsi
arch/arm64/boot/dts/hisilicon/hi6220.dtsi

index 49c19c6879f95ce97e7dc7d2cd4512ef1f4a348c..cab89dc6f59612167865d47338a04b70e2c1d53d 100644 (file)
 
                thermal-zones {
 
-                       cls0: cls0 {
+                       cls0: cls0-thermal {
                                polling-delay = <1000>;
                                polling-delay-passive = <100>;
                                sustainable-power = <4500>;
                                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";
index f9953303a3f44dce5b6845f5686fb42b1dd82294..d426c6c8722b307558a4168f0f2dbba17c6c7bfc 100644 (file)
 
                thermal-zones {
 
-                       cls0: cls0 {
+                       cls0: cls0-thermal {
                                polling-delay = <1000>;
                                polling-delay-passive = <100>;
                                sustainable-power = <3326>;
                                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";