net: stmmac: add renesas,rzn1-gmac support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest6 patches 5 repliesIn review
- v26 patches 4 repliesSuperseded
- v16 patches 7 repliesSuperseded
Changes in v3 from the cover letter
- Sort out the bindings compatible
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | net: pcs: rzn1-miic: add pcs_early_setup() functiondrivers/ include/ | +15 | 0 replies | |
| 2/6 | net: stmmac: add support to use a generic phylink_pcs as PCSdrivers/ drivers/ drivers/ | +4 | 0 replies | |
| 3/6 | net: stmmac: add support to provide pcs from platform datadrivers/ include/ | +4 | 0 replies | |
| 4/6 | dt-bindings: net: renesas,rzn1-gmac: Document RZ/N1 GMAC supportDocumentation/ | +67 | 2 replies | |
| 5/6 | net: stmmac: add support for RZ/N1 GMACdrivers/ drivers/ drivers/ | +132 | 2 replies | |
| 6/6 | ARM: dts: r9a06g032: describe GMAC1arch/ | +18 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH net-next v3 0/6] net: stmmac: add renesas,rzn1-gmac support
The rzn1-gmac instance is connected to a PCS (MIIC). In order to use this pcs, add support in the sttmac driver to set a generic phylink pcs device instead of the xpcs only. Moreover, it adds support to provide a phylink pcs device from the stmmac platform data and use it with the driver. It also adds the bindings and the new rzn1-gmac driver that retrieve this pcs from the device-tree.
---
V3:
- Sort out the bindings compatible
V2:
- Remove patch that moves phylink_start() earlier in init
- Add miic_early_qsetup() which allows initializing some miic port earlier to provide a RX clock to stmmac IP
- Call miic_early_setup() in rzn1 stmmac driver
- Fix bindings
Clément Léger (6):
net: pcs: rzn1-miic: add pcs_early_setup() function
net: stmmac: add support to use a generic phylink_pcs as PCS
net: stmmac: add support to provide pcs from platform data
dt-bindings: net: renesas,rzn1-gmac: Document RZ/N1 GMAC support
net: stmmac: add support for RZ/N1 GMAC
ARM: dts: r9a06g032: describe GMAC1
.../bindings/net/renesas,rzn1-gmac.yaml | 67 ++++++++++ arch/arm/boot/dts/r9a06g032.dtsi | 18 +++ drivers/net/ethernet/stmicro/stmmac/Kconfig | 11 ++ drivers/net/ethernet/stmicro/stmmac/Makefile | 1 + drivers/net/ethernet/stmicro/stmmac/common.h | 2 + .../net/ethernet/stmicro/stmmac/dwmac-rzn1.c | 120 ++++++++++++++++++ .../net/ethernet/stmicro/stmmac/stmmac_main.c | 8 +- .../net/ethernet/stmicro/stmmac/stmmac_mdio.c | 1 + drivers/net/pcs/pcs-rzn1-miic.c | 12 ++ include/linux/pcs-rzn1-miic.h | 3 + include/linux/stmmac.h | 1 + 11 files changed, 240 insertions(+), 4 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/renesas,rzn1-gmac.yaml create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-rzn1.c
Signature · 1 line
2.39.0