diff mbox series

dt-bindings: net: dwmac: ingenic: Drop snps,dwmac compatible

Message ID 20210622134055.3861582-1-thierry.reding@gmail.com (mailing list archive)
State Not Applicable
Delegated to: Netdev Maintainers
Headers show
Series dt-bindings: net: dwmac: ingenic: Drop snps,dwmac compatible | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Thierry Reding June 22, 2021, 1:40 p.m. UTC
From: Thierry Reding <treding@nvidia.com>

The DT binding doesn't specify snps,dwmac as a valid compatible string,
so remove it from the example to avoid validation failures.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 Documentation/devicetree/bindings/net/ingenic,mac.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Rob Herring June 22, 2021, 4:32 p.m. UTC | #1
On Tue, Jun 22, 2021 at 7:39 AM Thierry Reding <thierry.reding@gmail.com> wrote:
>
> From: Thierry Reding <treding@nvidia.com>

There's another fix already[1], but I think your commit message is better.

> The DT binding doesn't specify snps,dwmac as a valid compatible string,
> so remove it from the example to avoid validation failures.
>

Fixes: 3b8401066e5a ("dt-bindings: dwmac: Add bindings for new Ingenic SoCs.")

> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
>  Documentation/devicetree/bindings/net/ingenic,mac.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Rob Herring <robh@kernel.org>


[1] https://lore.kernel.org/r/1624192730-43276-2-git-send-email-zhouyanjie@wanyeetech.com
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/net/ingenic,mac.yaml b/Documentation/devicetree/bindings/net/ingenic,mac.yaml
index 5e93d4f9a080..d08a88125a5c 100644
--- a/Documentation/devicetree/bindings/net/ingenic,mac.yaml
+++ b/Documentation/devicetree/bindings/net/ingenic,mac.yaml
@@ -61,7 +61,7 @@  examples:
     #include <dt-bindings/clock/x1000-cgu.h>
 
     mac: ethernet@134b0000 {
-        compatible = "ingenic,x1000-mac", "snps,dwmac";
+        compatible = "ingenic,x1000-mac";
         reg = <0x134b0000 0x2000>;
 
         interrupt-parent = <&intc>;