mbox series

[net-next,0/5] net: ethernet: renesas: rcar_gen4_ptp: Add V4H support

Message ID 20231117164332.354443-1-niklas.soderlund+renesas@ragnatech.se (mailing list archive)
Headers show
Series net: ethernet: renesas: rcar_gen4_ptp: Add V4H support | expand

Message

Niklas Söderlund Nov. 17, 2023, 4:43 p.m. UTC
Hello,

This small series prepares the rcar_gen4_ptp to be useable both on both 
R-Car S4 and V4H. The only in-tree driver that make use of this is 
rswtich on S4. A new Ethernet (R-Car Ethernet TSN) driver for V4H is on 
it's way that also will make use of rcar_gen4_ptp functionality.

Patch 1-2 are small improvements to the existing driver. While patch 3-4 
adds V4H support. Finally patch 5 turns rcar_gen4_ptp into a separate 
module to allow the gPTP functionality to be shared between the two 
users without having to duplicate the code in each.

Niklas Söderlund (5):
  net: ethernet: renesas: rcar_gen4_ptp: Remove incorrect comment
  net: ethernet: renesas: rcar_gen4_ptp: Fail on unknown register layout
  net: ethernet: renesas: rcar_gen4_ptp: Prepare for shared register
    layout
  net: ethernet: renesas: rcar_gen4_ptp: Add V4H clock setting
  net: ethernet: renesas: rcar_gen4_ptp: Break out to module

 drivers/net/ethernet/renesas/Kconfig         | 10 ++++++++
 drivers/net/ethernet/renesas/Makefile        |  5 ++--
 drivers/net/ethernet/renesas/rcar_gen4_ptp.c | 24 +++++++++++++++-----
 drivers/net/ethernet/renesas/rcar_gen4_ptp.h | 13 +++++++----
 drivers/net/ethernet/renesas/rswitch.c       |  2 +-
 5 files changed, 40 insertions(+), 14 deletions(-)