devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] gpio: support i.MX93 truly available GPIO pins
@ 2024-01-17  8:32 Hector Palacios
  2024-01-17  8:32 ` [PATCH v3 1/3] gpio: vf610: add support to DT 'ngpios' property Hector Palacios
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Hector Palacios @ 2024-01-17  8:32 UTC (permalink / raw)
  To: linus.walleij, brgl, robh+dt, krzysztof.kozlowski+dt
  Cc: andy, conor+dt, shawnguo, s.hauer, kernel, festevam, linux-imx,
	stefan, linux-gpio, devicetree, linux-kernel, hector.palacios

All four GPIO ports of i.MX93 SoC show 32 pins available, but
not every port has 32 pins.
Add support on the GPIO driver to 'ngpios' property and set
the truly available pins on the SoC device tree.

v3
* Move DT bindings to a patch of its own
* Improve reasoning for adding support in driver

v2
* Add 'ngpios' property to DT binding for proper validation

Hector Palacios (3):
      gpio: vf610: add support to DT 'ngpios' property
      dt-bindings: gpio: vf610: add optional 'ngpios'
      arm64: dts: imx93: specify available 'ngpios' per GPIO port

 Documentation/devicetree/bindings/gpio/gpio-vf610.yaml | 6 ++++++
 arch/arm64/boot/dts/freescale/imx93.dtsi               | 4 ++++
 drivers/gpio/gpio-vf610.c                              | 7 ++++++-
 3 files changed, 16 insertions(+), 1 deletion(-)


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

end of thread, other threads:[~2024-01-18 13:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-17  8:32 [PATCH v3 0/3] gpio: support i.MX93 truly available GPIO pins Hector Palacios
2024-01-17  8:32 ` [PATCH v3 1/3] gpio: vf610: add support to DT 'ngpios' property Hector Palacios
2024-01-17 20:51   ` Andy Shevchenko
2024-01-18  8:25     ` Hector Palacios
2024-01-18  9:03       ` Andy Shevchenko
2024-01-18 12:03         ` Bartosz Golaszewski
2024-01-18 12:44           ` Hector Palacios
2024-01-18 12:59             ` Bartosz Golaszewski
2024-01-17  8:32 ` [PATCH v3 2/3] dt-bindings: gpio: vf610: add optional 'ngpios' Hector Palacios
2024-01-17  8:55   ` Krzysztof Kozlowski
2024-01-17  8:32 ` [PATCH v3 3/3] arm64: dts: imx93: specify available 'ngpios' per GPIO port Hector Palacios

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