Add support for Synopsis DesignWare version 3.72a
Subsystems (5)
cover 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.
---
Lothar Rubusch (2):
net: stmmac: add support for dwmac 3.72a
dt-bindings: net: snps,dwmac: add support for Arria10
Documentation/devicetree/bindings/net/snps,dwmac.yaml | 2 ++ drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c | 1 + drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 1 + 3 files changed, 4 insertions(+)
Signature · 1 line
2.39.2
PATCH 1/2 net: stmmac: add support for dwmac 3.72a
The dwmac 3.72a is an ip version that can be found on Intel/Altera Arria10 SoCs. Going by the hardware features "snps,multicast-filter-bins" and "snps,perfect-filter-entries" shall be supported. Thus add a compatibility flag, and extend coverage of the driver for the 3.72a.
--- drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c | 1 + drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 1 + 2 files changed, 2 insertions(+)
drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c +1 -0
@@ -56,6 +56,7 @@ static const struct of_device_id dwmac_generic_match[] = { { .compatible = "snps,dwmac-3.610"}, { .compatible = "snps,dwmac-3.70a"}, { .compatible = "snps,dwmac-3.710"}, + { .compatible = "snps,dwmac-3.72a"}, { .compatible = "snps,dwmac-4.00"}, { .compatible = "snps,dwmac-4.10a"}, { .compatible = "snps,dwmac"},
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c +1 -0
@@ -522,6 +522,7 @@ stmmac_probe_config_dt(struct platform_device *pdev, u8 *mac)if (of_device_is_compatible (np,"st,spear600-gmac" ) ||of_device_is_compatible (np,"snps,dwmac-3.50a" ) ||of_device_is_compatible (np,"snps,dwmac-3.70a" ) || +of_device_is_compatible (np,"snps,dwmac-3.72a" ) ||of_device_is_compatible (np,"snps,dwmac" )) {/* Note that the max-frame-size parameter as defined in the * ePAPR v1.1 spec is defined as max-frame-size, it's
Signature · 1 line
2.39.2
Re: [PATCH v1 1/2] net: stmmac: add support for dwmac 3.72a
Quoted 6 lines · Lothar Rubusch
The dwmac 3.72a is an ip version that can be found on Intel/Altera Arria10 SoCs. Going by the hardware features "snps,multicast-filter-bins" and "snps,perfect-filter-entries" shall be supported. Thus add a compatibility flag, and extend coverage of the driver for the 3.72a.
Signed-off-by Lothar Rubusch <[email protected]>
Does what it says:
Dumb question. What does the 'a' mean in the version? Or is this actually hex?
Andrew
PATCH 2/2 dt-bindings: net: snps,dwmac: add support for Arria10
In reply to Lothar RubuschThe hard processor system (HPS) on the Intel/Altera Arria10 provides three Ethernet Media Access Controller (EMAC) peripherals. Each EMAC can be used to transmit and receive data at 10/100/1000 Mbps over ethernet connections in compliance with the IEEE 802.3 specification. The EMACs on the Arria10 are instances of the Synopsis DesignWare Universal 10/100/1000 Ethernet MAC, version 3.72a.
Support the Synopsis DesignWare version 3.72a, which is used in Intel's Arria10 SoC, since it was missing.
--- Documentation/devicetree/bindings/net/snps,dwmac.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/net/snps,dwmac.yaml +2 -0
@@ -26,6 +26,7 @@ select: - snps,dwmac-3.610 - snps,dwmac-3.70a - snps,dwmac-3.710 + - snps,dwmac-3.72a - snps,dwmac-4.00 - snps,dwmac-4.10a - snps,dwmac-4.20a
@@ -88,6 +89,7 @@ properties: - snps,dwmac-3.610 - snps,dwmac-3.70a - snps,dwmac-3.710 + - snps,dwmac-3.72a - snps,dwmac-4.00 - snps,dwmac-4.10a - snps,dwmac-4.20a
Signature · 1 line
2.39.2
This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Sat, 2 Nov 2024 11:41:20 +0000 you wrote:
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.
Signed-off-by Lothar Rubusch <[email protected]>[...]
Here is the summary with links:
- [v1,1/2] net: stmmac: add support for dwmac 3.72a
https://git.kernel.org/netdev/net-next/c/ffda5c62878f - [v1,2/2] dt-bindings: net: snps,dwmac: add support for Arria10 https://git.kernel.org/netdev/net-next/c/8bed89232a8c
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html