* [PATCH 0/2] net: phy: mdio-bcm-unimac: Add BCM6846 variant
@ 2024-10-12 20:35 Linus Walleij
2024-10-12 20:35 ` [PATCH 1/2] dt-bindings: net: brcm,unimac-mdio: Add bcm6846-mdio Linus Walleij
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Linus Walleij @ 2024-10-12 20:35 UTC (permalink / raw)
To: Doug Berger, Florian Fainelli,
Broadcom internal kernel review list, David S. Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Rafał Miłecki,
Andrew Lunn, Heiner Kallweit, Russell King
Cc: Florian Fainelli, netdev, devicetree, Linus Walleij
As pointed out by Florian:
https://lore.kernel.org/linux-devicetree/b542b2e8-115c-4234-a464-e73aa6bece5c@broadcom.com/
The BCM6846 has a few extra registers and cannot reuse the
compatible string from other variants of the Unimac
MDIO block: we need to be able to tell them apart.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
Linus Walleij (2):
dt-bindings: net: brcm,unimac-mdio: Add bcm6846-mdio
net: phy: mdio-bcm-unimac: Add BCM6846 support
Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml | 1 +
drivers/net/mdio/mdio-bcm-unimac.c | 1 +
2 files changed, 2 insertions(+)
---
base-commit: 9852d85ec9d492ebef56dc5f229416c925758edc
change-id: 20241012-bcm6846-mdio-116b12d4ed11
Best regards,
--
Linus Walleij <linus.walleij@linaro.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] dt-bindings: net: brcm,unimac-mdio: Add bcm6846-mdio
2024-10-12 20:35 [PATCH 0/2] net: phy: mdio-bcm-unimac: Add BCM6846 variant Linus Walleij
@ 2024-10-12 20:35 ` Linus Walleij
2024-10-15 19:56 ` Rob Herring (Arm)
2024-10-12 20:35 ` [PATCH 2/2] net: phy: mdio-bcm-unimac: Add BCM6846 support Linus Walleij
2024-10-16 1:30 ` [PATCH 0/2] net: phy: mdio-bcm-unimac: Add BCM6846 variant patchwork-bot+netdevbpf
2 siblings, 1 reply; 5+ messages in thread
From: Linus Walleij @ 2024-10-12 20:35 UTC (permalink / raw)
To: Doug Berger, Florian Fainelli,
Broadcom internal kernel review list, David S. Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Rafał Miłecki,
Andrew Lunn, Heiner Kallweit, Russell King
Cc: Florian Fainelli, netdev, devicetree, Linus Walleij
The MDIO block in the BCM6846 is not identical to any of the
previous versions, but has extended registers not present in
the other variants. For this reason we need to use a new
compatible especially for this SoC.
Suggested-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/linux-devicetree/b542b2e8-115c-4234-a464-e73aa6bece5c@broadcom.com/
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml b/Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml
index 23dfe0838dca..63bee5b542f5 100644
--- a/Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml
+++ b/Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml
@@ -26,6 +26,7 @@ properties:
- brcm,asp-v2.1-mdio
- brcm,asp-v2.2-mdio
- brcm,unimac-mdio
+ - brcm,bcm6846-mdio
reg:
minItems: 1
--
2.46.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] net: phy: mdio-bcm-unimac: Add BCM6846 support
2024-10-12 20:35 [PATCH 0/2] net: phy: mdio-bcm-unimac: Add BCM6846 variant Linus Walleij
2024-10-12 20:35 ` [PATCH 1/2] dt-bindings: net: brcm,unimac-mdio: Add bcm6846-mdio Linus Walleij
@ 2024-10-12 20:35 ` Linus Walleij
2024-10-16 1:30 ` [PATCH 0/2] net: phy: mdio-bcm-unimac: Add BCM6846 variant patchwork-bot+netdevbpf
2 siblings, 0 replies; 5+ messages in thread
From: Linus Walleij @ 2024-10-12 20:35 UTC (permalink / raw)
To: Doug Berger, Florian Fainelli,
Broadcom internal kernel review list, David S. Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Rafał Miłecki,
Andrew Lunn, Heiner Kallweit, Russell King
Cc: Florian Fainelli, netdev, devicetree, Linus Walleij
Add Unimac mdio compatible string for the special BCM6846
variant.
This variant has a few extra registers compared to other
versions.
Suggested-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/linux-devicetree/b542b2e8-115c-4234-a464-e73aa6bece5c@broadcom.com/
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
drivers/net/mdio/mdio-bcm-unimac.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/mdio/mdio-bcm-unimac.c b/drivers/net/mdio/mdio-bcm-unimac.c
index f40eb50bb978..b7bc70586ee0 100644
--- a/drivers/net/mdio/mdio-bcm-unimac.c
+++ b/drivers/net/mdio/mdio-bcm-unimac.c
@@ -337,6 +337,7 @@ static const struct of_device_id unimac_mdio_ids[] = {
{ .compatible = "brcm,asp-v2.2-mdio", },
{ .compatible = "brcm,asp-v2.1-mdio", },
{ .compatible = "brcm,asp-v2.0-mdio", },
+ { .compatible = "brcm,bcm6846-mdio", },
{ .compatible = "brcm,genet-mdio-v5", },
{ .compatible = "brcm,genet-mdio-v4", },
{ .compatible = "brcm,genet-mdio-v3", },
--
2.46.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] dt-bindings: net: brcm,unimac-mdio: Add bcm6846-mdio
2024-10-12 20:35 ` [PATCH 1/2] dt-bindings: net: brcm,unimac-mdio: Add bcm6846-mdio Linus Walleij
@ 2024-10-15 19:56 ` Rob Herring (Arm)
0 siblings, 0 replies; 5+ messages in thread
From: Rob Herring (Arm) @ 2024-10-15 19:56 UTC (permalink / raw)
To: Linus Walleij
Cc: netdev, Paolo Abeni, Florian Fainelli, Florian Fainelli,
Jakub Kicinski, Broadcom internal kernel review list, Andrew Lunn,
Russell King, David S. Miller, devicetree, Doug Berger,
Heiner Kallweit, Eric Dumazet, Rafał Miłecki,
Krzysztof Kozlowski, Conor Dooley
On Sat, 12 Oct 2024 22:35:22 +0200, Linus Walleij wrote:
> The MDIO block in the BCM6846 is not identical to any of the
> previous versions, but has extended registers not present in
> the other variants. For this reason we need to use a new
> compatible especially for this SoC.
>
> Suggested-by: Florian Fainelli <florian.fainelli@broadcom.com>
> Link: https://lore.kernel.org/linux-devicetree/b542b2e8-115c-4234-a464-e73aa6bece5c@broadcom.com/
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 0/2] net: phy: mdio-bcm-unimac: Add BCM6846 variant
2024-10-12 20:35 [PATCH 0/2] net: phy: mdio-bcm-unimac: Add BCM6846 variant Linus Walleij
2024-10-12 20:35 ` [PATCH 1/2] dt-bindings: net: brcm,unimac-mdio: Add bcm6846-mdio Linus Walleij
2024-10-12 20:35 ` [PATCH 2/2] net: phy: mdio-bcm-unimac: Add BCM6846 support Linus Walleij
@ 2024-10-16 1:30 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 5+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-10-16 1:30 UTC (permalink / raw)
To: Linus Walleij
Cc: opendmb, florian.fainelli, bcm-kernel-feedback-list, davem,
edumazet, kuba, pabeni, robh, krzk+dt, conor+dt, rafal, andrew,
hkallweit1, linux, f.fainelli, netdev, devicetree
Hello:
This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Sat, 12 Oct 2024 22:35:21 +0200 you wrote:
> As pointed out by Florian:
> https://lore.kernel.org/linux-devicetree/b542b2e8-115c-4234-a464-e73aa6bece5c@broadcom.com/
>
> The BCM6846 has a few extra registers and cannot reuse the
> compatible string from other variants of the Unimac
> MDIO block: we need to be able to tell them apart.
>
> [...]
Here is the summary with links:
- [1/2] dt-bindings: net: brcm,unimac-mdio: Add bcm6846-mdio
https://git.kernel.org/netdev/net/c/6ed97afd75cc
- [2/2] net: phy: mdio-bcm-unimac: Add BCM6846 support
https://git.kernel.org/netdev/net/c/906b77ca91c7
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-10-16 1:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-12 20:35 [PATCH 0/2] net: phy: mdio-bcm-unimac: Add BCM6846 variant Linus Walleij
2024-10-12 20:35 ` [PATCH 1/2] dt-bindings: net: brcm,unimac-mdio: Add bcm6846-mdio Linus Walleij
2024-10-15 19:56 ` Rob Herring (Arm)
2024-10-12 20:35 ` [PATCH 2/2] net: phy: mdio-bcm-unimac: Add BCM6846 support Linus Walleij
2024-10-16 1:30 ` [PATCH 0/2] net: phy: mdio-bcm-unimac: Add BCM6846 variant 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).