Skip to content

Commit 2eed720

Browse files
committed
Merge branch 'add-support-for-synopsis-designware-version-3-72a'
Lothar Rubusch says: ==================== Add support for Synopsis DesignWare version 3.72a Add compatibility and dt-binding for Synopsis DesignWare version 3.72a. The dwmac is used on some older Altera/Intel SoCs such as Arria10. Updating compatibles in the driver and bindings for the DT improves the binding check coverage for such SoCs. ==================== Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
2 parents 7a4ea5d + 8bed892 commit 2eed720

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

Documentation/devicetree/bindings/net/snps,dwmac.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ select:
2626
- snps,dwmac-3.610
2727
- snps,dwmac-3.70a
2828
- snps,dwmac-3.710
29+
- snps,dwmac-3.72a
2930
- snps,dwmac-4.00
3031
- snps,dwmac-4.10a
3132
- snps,dwmac-4.20a
@@ -90,6 +91,7 @@ properties:
9091
- snps,dwmac-3.610
9192
- snps,dwmac-3.70a
9293
- snps,dwmac-3.710
94+
- snps,dwmac-3.72a
9395
- snps,dwmac-4.00
9496
- snps,dwmac-4.10a
9597
- snps,dwmac-4.20a

drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ static const struct of_device_id dwmac_generic_match[] = {
5656
{ .compatible = "snps,dwmac-3.610"},
5757
{ .compatible = "snps,dwmac-3.70a"},
5858
{ .compatible = "snps,dwmac-3.710"},
59+
{ .compatible = "snps,dwmac-3.72a"},
5960
{ .compatible = "snps,dwmac-4.00"},
6061
{ .compatible = "snps,dwmac-4.10a"},
6162
{ .compatible = "snps,dwmac"},

drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,7 @@ stmmac_probe_config_dt(struct platform_device *pdev, u8 *mac)
522522
if (of_device_is_compatible(np, "st,spear600-gmac") ||
523523
of_device_is_compatible(np, "snps,dwmac-3.50a") ||
524524
of_device_is_compatible(np, "snps,dwmac-3.70a") ||
525+
of_device_is_compatible(np, "snps,dwmac-3.72a") ||
525526
of_device_is_compatible(np, "snps,dwmac")) {
526527
/* Note that the max-frame-size parameter as defined in the
527528
* ePAPR v1.1 spec is defined as max-frame-size, it's

0 commit comments

Comments
 (0)