Add PTP support for sama7g5
Subsystems (4)
cover Add PTP support for sama7g5
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(-)
Signature · 7 lines
2.25.1 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
PATCH 1/2 net: macb: Add PTP support to GEM for sama7g5
Add PTP capability to the Gigabit Ethernet MAC.
--- drivers/net/ethernet/cadence/macb_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/cadence/macb_main.c +1 -1
@@ -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,
Signature · 7 lines
2.25.1 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Re: [PATCH 1/2] net: macb: Add PTP support to GEM for sama7g5
Quoted 3 lines · Durai Manickam KR
Add PTP capability to the Gigabit Ethernet MAC.
Signed-off-by Durai Manickam KR <[email protected]>
Quoted 9 lines
--- drivers/net/ethernet/cadence/macb_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/ethernet/cadence/macb_main.c +0
-0
drivers/net/ethernet/cadence/macb_main.c static const struct macb_config mpfs_config = { · line 4850
Quoted 8 lines
drivers/net/ethernet/cadence/macb_main.c +1
-1@@ -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,
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
PATCH 2/2 net: macb: Add PTP support to EMAC for sama7g5
In reply to Durai Manickam KRAdd PTP capability to the Ethernet MAC.
--- drivers/net/ethernet/cadence/macb_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/ethernet/cadence/macb_main.c +2 -1
@@ -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,
Signature · 7 lines
2.25.1 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Re: [PATCH 2/2] net: macb: Add PTP support to EMAC for sama7g5
Quoted 3 lines · Durai Manickam KR
Add PTP capability to the Ethernet MAC.
Signed-off-by Durai Manickam KR <[email protected]>
Quoted 8 lines
--->
drivers/net/ethernet/cadence/macb_main.c| 3 ++-1 file changed, 2 insertions(+), 1 deletion(-)drivers/net/ethernet/cadence/macb_main.c +0
-0
drivers/net/ethernet/cadence/macb_main.c static const struct macb_config sama7g5_gem_config = { · line 4860
Quoted 9 lines
drivers/net/ethernet/cadence/macb_main.c +2
-1@@ -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,
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 10 lines · 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 sama7g5drivers/net/ethernet/cadence/macb_main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
Side question, doesn't it need any software implementation? Or it is already implemented, or it is only hw caps?
Quoted 3 lines
Signature · 1 line
2.25.1
Quoted 12 lines · Michal Swiatkowski
[Some people who received this message don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
Quoted 7 lines · 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
Quoted 7 lines
Quoted 3 lines
drivers/net/ethernet/cadence/macb_main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)Reviewed-by Michal Swiatkowski <[email protected]>Side question, doesn't it need any software implementation? Or it is already implemented, or it is only hw caps?
Hi Michal,
It is already implemented. Here the scope is to just enable it for sama7g5.
Quoted 3 lines
Quoted 3 lines
--
2.25.1
Quoted 16 lines · On Wed, Mar 15, 2023 at 11:56:15AM +0000, [email protected] wrote:
Quoted 15 lines · Michal Swiatkowski
[Some people who received this message don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
Quoted 10 lines · 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 sama7g5drivers/net/ethernet/cadence/macb_main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
Quoted 9 lines
Quoted 4 lines
Reviewed-by Michal Swiatkowski <[email protected]>Side question, doesn't it need any software implementation? Or it is already implemented, or it is only hw caps?
Hi Michal,
It is already implemented. Here the scope is to just enable it for sama7g5.
Also, since commits lack target tree (net-next?) I'm not sure if the patches will be picked by bot and tested.
Piotr.
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines
--
2.25.1
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Jakub Kicinski
maintainerQuoted 4 lines · On Wed, 15 Mar 2023 13:43:17 +0100 Piotr Raczynski wrote:
Quoted 1 line
It is already implemented. Here the scope is to just enable it for sama7g5.
Also, since commits lack target tree (net-next?) I'm not sure if the patches will be picked by bot and tested.
The tree_selection check reports what tree it ended up picking, FWIW
This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Wed, 15 Mar 2023 15:20:51 +0530 you 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[...]
Here is the summary with links:
- [1/2] net: macb: Add PTP support to GEM for sama7g5
https://git.kernel.org/netdev/net-next/c/abc783a7b0ff - [2/2] net: macb: Add PTP support to EMAC for sama7g5 https://git.kernel.org/netdev/net-next/c/9bae0dd05e61
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html