diff mbox series

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

Message ID 20230905002303.3123372-1-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series arm64: dts: imx8mq-librem5: Fix gpio-hog property | expand

Commit Message

Fabio Estevam Sept. 5, 2023, 12:23 a.m. UTC
From: Fabio Estevam <festevam@denx.de>

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'.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Guido Günther Sept. 5, 2023, 6:15 a.m. UTC | #1
Hi,
On Mon, Sep 04, 2023 at 09:23:03PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> 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'.
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>
> ---
>  arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
> index 138a4d36a7ef..153e46cce226 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
> @@ -381,7 +381,7 @@ pmic-5v-hog {
>  		gpio-hog;
>  		gpios = <1 GPIO_ACTIVE_HIGH>;
>  		input;
> -		lane-mapping = "pmic-5v";
> +		line-name = "pmic-5v";
>  	};
>  };

Reviewed-by: Guido Günther <agx@sigxcpu.org>
Thanks!
 -- GUido
Shawn Guo Sept. 24, 2023, 2:25 p.m. UTC | #2
On Mon, Sep 04, 2023 at 09:23:03PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> 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'.
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
index 138a4d36a7ef..153e46cce226 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
@@ -381,7 +381,7 @@  pmic-5v-hog {
 		gpio-hog;
 		gpios = <1 GPIO_ACTIVE_HIGH>;
 		input;
-		lane-mapping = "pmic-5v";
+		line-name = "pmic-5v";
 	};
 };