diff mbox series

[1/2] arm64: dts: imx8-apalis-ixora: Remove invalid ngpios property

Message ID 20230908014429.608151-1-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series [1/2] arm64: dts: imx8-apalis-ixora: Remove invalid ngpios property | expand

Commit Message

Fabio Estevam Sept. 8, 2023, 1:44 a.m. UTC
From: Fabio Estevam <festevam@denx.de>

Per fsl-imx-gpio.yaml, 'ngpios' is not a valid property.

Remove it to fix the following schema warning:

imx8qm-apalis-v1.1-ixora-v1.2.dtb: gpio@5d0d0000: 'ngpios' does not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/gpio/fsl-imx-gpio.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.1.dtsi | 1 -
 arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.2.dtsi | 1 -
 2 files changed, 2 deletions(-)

Comments

Marcel Ziswiler Sept. 12, 2023, 12:53 p.m. UTC | #1
On Thu, 2023-09-07 at 22:44 -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> Per fsl-imx-gpio.yaml, 'ngpios' is not a valid property.
> 
> Remove it to fix the following schema warning:
> 
> imx8qm-apalis-v1.1-ixora-v1.2.dtb: gpio@5d0d0000: 'ngpios' does not match any of the regexes: '^(hog-[0-
> 9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
>         from schema $id: http://devicetree.org/schemas/gpio/fsl-imx-gpio.yaml#
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>

> ---
>  arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.1.dtsi | 1 -
>  arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.2.dtsi | 1 -
>  2 files changed, 2 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.1.dtsi b/arch/arm64/boot/dts/freescale/imx8-
> apalis-ixora-v1.1.dtsi
> index c6d51f116298..5438923a905c 100644
> --- a/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.1.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.1.dtsi
> @@ -165,7 +165,6 @@ &lsio_gpio5 {
>                           "gpio5-24", "UART24-FORCEOFF", "gpio5-26",
>                           "LED-4-GREEN", "gpio5-28", "LED-4-RED", "gpio5-30",
>                           "gpio5-31";
> -       ngpios = <32>;
>  };
>  
>  /* Apalis PWM3, MXM3 pin 6 */
> diff --git a/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.2.dtsi b/arch/arm64/boot/dts/freescale/imx8-
> apalis-ixora-v1.2.dtsi
> index 40067ab8aa74..72136c436a70 100644
> --- a/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.2.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.2.dtsi
> @@ -212,7 +212,6 @@ &lsio_gpio5 {
>                           "gpio5-24", "UART24-FORCEOFF", "gpio5-26",
>                           "LED-4-GREEN", "gpio5-28", "LED-4-RED", "gpio5-30",
>                           "gpio5-31";
> -       ngpios = <32>;
>  };
>  
>  /* Apalis PWM3, MXM3 pin 6 */
Shawn Guo Sept. 25, 2023, 1:53 a.m. UTC | #2
On Thu, Sep 07, 2023 at 10:44:28PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> Per fsl-imx-gpio.yaml, 'ngpios' is not a valid property.
> 
> Remove it to fix the following schema warning:
> 
> imx8qm-apalis-v1.1-ixora-v1.2.dtb: gpio@5d0d0000: 'ngpios' does not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
> 	from schema $id: http://devicetree.org/schemas/gpio/fsl-imx-gpio.yaml#
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied both, thanks!
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.1.dtsi b/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.1.dtsi
index c6d51f116298..5438923a905c 100644
--- a/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.1.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.1.dtsi
@@ -165,7 +165,6 @@  &lsio_gpio5 {
 			  "gpio5-24", "UART24-FORCEOFF", "gpio5-26",
 			  "LED-4-GREEN", "gpio5-28", "LED-4-RED", "gpio5-30",
 			  "gpio5-31";
-	ngpios = <32>;
 };
 
 /* Apalis PWM3, MXM3 pin 6 */
diff --git a/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.2.dtsi b/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.2.dtsi
index 40067ab8aa74..72136c436a70 100644
--- a/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.2.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.2.dtsi
@@ -212,7 +212,6 @@  &lsio_gpio5 {
 			  "gpio5-24", "UART24-FORCEOFF", "gpio5-26",
 			  "LED-4-GREEN", "gpio5-28", "LED-4-RED", "gpio5-30",
 			  "gpio5-31";
-	ngpios = <32>;
 };
 
 /* Apalis PWM3, MXM3 pin 6 */