Skip to content

Commit c42be53

Browse files
ryan-wannerkuba-moo
authored andcommitted
Revert "net: cadence: macb: sama7g5_emac: Remove USARIO CLKEN flag"
This reverts commit db40006. This commit can cause a Devicetree ABI break for older DTS files that rely this flag for RMII configuration. Adding this back in ensures that the older DTBs will not break. Fixes: db40006 ("net: cadence: macb: sama7g5_emac: Remove USARIO CLKEN flag") Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com> Link: https://patch.msgid.link/20250819163236.100680-1-Ryan.Wanner@microchip.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent a458b29 commit c42be53

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/net/ethernet/cadence/macb_main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5113,7 +5113,8 @@ static const struct macb_config sama7g5_gem_config = {
51135113

51145114
static const struct macb_config sama7g5_emac_config = {
51155115
.caps = MACB_CAPS_USRIO_DEFAULT_IS_MII_GMII |
5116-
MACB_CAPS_MIIONRGMII | MACB_CAPS_GEM_HAS_PTP,
5116+
MACB_CAPS_USRIO_HAS_CLKEN | MACB_CAPS_MIIONRGMII |
5117+
MACB_CAPS_GEM_HAS_PTP,
51175118
.dma_burst_length = 16,
51185119
.clk_init = macb_clk_init,
51195120
.init = macb_init,

0 commit comments

Comments
 (0)