netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add PTP support for sama7g5
@ 2023-02-21  9:21 Durai Manickam KR
  2023-02-21  9:21 ` [PATCH 1/2] net: macb: Add PTP support to GEM " Durai Manickam KR
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Durai Manickam KR @ 2023-02-21  9:21 UTC (permalink / raw)
  To: Hari.PrasathGE, balamanikandan.gunasundar, manikandan.m,
	varshini.rajendran, dharma.b, nayabbasha.sayed, balakrishnan.s,
	claudiu.beznea, cristian.birsan, nicolas.ferre, davem, edumazet,
	kuba, pabeni, richardcochran, linux, palmer, paul.walmsley,
	netdev, linux-kernel, linux-riscv
  Cc: Durai Manickam KR

This patch series is intended to add PTP capability to the GEM and 
EMAC for sama7g5.

Durai Manickam KR (2):
  net: macb: Add PTP support to GEM for sama7g5
  net: macb: Add PTP support to EMAC for sama7g5

 drivers/net/ethernet/cadence/macb_main.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/2] net: macb: Add PTP support to GEM for sama7g5
  2023-02-21  9:21 [PATCH 0/2] Add PTP support for sama7g5 Durai Manickam KR
@ 2023-02-21  9:21 ` Durai Manickam KR
  2023-02-21  9:21 ` [PATCH 2/2] net: macb: Add PTP support to EMAC " Durai Manickam KR
  2023-02-21 12:20 ` [PATCH 0/2] Add PTP support " Paolo Abeni
  2 siblings, 0 replies; 6+ messages in thread
From: Durai Manickam KR @ 2023-02-21  9:21 UTC (permalink / raw)
  To: Hari.PrasathGE, balamanikandan.gunasundar, manikandan.m,
	varshini.rajendran, dharma.b, nayabbasha.sayed, balakrishnan.s,
	claudiu.beznea, cristian.birsan, nicolas.ferre, davem, edumazet,
	kuba, pabeni, richardcochran, linux, palmer, paul.walmsley,
	netdev, linux-kernel, linux-riscv
  Cc: Durai Manickam KR

Add PTP capability to the Gigabit Ethernet MAC.

Signed-off-by: Durai Manickam KR <durai.manickamkr@microchip.com>
---
 drivers/net/ethernet/cadence/macb_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/cadence/macb_main.c b/drivers/net/ethernet/cadence/macb_main.c
index 6e141a8bbf43..27fc6c903d25 100644
--- a/drivers/net/ethernet/cadence/macb_main.c
+++ b/drivers/net/ethernet/cadence/macb_main.c
@@ -4844,7 +4844,7 @@ static const struct macb_config mpfs_config = {
 
 static const struct macb_config sama7g5_gem_config = {
 	.caps = MACB_CAPS_GIGABIT_MODE_AVAILABLE | MACB_CAPS_CLK_HW_CHG |
-		MACB_CAPS_MIIONRGMII,
+		MACB_CAPS_MIIONRGMII | MACB_CAPS_GEM_HAS_PTP,
 	.dma_burst_length = 16,
 	.clk_init = macb_clk_init,
 	.init = macb_init,
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] net: macb: Add PTP support to EMAC for sama7g5
  2023-02-21  9:21 [PATCH 0/2] Add PTP support for sama7g5 Durai Manickam KR
  2023-02-21  9:21 ` [PATCH 1/2] net: macb: Add PTP support to GEM " Durai Manickam KR
@ 2023-02-21  9:21 ` Durai Manickam KR
  2023-02-21 12:20 ` [PATCH 0/2] Add PTP support " Paolo Abeni
  2 siblings, 0 replies; 6+ messages in thread
From: Durai Manickam KR @ 2023-02-21  9:21 UTC (permalink / raw)
  To: Hari.PrasathGE, balamanikandan.gunasundar, manikandan.m,
	varshini.rajendran, dharma.b, nayabbasha.sayed, balakrishnan.s,
	claudiu.beznea, cristian.birsan, nicolas.ferre, davem, edumazet,
	kuba, pabeni, richardcochran, linux, palmer, paul.walmsley,
	netdev, linux-kernel, linux-riscv
  Cc: Durai Manickam KR

Add PTP capability to the Ethernet MAC.

Signed-off-by: Durai Manickam KR <durai.manickamkr@microchip.com>
---
 drivers/net/ethernet/cadence/macb_main.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/cadence/macb_main.c b/drivers/net/ethernet/cadence/macb_main.c
index 27fc6c903d25..1dbee16fe90a 100644
--- a/drivers/net/ethernet/cadence/macb_main.c
+++ b/drivers/net/ethernet/cadence/macb_main.c
@@ -4853,7 +4853,8 @@ static const struct macb_config sama7g5_gem_config = {
 
 static const struct macb_config sama7g5_emac_config = {
 	.caps = MACB_CAPS_USRIO_DEFAULT_IS_MII_GMII |
-		MACB_CAPS_USRIO_HAS_CLKEN | MACB_CAPS_MIIONRGMII,
+		MACB_CAPS_USRIO_HAS_CLKEN | MACB_CAPS_MIIONRGMII |
+		MACB_CAPS_GEM_HAS_PTP,
 	.dma_burst_length = 16,
 	.clk_init = macb_clk_init,
 	.init = macb_init,
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/2] Add PTP support for sama7g5
  2023-02-21  9:21 [PATCH 0/2] Add PTP support for sama7g5 Durai Manickam KR
  2023-02-21  9:21 ` [PATCH 1/2] net: macb: Add PTP support to GEM " Durai Manickam KR
  2023-02-21  9:21 ` [PATCH 2/2] net: macb: Add PTP support to EMAC " Durai Manickam KR
@ 2023-02-21 12:20 ` Paolo Abeni
  2 siblings, 0 replies; 6+ messages in thread
From: Paolo Abeni @ 2023-02-21 12:20 UTC (permalink / raw)
  To: Durai Manickam KR, Hari.PrasathGE, balamanikandan.gunasundar,
	manikandan.m, varshini.rajendran, dharma.b, nayabbasha.sayed,
	balakrishnan.s, claudiu.beznea, cristian.birsan, nicolas.ferre,
	davem, edumazet, kuba, richardcochran, linux, palmer,
	paul.walmsley, netdev, linux-kernel, linux-riscv

On Tue, 2023-02-21 at 14:51 +0530, Durai Manickam KR wrote:
> This patch series is intended to add PTP capability to the GEM and 
> EMAC for sama7g5.
> 
> Durai Manickam KR (2):
>   net: macb: Add PTP support to GEM for sama7g5
>   net: macb: Add PTP support to EMAC for sama7g5
> 
>  drivers/net/ethernet/cadence/macb_main.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

# Form letter - net-next is closed

The merge window for v6.3 has begun and therefore net-next is closed
for new drivers, features, code refactoring and optimizations.
We are currently accepting bug fixes only.

Please repost when net-next reopens after Mar 6th.

RFC patches sent for review only are obviously welcome at any time.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 2/2] net: macb: Add PTP support to EMAC for sama7g5
  2023-03-15  9:50 Durai Manickam KR
@ 2023-03-15  9:50 ` Durai Manickam KR
  2023-03-16 11:19   ` Claudiu.Beznea
  0 siblings, 1 reply; 6+ messages in thread
From: Durai Manickam KR @ 2023-03-15  9:50 UTC (permalink / raw)
  To: Hari.PrasathGE, balamanikandan.gunasundar, manikandan.m,
	varshini.rajendran, dharma.b, nayabbasha.sayed, balakrishnan.s,
	claudiu.beznea, cristian.birsan, nicolas.ferre, davem,
	linux-kernel, edumazet, kuba, richardcochran, linux, palmer,
	paul.walmsley, netdev, linux-riscv, pabeni
  Cc: Durai Manickam KR

Add PTP capability to the Ethernet MAC.

Signed-off-by: Durai Manickam KR <durai.manickamkr@microchip.com>
---
 drivers/net/ethernet/cadence/macb_main.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/cadence/macb_main.c b/drivers/net/ethernet/cadence/macb_main.c
index 27fc6c903d25..1dbee16fe90a 100644
--- a/drivers/net/ethernet/cadence/macb_main.c
+++ b/drivers/net/ethernet/cadence/macb_main.c
@@ -4853,7 +4853,8 @@ static const struct macb_config sama7g5_gem_config = {
 
 static const struct macb_config sama7g5_emac_config = {
 	.caps = MACB_CAPS_USRIO_DEFAULT_IS_MII_GMII |
-		MACB_CAPS_USRIO_HAS_CLKEN | MACB_CAPS_MIIONRGMII,
+		MACB_CAPS_USRIO_HAS_CLKEN | MACB_CAPS_MIIONRGMII |
+		MACB_CAPS_GEM_HAS_PTP,
 	.dma_burst_length = 16,
 	.clk_init = macb_clk_init,
 	.init = macb_init,
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] net: macb: Add PTP support to EMAC for sama7g5
  2023-03-15  9:50 ` [PATCH 2/2] net: macb: Add PTP support to EMAC " Durai Manickam KR
@ 2023-03-16 11:19   ` Claudiu.Beznea
  0 siblings, 0 replies; 6+ messages in thread
From: Claudiu.Beznea @ 2023-03-16 11:19 UTC (permalink / raw)
  To: Durai.ManickamKR, Hari.PrasathGE, Balamanikandan.Gunasundar,
	Manikandan.M, Varshini.Rajendran, Dharma.B, Nayabbasha.Sayed,
	Balakrishnan.S, Cristian.Birsan, Nicolas.Ferre, davem,
	linux-kernel, edumazet, kuba, richardcochran, linux, palmer,
	paul.walmsley, netdev, linux-riscv, pabeni

On 15.03.2023 11:50, Durai Manickam KR wrote:
> Add PTP capability to the Ethernet MAC.
> 
> Signed-off-by: Durai Manickam KR <durai.manickamkr@microchip.com>

Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>


> --->  drivers/net/ethernet/cadence/macb_main.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/net/ethernet/cadence/macb_main.c b/drivers/net/ethernet/cadence/macb_main.c
> index 27fc6c903d25..1dbee16fe90a 100644
> --- a/drivers/net/ethernet/cadence/macb_main.c
> +++ b/drivers/net/ethernet/cadence/macb_main.c
> @@ -4853,7 +4853,8 @@ static const struct macb_config sama7g5_gem_config = {
>  
>  static const struct macb_config sama7g5_emac_config = {
>  	.caps = MACB_CAPS_USRIO_DEFAULT_IS_MII_GMII |
> -		MACB_CAPS_USRIO_HAS_CLKEN | MACB_CAPS_MIIONRGMII,
> +		MACB_CAPS_USRIO_HAS_CLKEN | MACB_CAPS_MIIONRGMII |
> +		MACB_CAPS_GEM_HAS_PTP,
>  	.dma_burst_length = 16,
>  	.clk_init = macb_clk_init,
>  	.init = macb_init,


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-03-16 11:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-21  9:21 [PATCH 0/2] Add PTP support for sama7g5 Durai Manickam KR
2023-02-21  9:21 ` [PATCH 1/2] net: macb: Add PTP support to GEM " Durai Manickam KR
2023-02-21  9:21 ` [PATCH 2/2] net: macb: Add PTP support to EMAC " Durai Manickam KR
2023-02-21 12:20 ` [PATCH 0/2] Add PTP support " Paolo Abeni
  -- strict thread matches above, loose matches on Subject: below --
2023-03-15  9:50 Durai Manickam KR
2023-03-15  9:50 ` [PATCH 2/2] net: macb: Add PTP support to EMAC " Durai Manickam KR
2023-03-16 11:19   ` Claudiu.Beznea

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).