mbox series

[0/4] net: Add NCN26010 driver

Message ID ZQf1JnM34pR9oimS@lopingdog.com (mailing list archive)
Headers show
Series net: Add NCN26010 driver | expand

Message

Jay Monkman Sept. 18, 2023, 6:58 a.m. UTC
This series adds support for onsemi's NCN26010 10BASE-T1S Ethernet controller. This is
a combined MAC/PHY that uses SPI to interface to a microcontroller.

The patches include devicetree bindings for the NCN26000 PHY and the
NCN26010, required changes to the NCN26000 PHY driver and the NCN26010
driver itself.


Jay Monkman (4):
  dt-bindings: net: Add bindings for onsemi NCN26000 PHY
  dt-bindings: net: Add onsemi NCN26010 ethernet controller
  net: phy: Add GPIO and DT support to NCN26000
  net/onsemi: Add NCN26010 driver

 .../devicetree/bindings/net/onnn,macphy.yaml  |   94 +
 .../bindings/net/onnn,ncn26000.yaml           |  177 ++
 drivers/net/ethernet/Kconfig                  |    1 +
 drivers/net/ethernet/Makefile                 |    1 +
 drivers/net/ethernet/onsemi/Kconfig           |   27 +
 drivers/net/ethernet/onsemi/Makefile          |    9 +
 drivers/net/ethernet/onsemi/onsemi_macphy.h   |  298 +++
 .../net/ethernet/onsemi/onsemi_macphy_core.c  | 2149 +++++++++++++++++
 .../ethernet/onsemi/onsemi_macphy_ethtool.c   |  179 ++
 drivers/net/phy/ncn26000.c                    |  467 +++-
 10 files changed, 3394 insertions(+), 8 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/onnn,macphy.yaml
 create mode 100644 Documentation/devicetree/bindings/net/onnn,ncn26000.yaml
 create mode 100644 drivers/net/ethernet/onsemi/Kconfig
 create mode 100644 drivers/net/ethernet/onsemi/Makefile
 create mode 100644 drivers/net/ethernet/onsemi/onsemi_macphy.h
 create mode 100644 drivers/net/ethernet/onsemi/onsemi_macphy_core.c
 create mode 100644 drivers/net/ethernet/onsemi/onsemi_macphy_ethtool.c