From: Vadim Fedorenko <vadim.fedorenko@linux•dev>
To: Parvathi Pudi <parvathi@couthit•com>,
danishanwar@ti•com, rogerq@kernel•org, andrew+netdev@lunn•ch,
davem@davemloft•net, edumazet@google•com, kuba@kernel•org,
pabeni@redhat•com, robh@kernel•org, krzk+dt@kernel•org,
conor+dt@kernel•org, ssantosh@kernel•org,
richardcochran@gmail•com, s.hauer@pengutronix•de,
m-karicheri2@ti•com, glaroque@baylibre•com, afd@ti•com,
saikrishnag@marvell•com, m-malladi@ti•com,
jacob.e.keller@intel•com, diogo.ivo@siemens•com,
javier.carrasco.cruz@gmail•com, horms@kernel•org, s-anna@ti•com,
basharath@couthit•com
Cc: linux-arm-kernel@lists•infradead.org, netdev@vger•kernel.org,
devicetree@vger•kernel.org, linux-kernel@vger•kernel.org,
pratheesh@ti•com, prajith@ti•com, vigneshr@ti•com,
praneeth@ti•com, srk@ti•com, rogerq@ti•com, krishna@couthit•com,
pmohan@couthit•com, mohan@couthit•com
Subject: Re: [PATCH net-next v10 06/11] net: ti: prueth: Adds HW timestamping support for PTP using PRU-ICSS IEP module
Date: Thu, 3 Jul 2025 23:52:17 +0100 [thread overview]
Message-ID: <218ed5ce-6e0d-41f7-809b-04e554d08c5a@linux.dev> (raw)
In-Reply-To: <20250702151756.1656470-7-parvathi@couthit.com>
On 02/07/2025 16:17, Parvathi Pudi wrote:
> From: Roger Quadros <rogerq@ti•com>
>
> PRU-ICSS IEP module, which is capable of timestamping RX and
> TX packets at HW level, is used for time synchronization by PTP4L.
>
> This change includes interaction between firmware and user space
> application (ptp4l) with required packet timestamps. The driver
> initializes the PRU firmware with appropriate mode and configuration
> flags. Firmware updates local registers with the flags set by driver
> and uses for further operation. RX SOF timestamp comes along with
> packet and firmware will rise interrupt with TX SOF timestamp after
> pushing the packet on to the wire.
>
> IEP driver is available in upstream and we are reusing for hardware
> configuration for ICSSM as well. On top of that we have extended it
> with the changes for AM57xx SoC.
>
> Extended ethtool for reading HW timestamping capability of the PRU
> interfaces.
>
> Currently ordinary clock (OC) configuration has been validated with
> Linux ptp4l.
>
> Signed-off-by: Roger Quadros <rogerq@ti•com>
> Signed-off-by: Andrew F. Davis <afd@ti•com>
> Signed-off-by: Basharath Hussain Khaja <basharath@couthit•com>
> Signed-off-by: Parvathi Pudi <parvathi@couthit•com>
> ---
> drivers/net/ethernet/ti/icssg/icss_iep.c | 42 ++
> drivers/net/ethernet/ti/icssm/icssm_ethtool.c | 23 +
> drivers/net/ethernet/ti/icssm/icssm_prueth.c | 423 +++++++++++++++++-
> drivers/net/ethernet/ti/icssm/icssm_prueth.h | 11 +
> .../net/ethernet/ti/icssm/icssm_prueth_ptp.h | 85 ++++
> 5 files changed, 582 insertions(+), 2 deletions(-)
> create mode 100644 drivers/net/ethernet/ti/icssm/icssm_prueth_ptp.h
>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux•dev>
next prev parent reply other threads:[~2025-07-03 22:53 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-02 14:06 [PATCH net-next v10 00/11] PRU-ICSSM Ethernet Driver Parvathi Pudi
2025-07-02 14:06 ` [PATCH net-next v10 01/11] dt-bindings: net: ti: Adds DUAL-EMAC mode support on PRU-ICSS2 for AM57xx, AM43xx and AM33xx SOCs Parvathi Pudi
2025-07-02 14:06 ` [PATCH net-next v10 02/11] net: ti: prueth: Adds ICSSM Ethernet driver Parvathi Pudi
2025-07-09 0:44 ` Jakub Kicinski
2025-07-11 12:25 ` Parvathi Pudi
2025-07-02 14:06 ` [PATCH net-next v10 03/11] net: ti: prueth: Adds PRUETH HW and SW configuration Parvathi Pudi
2025-07-09 0:53 ` Jakub Kicinski
2025-07-11 12:28 ` Parvathi Pudi
2025-07-02 15:17 ` [PATCH net-next v10 04/11] net: ti: prueth: Adds link detection, RX and TX support Parvathi Pudi
2025-07-09 1:01 ` Jakub Kicinski
2025-07-11 12:33 ` Parvathi Pudi
2025-07-16 13:11 ` Parvathi Pudi
2025-07-16 21:09 ` Jakub Kicinski
2025-07-18 10:47 ` Parvathi Pudi
2025-07-18 17:09 ` Jakub Kicinski
2025-07-02 15:17 ` [PATCH net-next v10 05/11] net: ti: prueth: Adds ethtool support for ICSSM PRUETH Driver Parvathi Pudi
2025-07-02 15:17 ` [PATCH net-next v10 06/11] net: ti: prueth: Adds HW timestamping support for PTP using PRU-ICSS IEP module Parvathi Pudi
2025-07-03 22:52 ` Vadim Fedorenko [this message]
2025-07-02 15:17 ` [PATCH net-next v10 07/11] net: ti: prueth: Adds support for network filters for traffic control supported by PRU-ICSS Parvathi Pudi
2025-07-02 16:24 ` [PATCH net-next v10 08/11] net: ti: prueth: Adds support for RX interrupt coalescing/pacing Parvathi Pudi
2025-07-02 16:24 ` [PATCH net-next v10 09/11] net: ti: prueth: Adds power management support for PRU-ICSS Parvathi Pudi
2025-07-02 16:24 ` [PATCH net-next v10 10/11] net: ti: prueth: Adds support for PRUETH on AM33x and AM43x SOCs Parvathi Pudi
2025-07-02 16:24 ` [PATCH net-next v10 11/11] net: ti: prueth: Adds PTP OC Support for AM335x and AM437x Parvathi Pudi
2025-07-09 0:33 ` [PATCH net-next v10 00/11] PRU-ICSSM Ethernet Driver Jakub Kicinski
2025-07-11 12:20 ` Parvathi Pudi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=218ed5ce-6e0d-41f7-809b-04e554d08c5a@linux.dev \
--to=vadim.fedorenko@linux$(echo .)dev \
--cc=afd@ti$(echo .)com \
--cc=andrew+netdev@lunn$(echo .)ch \
--cc=basharath@couthit$(echo .)com \
--cc=conor+dt@kernel$(echo .)org \
--cc=danishanwar@ti$(echo .)com \
--cc=davem@davemloft$(echo .)net \
--cc=devicetree@vger$(echo .)kernel.org \
--cc=diogo.ivo@siemens$(echo .)com \
--cc=edumazet@google$(echo .)com \
--cc=glaroque@baylibre$(echo .)com \
--cc=horms@kernel$(echo .)org \
--cc=jacob.e.keller@intel$(echo .)com \
--cc=javier.carrasco.cruz@gmail$(echo .)com \
--cc=krishna@couthit$(echo .)com \
--cc=krzk+dt@kernel$(echo .)org \
--cc=kuba@kernel$(echo .)org \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=m-karicheri2@ti$(echo .)com \
--cc=m-malladi@ti$(echo .)com \
--cc=mohan@couthit$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=pabeni@redhat$(echo .)com \
--cc=parvathi@couthit$(echo .)com \
--cc=pmohan@couthit$(echo .)com \
--cc=prajith@ti$(echo .)com \
--cc=praneeth@ti$(echo .)com \
--cc=pratheesh@ti$(echo .)com \
--cc=richardcochran@gmail$(echo .)com \
--cc=robh@kernel$(echo .)org \
--cc=rogerq@kernel$(echo .)org \
--cc=rogerq@ti$(echo .)com \
--cc=s-anna@ti$(echo .)com \
--cc=s.hauer@pengutronix$(echo .)de \
--cc=saikrishnag@marvell$(echo .)com \
--cc=srk@ti$(echo .)com \
--cc=ssantosh@kernel$(echo .)org \
--cc=vigneshr@ti$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox