Skip to contentSkip to conversation

arm64: dts: layerscape: remove cooling-max-state and cooling-min-state

PATCH Applied Frank Li 2 participants 2 messages Oct 7, 2024 – Oct 21, 2024

Subsystems (2)
lore
Share & tools
lore

Frank Li

author maintainer
#0 lore raw

PATCH 1/1 arm64: dts: layerscape: remove cooling-max-state and cooling-min-state

Remove unused property cooling-max-state and cooling-min-state.
Remove undocument property #cooling-cells for ti,amc6821.
Fix below dtb_check warning:
arch/arm64/boot/dts/freescale/fsl-lx2160a-clearfog-cx.dtb: fan-temperature-ctrlr@18: '#cooling-cells', 'cooling-max-state', 'cooling-min-state' do not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/hwmon/ti,amc6821.yaml

---
 .../boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts  | 2 --
 arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi            | 3 ---
 2 files changed, 5 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts +0 -2
index d9fac647f4327..1d53b529af88f 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 -3
index d32a52ab00a42..e4b727070814f 100644
@@ -94,9 +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.34.1
Applied
#1 lore raw
Quoted 7 lines · Frank Li

Remove unused property cooling-max-state and cooling-min-state.
Remove undocument property #cooling-cells for ti,amc6821.
Fix below dtb_check warning:
arch/arm64/boot/dts/freescale/fsl-lx2160a-clearfog-cx.dtb: fan-temperature-ctrlr@18: '#cooling-cells', 'cooling-max-state', 'cooling-min-state' do not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/hwmon/ti,amc6821.yaml

Applied, thanks!