net: stmmac: add support for dwmac 5.20
Subsystems (4)
PATCH v2 1/1 net: stmmac: add support for dwmac 5.20
The dwmac 5.20 IP can be found on some synaptics SoCs. Add a compatibility flag for it.
---
Since v1:
- fix the commit msg
drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c +1 -0
@@ -59,6 +59,7 @@ static const struct of_device_id dwmac_generic_match[] = { { .compatible = "snps,dwmac-3.72a"}, { .compatible = "snps,dwmac-4.00"}, { .compatible = "snps,dwmac-4.10a"}, + { .compatible = "snps,dwmac-5.20"}, { .compatible = "snps,dwmac"}, { .compatible = "snps,dwxgmac-2.10"}, { .compatible = "snps,dwxgmac"},
Signature · 1 line
2.49.0
Quoted 2 lines · Jisheng Zhang
The dwmac 5.20 IP can be found on some synaptics SoCs. Add a compatibility flag for it.
Is a compatible flag enough to make it actually work?
Andrew
Quoted 5 lines · Andrew Lunn
Quoted 2 lines · Jisheng Zhang
The dwmac 5.20 IP can be found on some synaptics SoCs. Add a compatibility flag for it.
Is a compatible flag enough to make it actually work?
Also, shouldn't there be a binding doc update?
Signature · 2 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
Quoted 6 lines · Russell King (Oracle)
Quoted 5 lines · Andrew Lunn
Quoted 2 lines · Jisheng Zhang
The dwmac 5.20 IP can be found on some synaptics SoCs. Add a compatibility flag for it.
Is a compatible flag enough to make it actually work?
Yep, it's enough, we are using dwmac-generic.c for DT based platforms
Quoted 2 lines
Also, shouldn't there be a binding doc update?
The binding doc is already upstreamed by the following commit:13f9351180aa ("dt-bindings: net: snps,dwmac: Add dwmac-5.20 version")
Hi Russell, Andrew,
Kindly let me know if I still need to do more to let this CL merged.
Thanks in advance
Quoted 3 lines
Signature · 2 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!