The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/9] Add PCS support for Renesas RZ/{T2H,N2H} SoCs
@ 2025-09-10 20:41 Prabhakar
  2025-09-10 20:41 ` [PATCH net-next v3 1/9] dt-bindings: net: pcs: renesas,rzn1-miic: Add RZ/T2H and RZ/N2H support Prabhakar
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: Prabhakar @ 2025-09-10 20:41 UTC (permalink / raw)
  To: Clément Léger, Andrew Lunn, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Heiner Kallweit, Russell King,
	Philipp Zabel, Wolfram Sang, Geert Uytterhoeven, Magnus Damm
  Cc: linux-renesas-soc, netdev, devicetree, linux-kernel, Prabhakar,
	Biju Das, Fabrizio Castro, Lad Prabhakar

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


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

end of thread, other threads:[~2025-09-16  0:50 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-10 20:41 [PATCH net-next v3 0/9] Add PCS support for Renesas RZ/{T2H,N2H} SoCs Prabhakar
2025-09-10 20:41 ` [PATCH net-next v3 1/9] dt-bindings: net: pcs: renesas,rzn1-miic: Add RZ/T2H and RZ/N2H support Prabhakar
2025-09-15  0:25   ` Rob Herring (Arm)
2025-09-10 20:41 ` [PATCH net-next v3 2/9] net: pcs: rzn1-miic: Drop trailing comma from of_device_id table Prabhakar
2025-09-10 20:41 ` [PATCH net-next v3 3/9] net: pcs: rzn1-miic: Add missing include files Prabhakar
2025-09-10 20:41 ` [PATCH net-next v3 4/9] net: pcs: rzn1-miic: Move configuration data to SoC-specific struct Prabhakar
2025-09-10 20:41 ` [PATCH net-next v3 5/9] net: pcs: rzn1-miic: move port range handling into SoC data Prabhakar
2025-09-10 20:41 ` [PATCH net-next v3 6/9] net: pcs: rzn1-miic: Make switch mode mask SoC-specific Prabhakar
2025-09-10 20:41 ` [PATCH net-next v3 7/9] net: pcs: rzn1-miic: Add support to handle resets Prabhakar
2025-09-10 20:41 ` [PATCH net-next v3 8/9] net: pcs: rzn1-miic: Add per-SoC control for MIIC register unlock/lock Prabhakar
2025-09-10 20:41 ` [PATCH net-next v3 9/9] net: pcs: rzn1-miic: Add RZ/T2H MIIC support Prabhakar
2025-09-16  0:50 ` [PATCH net-next v3 0/9] Add PCS support for Renesas RZ/{T2H,N2H} SoCs patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox