Linux GPIO subsystem development
 help / color / mirror / Atom feed
* [PATCH 0/5] gpio: fxl6408: Fix regmap ranges/bursts and add PI4IOE5V6408, reset, bias, and IRQ support
@ 2026-11-26 18:03 Gianfranco Mariotti
  2026-11-26 18:03 ` [PATCH 1/5] gpio: fxl6408: Fix reserved register access and disable burst transfers Gianfranco Mariotti
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Gianfranco Mariotti @ 2026-11-26 18:03 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Emanuele Ghidoli, Andy Shevchenko, Francesco Dolcini, linux-gpio,
	devicetree, linux-kernel, Gianfranco Mariotti

This series fixes a regmap range / burst-transfer issue in gpio-fxl6408
and extends the binding and driver to cover its pin- and
register-compatible second source (Diodes Incorporated PI4IOE5V6408) as
well as the hardware features omitted from the initial minimal driver:

- Patch 1 fixes rd_range/wr_range exposing reserved even register 0x04
  (and omitting readable 0x07), and disables unsupported I2C burst
  transfers via use_single_read/use_single_write.
- Patch 2 splits fcs,fxl6408 out of trivial-gpio.yaml into a dedicated
  schema documenting reset-gpios, vcc/vddio supplies, and interrupt
  controller properties, and adds the diodes,pi4ioe5v6408 compatible
  with fallback to fcs,fxl6408.
- Patch 3 adds optional vcc/vddio regulator enablement and reset-gpios
  handling during probe.
- Patch 4 implements pull-up, pull-down, and bias-disable pin
  configuration via gpio-regmap's .set_config hook.
- Patch 5 adds rising/falling edge interrupt controller support using
  regmap-irq and gpio-regmap.

Hardware-tested on a Diodes Incorporated PI4IOE5V6408 (I2C register
access, reset-gpios, pull-up/pull-down/bias-disable configuration,
push-pull output, input status, and rising/falling edge interrupts).

Gianfranco Mariotti (5):
  gpio: fxl6408: Fix reserved register access and disable burst
    transfers
  dt-bindings: gpio: Split fcs,fxl6408 from trivial-gpio and add
    diodes,pi4ioe5v6408
  gpio: fxl6408: Support optional power supplies and reset GPIO
  gpio: fxl6408: Add pull-up and pull-down bias configuration
  gpio: fxl6408: Add interrupt controller support

 .../devicetree/bindings/gpio/fcs,fxl6408.yaml |  97 ++++++++++
 .../bindings/gpio/trivial-gpio.yaml           |   1 -
 drivers/gpio/Kconfig                          |   2 +
 drivers/gpio/gpio-fxl6408.c                   | 181 +++++++++++++++++-
 4 files changed, 278 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/gpio/fcs,fxl6408.yaml


base-commit: c6d8ebd7324cefda867a701b4341605b681aa3f5
-- 
2.25.1


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

end of thread, other threads:[~2026-11-26 18:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26 18:03 [PATCH 0/5] gpio: fxl6408: Fix regmap ranges/bursts and add PI4IOE5V6408, reset, bias, and IRQ support Gianfranco Mariotti
2026-11-26 18:03 ` [PATCH 1/5] gpio: fxl6408: Fix reserved register access and disable burst transfers Gianfranco Mariotti
2026-11-26 18:19   ` sashiko-bot
2026-11-26 18:03 ` [PATCH 2/5] dt-bindings: gpio: Split fcs,fxl6408 from trivial-gpio and add diodes,pi4ioe5v6408 Gianfranco Mariotti
2026-11-26 18:03 ` [PATCH 3/5] gpio: fxl6408: Support optional power supplies and reset GPIO Gianfranco Mariotti
2026-11-26 18:03 ` [PATCH 4/5] gpio: fxl6408: Add pull-up and pull-down bias configuration Gianfranco Mariotti
2026-11-26 18:03 ` [PATCH 5/5] gpio: fxl6408: Add interrupt controller support Gianfranco Mariotti
2026-11-26 18:25   ` sashiko-bot

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