linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: imx8mq-librem5: Fix gpio-hog property
@ 2023-09-05  0:23 Fabio Estevam
  2023-09-05  6:15 ` Guido Günther
  2023-09-24 14:25 ` Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2023-09-05  0:23 UTC (permalink / raw)
  To: shawnguo; +Cc: agx, angus, linux-arm-kernel, Fabio Estevam

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";
 	};
 };
 
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] arm64: dts: imx8mq-librem5: Fix gpio-hog property
  2023-09-05  0:23 [PATCH] arm64: dts: imx8mq-librem5: Fix gpio-hog property Fabio Estevam
@ 2023-09-05  6:15 ` Guido Günther
  2023-09-24 14:25 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Guido Günther @ 2023-09-05  6:15 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: shawnguo, angus, linux-arm-kernel, Fabio Estevam

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] arm64: dts: imx8mq-librem5: Fix gpio-hog property
  2023-09-05  0:23 [PATCH] arm64: dts: imx8mq-librem5: Fix gpio-hog property Fabio Estevam
  2023-09-05  6:15 ` Guido Günther
@ 2023-09-24 14:25 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2023-09-24 14:25 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: agx, angus, linux-arm-kernel, Fabio Estevam

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!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-24 14:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-05  0:23 [PATCH] arm64: dts: imx8mq-librem5: Fix gpio-hog property Fabio Estevam
2023-09-05  6:15 ` Guido Günther
2023-09-24 14:25 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).