diff mbox series

[v1,1/1] arm64: dts: layerscape: remove cooling-max-state and cooling-min-state

Message ID 20241007220542.897605-1-Frank.Li@nxp.com (mailing list archive)
State In Next, archived
Headers show
Series [v1,1/1] arm64: dts: layerscape: remove cooling-max-state and cooling-min-state | expand

Commit Message

Frank Li Oct. 7, 2024, 10:05 p.m. UTC
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

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 .../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(-)

Comments

Shawn Guo Oct. 21, 2024, 10:04 a.m. UTC | #1
On Mon, Oct 07, 2024 at 06:05:42PM -0400, Frank Li wrote:
> 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
> 
> Signed-off-by: Frank Li <Frank.Li@nxp.com>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts
index d9fac647f4327..1d53b529af88f 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts
@@ -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>;
diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi
index d32a52ab00a42..e4b727070814f 100644
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi
@@ -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>;
 			};
 		};