| From: |
| Prabhakar <prabhakar.csengg-AT-gmail.com> |
| To: |
| Clément Léger <clement.leger-AT-bootlin.com>, Andrew Lunn <andrew+netdev-AT-lunn.ch>, "David S. Miller" <davem-AT-davemloft.net>, Eric Dumazet <edumazet-AT-google.com>, Jakub Kicinski <kuba-AT-kernel.org>, Paolo Abeni <pabeni-AT-redhat.com>, Rob Herring <robh-AT-kernel.org>, Krzysztof Kozlowski <krzk+dt-AT-kernel.org>, Conor Dooley <conor+dt-AT-kernel.org>, Heiner Kallweit <hkallweit1-AT-gmail.com>, Russell King <linux-AT-armlinux.org.uk>, Philipp Zabel <p.zabel-AT-pengutronix.de>, Wolfram Sang <wsa+renesas-AT-sang-engineering.com>, Geert Uytterhoeven <geert+renesas-AT-glider.be>, Magnus Damm <magnus.damm-AT-gmail.com> |
| Subject: |
| [PATCH net-next v3 0/9] Add PCS support for Renesas RZ/{T2H,N2H} SoCs |
| Date: |
| Wed, 10 Sep 2025 21:41:21 +0100 |
| Message-ID: |
| <20250910204132.319975-1-prabhakar.mahadev-lad.rj@bp.renesas.com> |
| Cc: |
| linux-renesas-soc-AT-vger.kernel.org, netdev-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, Prabhakar <prabhakar.csengg-AT-gmail.com>, Biju Das <biju.das.jz-AT-bp.renesas.com>, Fabrizio Castro <fabrizio.castro.jz-AT-renesas.com>, Lad Prabhakar <prabhakar.mahadev-lad.rj-AT-bp.renesas.com> |
| Archive-link: |
| Article |
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