All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/8] treewide: Add R-Car S4-8 Ethernet Switch support
@ 2022-09-21  8:47 Yoshihiro Shimoda
  2022-09-21  8:47 ` [PATCH v2 1/8] clk: renesas: r8a779f0: Add Ethernet Switch clocks Yoshihiro Shimoda
                   ` (8 more replies)
  0 siblings, 9 replies; 51+ messages in thread
From: Yoshihiro Shimoda @ 2022-09-21  8:47 UTC (permalink / raw)
  To: kishon, vkoul, davem, edumazet, kuba, pabeni, richardcochran,
	robh+dt, krzysztof.kozlowski+dt, geert+renesas
  Cc: andrew, linux-phy, netdev, devicetree, linux-renesas-soc,
	Yoshihiro Shimoda

This patch series is based on next-20220915.
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.

- patch [1/8] is for CCF.
- patch [2/8] and [3/8] are for Generic PHY.
- patch [4/8] through [6/8] are for Network Ethernet.
- patch [7/8] and [8/8] are for Renesas ARM64 SoC.

Changes from v1:
 https://lore.kernel.org/all/20220909132614.1967276-1-yoshihiro.shimoda.uh@renesas.com/
 - Separate Ethernet SERDES hardware block so that made a Generic PHY driver.
 - Separate PTP support into a patch as patch [6/8].
 - Fix dt-bindings of Ethernet Switch.
 - Remove module parameters from Ethernet Switch driver.
 - Wrote reverse christmas tree about local variables in all the code.
 - Improve error path handlings.
 - Add comment about the current hardware limitation.
 - Add comment about magic numbers about SERDES settings.

Yoshihiro Shimoda (8):
  clk: renesas: r8a779f0: Add Ethernet Switch clocks
  dt-bindings: phy: renesas: Document Renesas Ethernet SERDES
  phy: renesas: Add Renesas Ethernet SERDES driver for R-Car S4-8
  dt-bindings: net: renesas: Document Renesas Ethernet Switch
  net: ethernet: renesas: Add Ethernet Switch driver
  net: ethernet: renesas: rswitch: Add R-Car Gen4 gPTP support
  arm64: dts: renesas: r8a779f0: Add Ethernet Switch and SERDES nodes
  arm64: dts: renesas: r8a779f0: spider: Enable Ethernet Switch and
    SERDES

 .../bindings/net/renesas,etherswitch.yaml     |  286 +++
 .../bindings/phy/renesas,ether-serdes.yaml    |   54 +
 .../dts/renesas/r8a779f0-spider-ethernet.dtsi |   54 +
 arch/arm64/boot/dts/renesas/r8a779f0.dtsi     |  111 +
 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  |  151 ++
 drivers/net/ethernet/renesas/rcar_gen4_ptp.h  |   71 +
 drivers/net/ethernet/renesas/rswitch.c        | 1779 +++++++++++++++++
 drivers/net/ethernet/renesas/rswitch.h        |  967 +++++++++
 drivers/phy/renesas/Kconfig                   |    7 +
 drivers/phy/renesas/Makefile                  |    2 +-
 drivers/phy/renesas/r8a779f0-ether-serdes.c   |  303 +++
 14 files changed, 3801 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/net/renesas,etherswitch.yaml
 create mode 100644 Documentation/devicetree/bindings/phy/renesas,ether-serdes.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/phy/renesas/r8a779f0-ether-serdes.c

-- 
2.25.1


^ permalink raw reply	[flat|nested] 51+ messages in thread

end of thread, other threads:[~2022-09-26 10:35 UTC | newest]

Thread overview: 51+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-21  8:47 [PATCH v2 0/8] treewide: Add R-Car S4-8 Ethernet Switch support Yoshihiro Shimoda
2022-09-21  8:47 ` [PATCH v2 1/8] clk: renesas: r8a779f0: Add Ethernet Switch clocks Yoshihiro Shimoda
2022-09-21  8:47 ` [PATCH v2 2/8] dt-bindings: phy: renesas: Document Renesas Ethernet SERDES Yoshihiro Shimoda
2022-09-22  7:28   ` Krzysztof Kozlowski
2022-09-22  7:28     ` Krzysztof Kozlowski
2022-09-22  7:39     ` Yoshihiro Shimoda
2022-09-22  7:39       ` Yoshihiro Shimoda
2022-09-22  7:56       ` Geert Uytterhoeven
2022-09-22  7:56         ` Geert Uytterhoeven
2022-09-22  8:20         ` Yoshihiro Shimoda
2022-09-22  8:20           ` Yoshihiro Shimoda
2022-09-21  8:47 ` [PATCH v2 3/8] phy: renesas: Add Renesas Ethernet SERDES driver for R-Car S4-8 Yoshihiro Shimoda
2022-09-21  8:47 ` [PATCH v2 4/8] dt-bindings: net: renesas: Document Renesas Ethernet Switch Yoshihiro Shimoda
2022-09-22  7:37   ` Krzysztof Kozlowski
2022-09-22  7:37     ` Krzysztof Kozlowski
2022-09-22 12:13     ` Andrew Lunn
2022-09-22 12:13       ` Andrew Lunn
2022-09-26  6:10     ` Yoshihiro Shimoda
2022-09-26  6:10       ` Yoshihiro Shimoda
2022-09-26  6:50       ` Krzysztof Kozlowski
2022-09-26  6:50         ` Krzysztof Kozlowski
2022-09-26  9:14         ` Yoshihiro Shimoda
2022-09-26  9:14           ` Yoshihiro Shimoda
2022-09-26  9:25           ` Krzysztof Kozlowski
2022-09-26  9:25             ` Krzysztof Kozlowski
2022-09-26 10:20             ` Yoshihiro Shimoda
2022-09-26 10:20               ` Yoshihiro Shimoda
2022-09-21  8:47 ` [PATCH v2 5/8] net: ethernet: renesas: Add Ethernet Switch driver Yoshihiro Shimoda
2022-09-21  8:47 ` [PATCH v2 6/8] net: ethernet: renesas: rswitch: Add R-Car Gen4 gPTP support Yoshihiro Shimoda
2022-09-21 14:34   ` Richard Cochran
2022-09-21 14:34     ` Richard Cochran
2022-09-22  0:10     ` Yoshihiro Shimoda
2022-09-22  0:10       ` Yoshihiro Shimoda
2022-09-21  8:47 ` [PATCH v2 7/8] arm64: dts: renesas: r8a779f0: Add Ethernet Switch and SERDES nodes Yoshihiro Shimoda
2022-09-21  8:47 ` [PATCH v2 8/8] arm64: dts: renesas: r8a779f0: spider: Enable Ethernet Switch and SERDES Yoshihiro Shimoda
2022-09-21 14:40 ` [PATCH v2 0/8] treewide: Add R-Car S4-8 Ethernet Switch support Jakub Kicinski
2022-09-21 14:40   ` Jakub Kicinski
2022-09-22  0:46   ` Yoshihiro Shimoda
2022-09-22  0:46     ` Yoshihiro Shimoda
2022-09-22  1:06     ` Jakub Kicinski
2022-09-22  1:06       ` Jakub Kicinski
2022-09-22  1:18       ` Andrew Lunn
2022-09-22  1:18         ` Andrew Lunn
2022-09-22  1:31         ` Yoshihiro Shimoda
2022-09-22  1:31           ` Yoshihiro Shimoda
2022-09-22  1:20       ` Yoshihiro Shimoda
2022-09-22  1:20         ` Yoshihiro Shimoda
2022-09-24  6:57     ` Vinod Koul
2022-09-24  6:57       ` Vinod Koul
2022-09-26  0:21       ` Yoshihiro Shimoda
2022-09-26  0:21         ` Yoshihiro Shimoda

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.