diff options
author | Durai Manickam KR <durai.manickamkr@microchip.com> | 2023-03-15 10:50:53 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-03-17 01:21:51 +0100 |
commit | 9bae0dd05e61009bf45f4a6a8fbde87ed9567166 (patch) | |
tree | bd8fd59c2cf43386eb7a4993bb0856529ad94e00 /drivers/net/ethernet/cadence/macb_main.c | |
parent | net: macb: Add PTP support to GEM for sama7g5 (diff) | |
download | linux-9bae0dd05e61009bf45f4a6a8fbde87ed9567166.tar.xz linux-9bae0dd05e61009bf45f4a6a8fbde87ed9567166.zip |
net: macb: Add PTP support to EMAC for sama7g5
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>
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/ethernet/cadence/macb_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
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, |