[PATCH net-next v3 0/9] Add PCS support for Renesas RZ/{T2H,N2H} SoCs

Prabhakar posted 9 patches 3 weeks ago
.../bindings/net/pcs/renesas,rzn1-miic.yaml   | 177 +++++++---
drivers/net/pcs/Kconfig                       |  11 +-
drivers/net/pcs/pcs-rzn1-miic.c               | 317 +++++++++++++++---
.../net/renesas,r9a09g077-pcs-miic.h          |  36 ++
4 files changed, 440 insertions(+), 101 deletions(-)
create mode 100644 include/dt-bindings/net/renesas,r9a09g077-pcs-miic.h
[PATCH net-next v3 0/9] Add PCS support for Renesas RZ/{T2H,N2H} SoCs
Posted by Prabhakar 3 weeks ago
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

Hi All,

This series aims to add PCS support for the Renesas RZ/T2H and RZ/N2H SoCs
These SoCs include a MII converter (MIIC) that converts MII to RMII/RGMII
or can be set in pass-through mode for MII similar to the RZ/N1 SoC. The
MIIC is used in conjunction with the Ethernet switch (ETHSW) available on
these SoCs.

v2->v3:
- Moved reset handling from probe to a separate function
  miic_reset_control_init() to avoid checkpatch warnings.
- Added a comment about replacing with FIELD_PREP().
- Dropped inlining of miic_unlock_regs().
- Dropped inlining of miic_lock_regs().
- Fixed checkpatch warning to fit within 80 columns.
- Added Tested-by tag from Wolfram.
- Added Reviewed-by tag from Andrew.

v1->v2:
- Dropped regx in title and description in patch 1/9.
- As done for other IPs used T2H compatible as a fallback for N2H.
- Renamed pcs-rzt2h-miic.h -> renesas,r9a09g077-pcs-miic.h
- Added matrix table in the new header file.
- Corrected the resets check for RZ/N1.
- Updated the commit message in patch 1/9.
- Dropped regx in config description in patch 9/9.
- Dropped patch "net: pcs: rzn1-miic: Add PCS validate callback
  for RZ/T2H MIIC" is this already taken care in commit 508df2de7b3e
  as pointed by Russell King.

Cheers,
Prabhakar

Lad Prabhakar (9):
  dt-bindings: net: pcs: renesas,rzn1-miic: Add RZ/T2H and RZ/N2H
    support
  net: pcs: rzn1-miic: Drop trailing comma from of_device_id table
  net: pcs: rzn1-miic: Add missing include files
  net: pcs: rzn1-miic: Move configuration data to SoC-specific struct
  net: pcs: rzn1-miic: move port range handling into SoC data
  net: pcs: rzn1-miic: Make switch mode mask SoC-specific
  net: pcs: rzn1-miic: Add support to handle resets
  net: pcs: rzn1-miic: Add per-SoC control for MIIC register unlock/lock
  net: pcs: rzn1-miic: Add RZ/T2H MIIC support

 .../bindings/net/pcs/renesas,rzn1-miic.yaml   | 177 +++++++---
 drivers/net/pcs/Kconfig                       |  11 +-
 drivers/net/pcs/pcs-rzn1-miic.c               | 317 +++++++++++++++---
 .../net/renesas,r9a09g077-pcs-miic.h          |  36 ++
 4 files changed, 440 insertions(+), 101 deletions(-)
 create mode 100644 include/dt-bindings/net/renesas,r9a09g077-pcs-miic.h

-- 
2.51.0