]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ARM: dts: imx6qdl-ts7970: Fix ngpio typo and count
authorKris Bahnsen <kris@embeddedTS.com>
Thu, 30 Jun 2022 21:03:27 +0000 (14:03 -0700)
committerShawn Guo <shawnguo@kernel.org>
Tue, 5 Jul 2022 01:06:47 +0000 (09:06 +0800)
Device-tree incorrectly used "ngpio" which caused the driver to
fallback to 32 ngpios.

This platform has 62 GPIO registers.

Fixes: 278af68317de ("ARM: dts: TS-7970: add basic device tree")
Signed-off-by: Kris Bahnsen <kris@embeddedTS.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-ts7970.dtsi

index fded07f370b390b292466ec67477819ccaaba7cb..d6ba4b2a60f6f53f1e4f6a64eb783de13eae7a4f 100644 (file)
                reg = <0x28>;
                #gpio-cells = <2>;
                gpio-controller;
-               ngpio = <32>;
+               ngpios = <62>;
        };
 
        sgtl5000: codec@a {