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 <andrei.pistir...@microchip.com>
---
Patch history:
Version 1:
This is just the common code for MACB/GEM-PTP support
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 <andrei.pistir...@microchip.com>
---
This is just the common code for GEM-PTP support
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 <andrei.pistir...@microchip.com>
Signed-off-by: Harini Katakam <hari...@xilinx.com>
---
Patch history:
Version 1:
This patch is based on origi
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 ease
API. Where timers are obtained from the PTP event/peer
registers.
Note: Patch on net-next, on December 7th.
Signed-off-by: Andrei Pistirica <andrei.pistir...@microchip.com>
---
Patch history:
Version 1:
Integration with SAMA5D2 only. This feature wasn't tested on any
other platform that
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
API. Where timers are obtained from the PTP event/peer
registers.
Note: Patch on net-next, on December 7th.
Signed-off-by: Andrei Pistirica <andrei.pistir...@microchip.com>
---
Patch history:
Version 1:
Integration with SAMA5D2 only. This feature wasn't tested on any
other platform that
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
with addend and
addendsub values. Each period addend and addendsub values are adjusted
based on ppm drift.
Signed-off-by: Andrei Pistirica <andrei.pistir...@microchip.com>
Signed-off-by: Harini Katakam <hari...@xilinx.com>
---
Patch history:
Version 1:
This patch is based on origi
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 ease
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: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: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 patch
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 patch
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 <andrei.pistir...@microchip.com>
---
Version 2 patch for: https://patchwork.kernel.org/patch/9
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
is reduced by 1 and subns_incr is adjusted in
positive accordingly.
Signed-off-by: Andrei Pistirica <andrei.pistir...@microchip.com>
Signed-off-by: Harini Katakam <hari...@xilinx.com>
---
Version 2 patch for: https://patchwork.kernel.org/patch/9310989/.
Modifications:
- bitfields for T
is 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
Hi Harini,
On 18.11.2016 10:43, Harini Katakam wrote:
Hi Rafal,
On Fri, Nov 18, 2016 at 3:00 PM, Rafal Ozieblo <raf...@cadence.com> wrote:
-Original Message-
From: Nicolas Ferre [mailto:nicolas.fe...@atmel.com]
Sent: 18 listopada 2016 10:10
To: Rafal Ozieblo; Harini Katakam;
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
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
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
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
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 <andrei.pistir...@microchip.com>
---
Integration with SAMA5D2 only. This feature wasn't tested on any
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 cadence/gem
stment greater than
the addendsub, ns_incr is reduced by 1 and subns_incr is adjusted in
positive accordingly.
Signed-off-by: Harini Katakam <hari...@xilinx.com>
Signed-off-by: Andrei Pistirica <andrei.pistir...@microchip.com>
---
This patch is based on original Harini's
the 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
other
PM
To: Harini Katakam <harinikatakamli...@gmail.com>; Harini Katakam
<hari...@xilinx.com>; Andrei Pistirica <andrei.pistir...@microchip.com>
Cc: da...@davemloft.net; Boris Brezillon <boris.brezillon@free-
electrons.com>; alexandre.bell...@free-electrons.com;
net...@vger.
PM
To: Harini Katakam ; Harini Katakam
; Andrei Pistirica
Cc: da...@davemloft.net; Boris Brezillon ; alexandre.bell...@free-electrons.com;
net...@vger.kernel.org; linux-kernel@vger.kernel.org;
devicet...@vger.kernel.org; Punnaiah Choudary Kalluri
; Michal Simek ; Anirudha
Sarangi
Subject: Re
34 matches
Mail list logo