# \[PATCH v3 0/4\] an8855: add MFD driver

- From: Christian Marangi \<ansuelsmth@gmail.com\>
- Date: 2026-11-17 16:41:51 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/11/17954138
- Thread: https://ratatoskr.run/linux-devicetree/2026/11/17954138/t.md

```text
This micro series is the AN8855 MFD driver that can go
parallel to the DSA driver.

Changes v3:
- Rebase on top of linux-next
- Reintroduce switch part
- Add already reviwed switch and phy part
- Use fwnode API
- Use __free for mdio_np
- Use capital letter for node
- Reorder header list
- Use ret directly instead of ret < 0 ...
- Use macro for u32 shift
- Use full 100 column char
- Use unique ddata instead of nested one

Changes v2:
- Rebase on top of linux-next
- Drop switch part from DT patch

Christian Marangi (4):
  dt-bindings: net: dsa: Document support for Airoha AN8855 DSA Switch
  dt-bindings: net: Document support for AN8855 Switch Internal PHY
  dt-bindings: mfd: Document support for Airoha AN8855 Switch SoC
  mfd: an8855: Add support for Airoha AN8855 Switch

 .../bindings/mfd/airoha,an8855.yaml           | 176 ++++++
 .../bindings/net/airoha,an8855-phy.yaml       |  83 +++
 .../net/dsa/airoha,an8855-switch.yaml         |  86 +++
 drivers/mfd/Kconfig                           |  14 +
 drivers/mfd/Makefile                          |   1 +
 drivers/mfd/airoha-an8855.c                   | 568 ++++++++++++++++++
 6 files changed, 928 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mfd/airoha,an8855.yaml
 create mode 100644 Documentation/devicetree/bindings/net/airoha,an8855-phy.yaml
 create mode 100644 Documentation/devicetree/bindings/net/dsa/airoha,an8855-switch.yaml
 create mode 100644 drivers/mfd/airoha-an8855.c

-- 
2.55.0

```
