[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250908154426.3062861-1-niklas.soderlund+renesas@ragnatech.se>
Date: Mon, 8 Sep 2025 17:44:23 +0200
From: Niklas Söderlund <niklas.soderlund+renesas@...natech.se>
To: Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>,
Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Richard Cochran <richardcochran@...il.com>,
netdev@...r.kernel.org,
linux-renesas-soc@...r.kernel.org
Cc: Niklas Söderlund <niklas.soderlund+renesas@...natech.se>
Subject: [PATCH 0/3] net: ethernet: renesas: rcar_gen4_ptp: Simplify register layout
Hello,
The daughter driver rcar_gen4_ptp used by both rswitch and rtsn where
upstreamed with support for possible different memory layouts on
different users. With all Gen4 boards upstream no such setup is
documented.
There are other issues related to how the rcar_gen4_ptp driver is shared
between multiple useres that needs to be cleaned up. But that will be a
larger work. So before that get some simple fixes done.
Patch 1/3 and 2/3 removes the support to allow different register
layouts on different SoCs by looking up offsets at runtime with a much
simpler interface. The new interface computes the offsets at compile
time.
While patch 3/3 is a drive-by patch taking a spurs comment and making a
lockdep check of it.
There is no intentional functional change in this series just cleaning
up in preparation of larger works to follow.
Niklas Söderlund (3):
net: ethernet: renesas: rcar_gen4_ptp: Remove different memory layout
net: ethernet: renesas: rcar_gen4_ptp: Hide register layout
net: ethernet: renesas: rcar_gen4_ptp: Use lockdep to verify internal
usage
drivers/net/ethernet/renesas/rcar_gen4_ptp.c | 76 ++++++++------------
drivers/net/ethernet/renesas/rcar_gen4_ptp.h | 33 +--------
drivers/net/ethernet/renesas/rswitch_main.c | 3 +-
drivers/net/ethernet/renesas/rtsn.c | 3 +-
4 files changed, 32 insertions(+), 83 deletions(-)
--
2.51.0
Powered by blists - more mailing lists