[PATCH] arm64: dts: imx8mq-librem5: Fix gpio-hog property

Guido Günther agx at sigxcpu.org
Mon Sep 4 23:15:16 PDT 2023


Hi,
On Mon, Sep 04, 2023 at 09:23:03PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam at 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 at 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 at sigxcpu.org>
Thanks!
 -- GUido



More information about the linux-arm-kernel mailing list