[PATCH 0/5] gpio: fxl6408: Fix regmap ranges/bursts and add PI4IOE5V6408, reset, bias, and IRQ support

From: Gianfranco Mariotti

Date: Thu Nov 26 2026 - 13:03:26 EST


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