mbox series

[0/5] treewide: Add R-Car S4-8 Ethernet Switch support

Message ID 20220909132614.1967276-1-yoshihiro.shimoda.uh@renesas.com (mailing list archive)
Headers show
Series treewide: Add R-Car S4-8 Ethernet Switch support | expand

Message

Yoshihiro Shimoda Sept. 9, 2022, 1:26 p.m. UTC
This patch series is based on next-20220901.
Add minimal support for R-Car S4-8 Etherent Switch. This hardware
supports a lot of features. But, this driver only supports it as
act as an ethernet controller for now.

Yoshihiro Shimoda (5):
  clk: renesas: r8a779f0: Add Ethernet Switch clocks
  dt-bindings: net: renesas: Document Renesas Ethernet Switch
  net: ethernet: renesas: Add Ethernet Switch driver
  arm64: dts: renesas: r8a779f0: Add Ethernet Switch node
  arm64: dts: renesas: r8a779f0: spider: Enable Ethernet Switch

 .../bindings/net/renesas,etherswitch.yaml     |  252 +++
 .../dts/renesas/r8a779f0-spider-ethernet.dtsi |   44 +
 arch/arm64/boot/dts/renesas/r8a779f0.dtsi     |   87 +
 drivers/clk/renesas/r8a779f0-cpg-mssr.c       |    2 +
 drivers/net/ethernet/renesas/Kconfig          |   11 +
 drivers/net/ethernet/renesas/Makefile         |    4 +
 drivers/net/ethernet/renesas/rcar_gen4_ptp.c  |  154 ++
 drivers/net/ethernet/renesas/rcar_gen4_ptp.h  |   71 +
 drivers/net/ethernet/renesas/rswitch.c        | 1674 +++++++++++++++++
 drivers/net/ethernet/renesas/rswitch.h        |  971 ++++++++++
 drivers/net/ethernet/renesas/rswitch_serdes.c |  192 ++
 drivers/net/ethernet/renesas/rswitch_serdes.h |   16 +
 12 files changed, 3478 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/renesas,etherswitch.yaml
 create mode 100644 drivers/net/ethernet/renesas/rcar_gen4_ptp.c
 create mode 100644 drivers/net/ethernet/renesas/rcar_gen4_ptp.h
 create mode 100644 drivers/net/ethernet/renesas/rswitch.c
 create mode 100644 drivers/net/ethernet/renesas/rswitch.h
 create mode 100644 drivers/net/ethernet/renesas/rswitch_serdes.c
 create mode 100644 drivers/net/ethernet/renesas/rswitch_serdes.h