This patch set adds support for the GPIO controllers on the QIXIS FPGAs
found on some Layerscape boards such as LX2160ARDB and LS1046AQDS.
The first patch adds the necessary dt-binding for the new GPIO
controller driver. The filename of the new dt-binding was chosen as the
common part between all the compatible strings added.
The next two patches extend the fsl,fpga-qixis-i2c dt-binding and the
simple-mfd-i2c driver so that the LX2160ARDB FPGA is also probed by said
driver.
Patches 3/9 and 4/9 extend gpio-regmap and add the actual new GPIO
driver for these fixed direction GPIO controllers.
The last 4 patches extend the device-tree for the LX2160ARDB and
LS1046AQDS boards by describing the QIXIS FPGAs, when necessary, adding
the GPIO controller nodes and also using said GPIO lines to describe the
on-board SFP cages.
This patch set depends on the following in-flight patch:
https://lore.kernel.org/all/20250707153120.1371719-1-ioana.ciornei@nxp.com/
Ioana Ciornei (9):
dt-bindings: gpio: add bindings for the QIXIS FPGA based GPIO
controller
dt-bindings: fsl,fpga-qixis-i2c: extend support to also cover the
LX2160ARDB FPGA
mfd: simple-mfd-i2c: add compatible string for LX2160ARDB
gpio: regmap: add the .get_direction() callback
drivers: gpio: add QIXIS FPGA GPIO controller
arm64: dts: lx2160a-rdb: describe the QIXIS FPGA and two child GPIO
controllers
arm64: dts: ls1046a-qds: describe the FPGA based GPIO controller
arm64: dts: lx2160a-rdb: fully describe the two SFP+ cages
arm64: dts: ls1046a-qds: describe the two on-board SFP+ cages
.../bindings/board/fsl,fpga-qixis-i2c.yaml | 35 +++++
.../bindings/gpio/fsl,fpga-gpio.yaml | 44 ++++++
.../boot/dts/freescale/fsl-ls1046a-qds.dts | 52 +++++++
.../boot/dts/freescale/fsl-lx2160a-rdb.dts | 76 ++++++++++
drivers/gpio/Kconfig | 9 ++
drivers/gpio/Makefile | 1 +
drivers/gpio/gpio-qixis-fpga.c | 141 ++++++++++++++++++
drivers/gpio/gpio-regmap.c | 17 ++-
drivers/mfd/simple-mfd-i2c.c | 1 +
include/linux/gpio/regmap.h | 3 +
10 files changed, 378 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/gpio/fsl,fpga-gpio.yaml
create mode 100644 drivers/gpio/gpio-qixis-fpga.c
--
2.25.1