Skip to contentSkip to conversation

ARM: dts: imx6qdl-tx6: Remove 'turn-on-delay-ms'

PATCH Applied Fabio Estevam 4 participants 5 messages Oct 4, 2024 – Oct 21, 2024

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: dts: imx6qdl-tx6: Remove 'turn-on-delay-ms'

From: Fabio Estevam <[email protected]>

The 'turn-on-delay-ms' property is not documented nor used anywhere else.

Remove this invalid property to fix the following dt-schema warning:

Unevaluated properties are not allowed ('turn-on-delay-ms' was unexpected)

---
 arch/arm/boot/dts/nxp/imx/imx6dl-tx6dl-comtft.dts    | 1 -
 arch/arm/boot/dts/nxp/imx/imx6q-tx6q-1010-comtft.dts | 1 -
 arch/arm/boot/dts/nxp/imx/imx6q-tx6q-1020-comtft.dts | 1 -
 arch/arm/boot/dts/nxp/imx/imx6qdl-tx6-lcd.dtsi       | 1 -
 arch/arm/boot/dts/nxp/imx/imx6qdl-tx6-mb7.dtsi       | 2 --
 5 files changed, 6 deletions(-)
arch/arm/boot/dts/nxp/imx/imx6dl-tx6dl-comtft.dts +0 -1
index 51a9bb9d6bc2..7436626673fc 100644
@@ -51,7 +51,6 @@ / {
 
 &backlight {
 	pwms = <&pwm2 0 500000 0>;
-	/delete-property/ turn-on-delay-ms;
 };
 
 &can1 {
arch/arm/boot/dts/nxp/imx/imx6q-tx6q-1010-comtft.dts +0 -1
index ac3050a835e5..393bfec58e2f 100644
@@ -51,7 +51,6 @@ / {
 
 &backlight {
 	pwms = <&pwm2 0 500000 0>;
-	/delete-property/ turn-on-delay-ms;
 };
 
 &can1 {
arch/arm/boot/dts/nxp/imx/imx6q-tx6q-1020-comtft.dts +0 -1
index a773f252816c..1ab175ffa238 100644
@@ -51,7 +51,6 @@ / {
 
 &backlight {
 	pwms = <&pwm2 0 500000 0>;
-	/delete-property/ turn-on-delay-ms;
 };
 
 &can1 {
arch/arm/boot/dts/nxp/imx/imx6qdl-tx6-lcd.dtsi +0 -1
index ded241a39906..77594546ef37 100644
@@ -51,7 +51,6 @@ backlight: backlight {
 		pinctrl-0 = <&pinctrl_lcd1_pwr>;
 		enable-gpios = <&gpio2 31 GPIO_ACTIVE_HIGH>;
 		power-supply = <&reg_3v3>;
-		turn-on-delay-ms = <35>;
 		/*
 		 * a poor man's way to create a 1:1 relationship between
 		 * the PWM value and the actual duty cycle
arch/arm/boot/dts/nxp/imx/imx6qdl-tx6-mb7.dtsi +0 -2
index 99ec7a838f8d..bae7313d729d 100644
@@ -42,13 +42,11 @@
 / {
 	backlight0 {
 		pwms = <&pwm1 0 500000 PWM_POLARITY_INVERTED>;
-		turn-on-delay-ms = <35>;
 		power-supply = <&reg_lcd1_pwr>;
 	};
 
 	backlight1 {
 		pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>;
-		turn-on-delay-ms = <35>;
 		power-supply = <&reg_lcd1_pwr>;
 	};
 
Signature · 1 line
2.34.1
#1 lore raw
Quoted 8 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

The 'turn-on-delay-ms' property is not documented nor used anywhere else.

Remove this invalid property to fix the following dt-schema warning:

Unevaluated properties are not allowed ('turn-on-delay-ms' was unexpected)

Quoted 9 lines
---
 arch/arm/boot/dts/nxp/imx/imx6dl-tx6dl-comtft.dts    | 1 -
 arch/arm/boot/dts/nxp/imx/imx6q-tx6q-1010-comtft.dts | 1 -
 arch/arm/boot/dts/nxp/imx/imx6q-tx6q-1020-comtft.dts | 1 -
 arch/arm/boot/dts/nxp/imx/imx6qdl-tx6-lcd.dtsi       | 1 -
 arch/arm/boot/dts/nxp/imx/imx6qdl-tx6-mb7.dtsi       | 2 --
 5 files changed, 6 deletions(-)

My bot found new DTB warnings on the .dts files added or changed in this series.

Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not. No need to reply unless the platform maintainer has comments.

If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date:

  pip3 install dtschema --upgrade

New warnings running 'make CHECK_DTBS=y nxp/imx/imx6dl-tx6dl-comtft.dtb nxp/imx/imx6q-tx6q-1010-comtft.dtb nxp/imx/imx6q-tx6q-1020-comtft.dtb' for [email protected]:

arch/arm/boot/dts/nxp/imx/imx6q-tx6q-1010-comtft.dtb: clock@0: 'reg' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/clock/fixed-clock.yaml#

author reviewer
#2 lore raw
Quoted 4 lines · Rob Herring (Arm)

New warnings running 'make CHECK_DTBS=y nxp/imx/imx6dl-tx6dl-comtft.dtb nxp/imx/imx6q-tx6q-1010-comtft.dtb nxp/imx/imx6q-tx6q-1020-comtft.dtb' for [email protected]:

arch/arm/boot/dts/nxp/imx/imx6q-tx6q-1010-comtft.dtb: clock@0: 'reg' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/clock/fixed-clock.yaml#

This is unrelated. I have sent a separate fix for this warning.

Acked-by on v1 1/1
#3 lore raw
In reply to Fabio Estevam

Hi,

Quoted 9 lines

From: Fabio Estevam <[email protected]>

The 'turn-on-delay-ms' property is not documented nor used anywhere else.

Remove this invalid property to fix the following dt-schema warning:

Unevaluated properties are not allowed ('turn-on-delay-ms' was unexpected)

Quoted 64 lines
---
 arch/arm/boot/dts/nxp/imx/imx6dl-tx6dl-comtft.dts    | 1 -
 arch/arm/boot/dts/nxp/imx/imx6q-tx6q-1010-comtft.dts | 1 -
 arch/arm/boot/dts/nxp/imx/imx6q-tx6q-1020-comtft.dts | 1 -
 arch/arm/boot/dts/nxp/imx/imx6qdl-tx6-lcd.dtsi       | 1 -
 arch/arm/boot/dts/nxp/imx/imx6qdl-tx6-mb7.dtsi       | 2 --
 5 files changed, 6 deletions(-)
arch/arm/boot/dts/nxp/imx/imx6dl-tx6dl-comtft.dts +0 -1
index 51a9bb9d6bc2..7436626673fc 100644
@@ -51,7 +51,6 @@ / {
 
 &backlight {
 	pwms = <&pwm2 0 500000 0>;
-	/delete-property/ turn-on-delay-ms;
 };
 
 &can1 {
arch/arm/boot/dts/nxp/imx/imx6q-tx6q-1010-comtft.dts +0 -1
index ac3050a835e5..393bfec58e2f 100644
@@ -51,7 +51,6 @@ / {
 
 &backlight {
 	pwms = <&pwm2 0 500000 0>;
-	/delete-property/ turn-on-delay-ms;
 };
 
 &can1 {
arch/arm/boot/dts/nxp/imx/imx6q-tx6q-1020-comtft.dts +0 -1
index a773f252816c..1ab175ffa238 100644
@@ -51,7 +51,6 @@ / {
 
 &backlight {
 	pwms = <&pwm2 0 500000 0>;
-	/delete-property/ turn-on-delay-ms;
 };
 
 &can1 {
arch/arm/boot/dts/nxp/imx/imx6qdl-tx6-lcd.dtsi +0 -1
index ded241a39906..77594546ef37 100644
@@ -51,7 +51,6 @@ backlight: backlight {
 		pinctrl-0 = <&pinctrl_lcd1_pwr>;
 		enable-gpios = <&gpio2 31 GPIO_ACTIVE_HIGH>;
 		power-supply = <&reg_3v3>;
-		turn-on-delay-ms = <35>;
 		/*
 		 * a poor man's way to create a 1:1 relationship between
 		 * the PWM value and the actual duty cycle
arch/arm/boot/dts/nxp/imx/imx6qdl-tx6-mb7.dtsi +0 -0
index 99ec7a838f8d..bae7313d729d 100644
@@ -42,13 +42,11 @@
 / {
 	backlight0 {
 		pwms = <&pwm1 0 500000 PWM_POLARITY_INVERTED>;

arch/arm/boot/dts/nxp/imx/imx6qdl-tx6-mb7.dtsi line 52

Quoted 10 lines
arch/arm/boot/dts/nxp/imx/imx6qdl-tx6-mb7.dtsi +0 -2
-		turn-on-delay-ms = <35>;
 		power-supply = <&reg_lcd1_pwr>;
 	};
 
 	backlight1 {
 		pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>;
-		turn-on-delay-ms = <35>;
 		power-supply = <&reg_lcd1_pwr>;
 	};
 

Lothar Waßmann

Signature · 9 lines
___________________________________________________________

Ka-Ro electronics GmbH | Pascalstraße 22 | D - 52076 Aachen
Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10
Geschäftsführer: Matthias Kaussen
Handelsregistereintrag: Amtsgericht Aachen, HRB 4996

www.karo-electronics.de | [email protected]
___________________________________________________________