Skip to contentSkip to conversation

arm64: dts: freescale: Remove unused and undocumented "cooling-(min|max)-state" properties

PATCH In review Rob Herring (Arm) 2 participants 2 messages Nov 15, 2024 – Dec 9, 2024

Subsystems (2)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 arm64: dts: freescale: Remove unused and undocumented "cooling-(min|max)-state" properties

Remove "cooling-(min|max)-state" properties which are both unused in the kernel and undocumented. Most likely they are leftovers from downstream.

---
 .../boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts   | 2 --
 arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi             | 2 --
 2 files changed, 4 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts +0 -2
index d9fac647f432..1d53b529af88 100644
@@ -19,8 +19,6 @@ / {
 
 	pwm-fan {
 		compatible = "pwm-fan";
-		cooling-min-state = <0>;
-		cooling-max-state = <3>;
 		#cooling-cells = <2>;
 		pwms = <&sl28cpld_pwm0 0 4000000>;
 		cooling-levels = <1 128 192 255>;
arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi +0 -2
index d32a52ab00a4..aef63a4f698c 100644
@@ -94,8 +94,6 @@ i2c@1 {
 			fan-temperature-ctrlr@18 {
 				compatible = "ti,amc6821";
 				reg = <0x18>;
-				cooling-min-state = <0>;
-				cooling-max-state = <9>;
 				#cooling-cells = <2>;
 			};
 		};
Signature · 1 line
2.45.2
#1 lore raw
Quoted 4 lines · Rob Herring (Arm)

Remove "cooling-(min|max)-state" properties which are both unused in the kernel and undocumented. Most likely they are leftovers from downstream.

A similar change from Frank [1] was applied, thanks!

Shawn

[1] https://lore.kernel.org/lkml/[email protected]/

Quoted 34 lines
---
 .../boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts   | 2 --
 arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi             | 2 --
 2 files changed, 4 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts +0 -2
index d9fac647f432..1d53b529af88 100644
@@ -19,8 +19,6 @@ / {
 
 	pwm-fan {
 		compatible = "pwm-fan";
-		cooling-min-state = <0>;
-		cooling-max-state = <3>;
 		#cooling-cells = <2>;
 		pwms = <&sl28cpld_pwm0 0 4000000>;
 		cooling-levels = <1 128 192 255>;
arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi +0 -2
index d32a52ab00a4..aef63a4f698c 100644
@@ -94,8 +94,6 @@ i2c@1 {
 			fan-temperature-ctrlr@18 {
 				compatible = "ti,amc6821";
 				reg = <0x18>;
-				cooling-min-state = <0>;
-				cooling-max-state = <9>;
 				#cooling-cells = <2>;
 			};
 		};
Signature · 1 line
2.45.2