This patch does the following:
- MACB/GEM-PTP interface
- registers and bitfields for TSU
- capability flags to enable PTP per platform basis
Signed-off-by: Andrei Pistirica
---
Patch history:
Version 1:
This is just the common code for MACB/GEM-PTP support.
Code is based on the comments
This patch does the following:
- add GEM-PTP interface
- registers and bitfields for TSU are named according to SAMA5Dx data sheet
- PTP support based on platform capability
Signed-off-by: Andrei Pistirica
---
This is just the common code for GEM-PTP support. Code is based on the comments
with addend and
addendsub values. Each period addend and addendsub values are adjusted
based on ppm drift.
Signed-off-by: Andrei Pistirica
Signed-off-by: Harini Katakam
---
Patch history:
Version 1:
This patch is based on original Harini's patch, implemented in a
separate file to eas
API. Where timers are obtained from the PTP event/peer
registers.
Note: Patch on net-next, on December 7th.
Signed-off-by: Andrei Pistirica
---
Patch history:
Version 1:
Integration with SAMA5D2 only. This feature wasn't tested on any
other platform that might use cadence/gem.
Patch i
API. Where timers are obtained from the PTP event/peer
registers.
Note: Patch on net-next, on December 7th.
Signed-off-by: Andrei Pistirica
---
Patch history:
Version 1:
Integration with SAMA5D2 only. This feature wasn't tested on any
other platform that might use cadence/gem.
Patch i
with addend and
addendsub values. Each period addend and addendsub values are adjusted
based on ppm drift.
Signed-off-by: Andrei Pistirica
Signed-off-by: Harini Katakam
---
Patch history:
Version 1:
This patch is based on original Harini's patch, implemented in a
separate file to eas
On 20.11.2016 20:37, Richard Cochran wrote:
On Fri, Nov 18, 2016 at 03:21:51PM +0100, Andrei Pistirica wrote:
+#ifdef CONFIG_MACB_USE_HWSTAMP
+void macb_ptp_init(struct net_device *ndev);
+#else
+void macb_ptp_init(struct net_device *ndev) { }
static inline ^^^
I can do static inline only
On 20.11.2016 20:54, Richard Cochran wrote:
On Fri, Nov 18, 2016 at 03:21:52PM +0100, Andrei Pistirica wrote:
diff --git a/drivers/net/ethernet/cadence/macb.c
b/drivers/net/ethernet/cadence/macb.c
index d975882..eb66b76 100644
--- a/drivers/net/ethernet/cadence/macb.c
+++ b/drivers/net
On 20.11.2016 20:18, Richard Cochran wrote:
On Fri, Nov 18, 2016 at 03:21:51PM +0100, Andrei Pistirica wrote:
- Frequency adjustment is not directly supported by this IP.
This statement still makes no sense. Doesn't the following text...
This statement is inherited from original
reduced by 1 and subns_incr is adjusted in
positive accordingly.
Signed-off-by: Andrei Pistirica
Signed-off-by: Harini Katakam
---
Version 2 patch for: https://patchwork.kernel.org/patch/9310989/.
Modifications:
- bitfields for TSU are named according to SAMA5D2 data sheet
- identify GEM-PTP
Hardware time stamp on the PTP Ethernet packets are received using the
SO_TIMESTAMPING API. Where timers are obtained from the PTP event/peer
registers.
Signed-off-by: Andrei Pistirica
---
Version 2 patch for: https://patchwork.kernel.org/patch/9310991/
Modificaions:
- add PTP caps for SAMA5D2/3
Hi Harini,
On 18.11.2016 10:43, Harini Katakam wrote:
Hi Rafal,
On Fri, Nov 18, 2016 at 3:00 PM, Rafal Ozieblo wrote:
-Original Message-
From: Nicolas Ferre [mailto:nicolas.fe...@atmel.com]
Sent: 18 listopada 2016 10:10
To: Rafal Ozieblo; Harini Katakam; Andrei Pistirica
Cc
Hi Richard,
I will take your indications into account in next version of the patch.
Regards,
Andrei
On 06.09.2016 18:37, Richard Cochran wrote:
On Fri, Sep 02, 2016 at 02:53:37PM +0200, Andrei Pistirica wrote:
Hardware time stamp on the PTP Ethernet packets are received using the
On 06.09.2016 17:48, Richard Cochran wrote:
I have some issues with this patch...
On Fri, Sep 02, 2016 at 02:53:36PM +0200, Andrei Pistirica wrote:
- Frequency adjustment is not directly supported by this IP.
addend is the initial value ns increment and similarly addendesub.
The ppb
addendsub, ns_incr is reduced by 1 and subns_incr is adjusted in
positive accordingly.
Signed-off-by: Harini Katakam
Signed-off-by: Andrei Pistirica
---
This patch is based on original Harini's patch, implemented in a
separate file to ease the review/maintanance and integration with
Hardware time stamp on the PTP Ethernet packets are received using the
SO_TIMESTAMPING API. Timers are obtained from the PTP event/peer
gem registers.
Signed-off-by: Andrei Pistirica
---
Integration with SAMA5D2 only. This feature wasn't tested on any
other platform that might use cadenc
PM
To: Harini Katakam ; Harini Katakam
; Andrei Pistirica
Cc: da...@davemloft.net; Boris Brezillon ; alexandre.bell...@free-electrons.com;
netdev@vger.kernel.org; linux-ker...@vger.kernel.org;
devicet...@vger.kernel.org; Punnaiah Choudary Kalluri
; Michal Simek ; Anirudha
Sarangi
Subject: Re
17 matches
Mail list logo