[PATCH 0/6] mfd: simple-mfd-i2c: add QIXIS CPLD support

Ioana Ciornei
2025-04-30T15:43:05Z

The MDIO mux on the LX2160AQDS, LX2162AQDS and LS1028AQDS boards never
worked in mainline. The DT files were submitted initially as-is, and
there is a downstream driver for the QIXIS CPLD device:
https://github.com/nxp-qoriq/linux/blob/lf-6.12.y/drivers/soc/fsl/qixis_ctrl.c

Since the HW works with the already existing
driver/mfd/similar-mfd-i2c.c driver, extend the list of compatible
strings to also cover these 3 new boards, instead of trying to upstream
a duplicate driver.

This patch set also adapts the DT nodes for each of the affected boards
so that we match on the new compatible strings.

The last patch describes the two on-board RGMII PHYs found on the
LX2160AQDS boards which make use of the MDIO bus found behind the CPLD
driven MDIO mux.

Ioana Ciornei (5):
dt-bindings: mfd: add bindings for QIXIS CPLD
mfd: simple-mfd-i2c: add compatible string for Layerscape QIXIS CPLD
arm64: dts: lx2160a-qds: make the QIXIS CPLD use the simple-mfd-i2c.c
driver
arm64: dts: lx2162a-qds: make the QIXIS CPLD use the simple-mfd-i2c.c
driver
arm64: dts: lx2160a-qds: add the two on-board RGMII PHYs

Vladimir Oltean (1):
arm64: dts: ls1028a-qds: make the QIXIS CPLD use the simple-mfd-i2c.c
driver

.../bindings/mfd/fsl,qixis-i2c.yaml | 65 +++++++++++++++++++
.../boot/dts/freescale/fsl-ls1028a-qds.dts | 9 +--
.../boot/dts/freescale/fsl-lx2160a-qds.dts | 28 +++++++-
.../boot/dts/freescale/fsl-lx2162a-qds.dts | 8 ++-
drivers/mfd/simple-mfd-i2c.c | 3 +
5 files changed, 103 insertions(+), 10 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mfd/fsl,qixis-i2c.yaml

--
2.25.1