From: Inochi Amaoto Date: Mon, 16 Mar 2026 01:00:38 +0000 (+0800) Subject: net: stmmac: platform: Add snps,dwmac-5.40a IP compatible string X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d35aa97ea908a17809358a981bef6cd752f2e8a0;p=thirdparty%2Flinux.git net: stmmac: platform: Add snps,dwmac-5.40a IP compatible string Add compatible string for 5.40a version that can avoid to define some platform data in the glue layer. Signed-off-by: Inochi Amaoto Reviewed-by: Russell King (Oracle) Link: https://patch.msgid.link/20260316010041.164360-3-inochiama@gmail.com Signed-off-by: Jakub Kicinski --- diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c index 59aac0afc609a..545b8a3425eb4 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c @@ -403,6 +403,7 @@ static const char * const stmmac_gmac4_compats[] = { "snps,dwmac-5.10a", "snps,dwmac-5.20", "snps,dwmac-5.30a", + "snps,dwmac-5.40a", NULL };