* [PATCH v1 0/2] Add support for Synopsis DesignWare version 3.72a
@ 2024-11-02 11:41 Lothar Rubusch
2024-11-02 11:41 ` [PATCH v1 1/2] net: stmmac: add support for dwmac 3.72a Lothar Rubusch
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Lothar Rubusch @ 2024-11-02 11:41 UTC (permalink / raw)
To: robh, kuba
Cc: alexandre.torgue, joabreu, davem, edumazet, pabeni,
mcoquelin.stm32, netdev, linux-stm32, linux-arm-kernel, krzk+dt,
conor+dt, peppe.cavallaro, devicetree, l.rubusch, linux-kernel
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 <l.rubusch@gmail.com>
---
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(+)
--
2.39.2
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v1 1/2] net: stmmac: add support for dwmac 3.72a
2024-11-02 11:41 [PATCH v1 0/2] Add support for Synopsis DesignWare version 3.72a Lothar Rubusch
@ 2024-11-02 11:41 ` Lothar Rubusch
2024-11-03 18:20 ` Andrew Lunn
2024-11-02 11:41 ` [PATCH v1 2/2] dt-bindings: net: snps,dwmac: add support for Arria10 Lothar Rubusch
2024-11-06 1:50 ` [PATCH v1 0/2] Add support for Synopsis DesignWare version 3.72a patchwork-bot+netdevbpf
2 siblings, 1 reply; 5+ messages in thread
From: Lothar Rubusch @ 2024-11-02 11:41 UTC (permalink / raw)
To: robh, kuba
Cc: alexandre.torgue, joabreu, davem, edumazet, pabeni,
mcoquelin.stm32, netdev, linux-stm32, linux-arm-kernel, krzk+dt,
conor+dt, peppe.cavallaro, devicetree, l.rubusch, linux-kernel
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 <l.rubusch@gmail.com>
---
drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c | 1 +
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c
index 598eff926..b9218c07e 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c
@@ -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"},
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
index 54797edc9..e7e2d6c20 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
@@ -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
--
2.39.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v1 2/2] dt-bindings: net: snps,dwmac: add support for Arria10
2024-11-02 11:41 [PATCH v1 0/2] Add support for Synopsis DesignWare version 3.72a Lothar Rubusch
2024-11-02 11:41 ` [PATCH v1 1/2] net: stmmac: add support for dwmac 3.72a Lothar Rubusch
@ 2024-11-02 11:41 ` Lothar Rubusch
2024-11-06 1:50 ` [PATCH v1 0/2] Add support for Synopsis DesignWare version 3.72a patchwork-bot+netdevbpf
2 siblings, 0 replies; 5+ messages in thread
From: Lothar Rubusch @ 2024-11-02 11:41 UTC (permalink / raw)
To: robh, kuba
Cc: alexandre.torgue, joabreu, davem, edumazet, pabeni,
mcoquelin.stm32, netdev, linux-stm32, linux-arm-kernel, krzk+dt,
conor+dt, peppe.cavallaro, devicetree, l.rubusch, linux-kernel
The 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.
Signed-off-by: Lothar Rubusch <l.rubusch@gmail.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
---
Documentation/devicetree/bindings/net/snps,dwmac.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
index 15073627c..d26bb77eb 100644
--- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml
+++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
@@ -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
--
2.39.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v1 1/2] net: stmmac: add support for dwmac 3.72a
2024-11-02 11:41 ` [PATCH v1 1/2] net: stmmac: add support for dwmac 3.72a Lothar Rubusch
@ 2024-11-03 18:20 ` Andrew Lunn
0 siblings, 0 replies; 5+ messages in thread
From: Andrew Lunn @ 2024-11-03 18:20 UTC (permalink / raw)
To: Lothar Rubusch
Cc: robh, kuba, alexandre.torgue, joabreu, davem, edumazet, pabeni,
mcoquelin.stm32, netdev, linux-stm32, linux-arm-kernel, krzk+dt,
conor+dt, peppe.cavallaro, devicetree, linux-kernel
On Sat, Nov 02, 2024 at 11:41:21AM +0000, Lothar Rubusch wrote:
> 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 <l.rubusch@gmail.com>
Does what it says:
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Dumb question. What does the 'a' mean in the version? Or is this
actually hex?
Andrew
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v1 0/2] Add support for Synopsis DesignWare version 3.72a
2024-11-02 11:41 [PATCH v1 0/2] Add support for Synopsis DesignWare version 3.72a Lothar Rubusch
2024-11-02 11:41 ` [PATCH v1 1/2] net: stmmac: add support for dwmac 3.72a Lothar Rubusch
2024-11-02 11:41 ` [PATCH v1 2/2] dt-bindings: net: snps,dwmac: add support for Arria10 Lothar Rubusch
@ 2024-11-06 1:50 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 5+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-11-06 1:50 UTC (permalink / raw)
To: Lothar Rubusch
Cc: robh, kuba, alexandre.torgue, joabreu, davem, edumazet, pabeni,
mcoquelin.stm32, netdev, linux-stm32, linux-arm-kernel, krzk+dt,
conor+dt, peppe.cavallaro, devicetree, linux-kernel
Hello:
This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
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 <l.rubusch@gmail.com>
>
> [...]
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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-11-06 1:50 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-02 11:41 [PATCH v1 0/2] Add support for Synopsis DesignWare version 3.72a Lothar Rubusch
2024-11-02 11:41 ` [PATCH v1 1/2] net: stmmac: add support for dwmac 3.72a Lothar Rubusch
2024-11-03 18:20 ` Andrew Lunn
2024-11-02 11:41 ` [PATCH v1 2/2] dt-bindings: net: snps,dwmac: add support for Arria10 Lothar Rubusch
2024-11-06 1:50 ` [PATCH v1 0/2] Add support for Synopsis DesignWare version 3.72a patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).