]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
net: cadence: macb: sama7g5_emac: Remove USARIO CLKEN flag
authorRyan Wanner <Ryan.Wanner@microchip.com>
Mon, 14 Jul 2025 16:37:02 +0000 (09:37 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 17 Jul 2025 00:28:37 +0000 (17:28 -0700)
Remove USARIO_CLKEN flag since this is now a device tree argument and
not fixed to the SoC.

This will instead be selected by the "cdns,refclk-ext"
device tree property.

Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com>
Link: https://patch.msgid.link/1e7a8c324526f631f279925aa8a6aa937d55c796.1752510727.git.Ryan.Wanner@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/cadence/macb_main.c

index 9693f0289435690bfed87186e1424272437b18fd..ce95fad8cedd7331d4818ba9f73fb6970249e85c 100644 (file)
@@ -5113,8 +5113,7 @@ 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_GEM_HAS_PTP,
+               MACB_CAPS_MIIONRGMII | MACB_CAPS_GEM_HAS_PTP,
        .dma_burst_length = 16,
        .clk_init = macb_clk_init,
        .init = macb_init,