diff mbox series

arm64: dts: imx8mm-emcon-avari: Fix gpio-cells

Message ID 20231113192649.25669-1-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series arm64: dts: imx8mm-emcon-avari: Fix gpio-cells | expand

Commit Message

Fabio Estevam Nov. 13, 2023, 7:26 p.m. UTC
From: Fabio Estevam <festevam@denx.de>

Per nxp,pcf8575.yaml, #gpio-cells should be 2.

Change it to fix the following schema warning:

imx8mm-emcon-avari.dtb: gpio@3a: #gpio-cells:0:0: 2 was expected
	from schema $id: http://devicetree.org/schemas/gpio/nxp,pcf8575.yaml#

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

Comments

Shawn Guo Dec. 6, 2023, 1:08 a.m. UTC | #1
On Mon, Nov 13, 2023 at 04:26:49PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> Per nxp,pcf8575.yaml, #gpio-cells should be 2.
> 
> Change it to fix the following schema warning:
> 
> imx8mm-emcon-avari.dtb: gpio@3a: #gpio-cells:0:0: 2 was expected
> 	from schema $id: http://devicetree.org/schemas/gpio/nxp,pcf8575.yaml#
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mm-emcon-avari.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-emcon-avari.dtsi
index d897a8527335..44c2cba41a1f 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-emcon-avari.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm-emcon-avari.dtsi
@@ -104,7 +104,7 @@  boardID: gpio@3a {
 		compatible = "nxp,pca8574";
 		reg = <0x3a>;
 		gpio-controller;
-		#gpio-cells = <1>;
+		#gpio-cells = <2>;
 	};
 };