mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v4 0/3] gpio: support i.MX93 truly available GPIO pins
@ 2024-01-17  9:44 Hector Palacios
  2024-01-17  9:44 ` [PATCH v4 1/3] gpio: vf610: add support to DT 'ngpios' property Hector Palacios
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Hector Palacios @ 2024-01-17  9:44 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.

v4
* Remove 'description' from 'npgio' field in bindings as it 
  is a generic one.

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 | 5 +++++
 arch/arm64/boot/dts/freescale/imx93.dtsi               | 4 ++++
 drivers/gpio/gpio-vf610.c                              | 7 ++++++-
 3 files changed, 15 insertions(+), 1 deletion(-)



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

end of thread, other threads:[~2024-07-18 17:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-17  9:44 [PATCH v4 0/3] gpio: support i.MX93 truly available GPIO pins Hector Palacios
2024-01-17  9:44 ` [PATCH v4 1/3] gpio: vf610: add support to DT 'ngpios' property Hector Palacios
2024-01-17 20:53   ` Andy Shevchenko
2024-01-17  9:44 ` [PATCH v4 2/3] dt-bindings: gpio: vf610: add optional 'ngpios' Hector Palacios
2024-01-17 10:09   ` Krzysztof Kozlowski
2024-01-17  9:44 ` [PATCH v4 3/3] arm64: dts: imx93: specify available 'ngpios' per GPIO port Hector Palacios
2024-01-17 10:04 ` [PATCH v4 0/3] gpio: support i.MX93 truly available GPIO pins Bartosz Golaszewski
2024-07-18 17:17 ` Stefan Wahren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®