devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: imx6qdl-ts7970: Fix ngpio typo and count
@ 2022-06-30 18:27 Kris Bahnsen
  2022-06-30 18:55 ` Krzysztof Kozlowski
  2022-06-30 18:56 ` Krzysztof Kozlowski
  0 siblings, 2 replies; 5+ messages in thread
From: Kris Bahnsen @ 2022-06-30 18:27 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, devicetree, linux-kernel
  Cc: Mark Featherston, Kris Bahnsen

Device-tree incorrectly used "ngpio" which caused the driver to
fallback to 32 ngpios.

This platform has 62 GPIO registers.

Signed-off-by: Kris Bahnsen <kris@embeddedTS.com>
---
 arch/arm/boot/dts/imx6qdl-ts7970.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/imx6qdl-ts7970.dtsi b/arch/arm/boot/dts/imx6qdl-ts7970.dtsi
index fded07f370b3..d6ba4b2a60f6 100644
--- a/arch/arm/boot/dts/imx6qdl-ts7970.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-ts7970.dtsi
@@ -226,7 +226,7 @@
 		reg = <0x28>;
 		#gpio-cells = <2>;
 		gpio-controller;
-		ngpio = <32>;
+		ngpios = <62>;
 	};
 
 	sgtl5000: codec@a {

base-commit: 03c765b0e3b4cb5063276b086c76f7a612856a9a
-- 
2.11.0


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

end of thread, other threads:[~2022-06-30 19:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-30 18:27 [PATCH] ARM: dts: imx6qdl-ts7970: Fix ngpio typo and count Kris Bahnsen
2022-06-30 18:55 ` Krzysztof Kozlowski
2022-06-30 18:56 ` Krzysztof Kozlowski
2022-06-30 19:11   ` Kris Bahnsen
2022-06-30 19:27     ` Krzysztof Kozlowski

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).