Skip to contentSkip to conversation

arm64: dts: imx8mq-librem5: Fix gpio-hog property

PATCH Applied Fabio Estevam 3 participants 3 messages Sep 5, 2023 – Sep 24, 2023

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 arm64: dts: imx8mq-librem5: Fix gpio-hog property

From: Fabio Estevam <[email protected]>

The 'lane-mapping' property is not a valid one and cause the following schema warning:

imx8mq-librem5-r2.dtb: pmic-5v-hog: 'lane-mapping' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/gpio/gpio-hog.yaml#

Replace it with 'line-name'.

---
 arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +1 -1
index 138a4d36a7ef..153e46cce226 100644
@@ -381,7 +381,7 @@ pmic-5v-hog {
 		gpio-hog;
 		gpios = <1 GPIO_ACTIVE_HIGH>;
 		input;
-		lane-mapping = "pmic-5v";
+		line-name = "pmic-5v";
 	};
 };
 
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Reviewed-by on v1 1/1
#1 lore raw

Hi,

Quoted 20 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

The 'lane-mapping' property is not a valid one and cause the following schema warning:

imx8mq-librem5-r2.dtb: pmic-5v-hog: 'lane-mapping' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/gpio/gpio-hog.yaml#

Replace it with 'line-name'.

---
 arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +0 -0
index 138a4d36a7ef..153e46cce226 100644

arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi pmic-5v-hog { · line 386

Quoted 7 lines
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +1 -1
@@ -381,7 +381,7 @@ pmic-5v-hog {
 		gpio-hog;
 		gpios = <1 GPIO_ACTIVE_HIGH>;
 		input;
-		lane-mapping = "pmic-5v";
+		line-name = "pmic-5v";
 	};
 };

Thanks!
-- GUido

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Applied
#2 lore raw
In reply to Fabio Estevam
Quoted 11 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

The 'lane-mapping' property is not a valid one and cause the following schema warning:

imx8mq-librem5-r2.dtb: pmic-5v-hog: 'lane-mapping' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/gpio/gpio-hog.yaml#

Replace it with 'line-name'.

Applied, thanks!

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel