Skip to contentSkip to conversation

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

PATCH In review Thierry Reding 2 participants 2 messages Jun 22, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: net: dwmac: ingenic: Drop snps,dwmac compatible

From: Thierry Reding <[email protected]>

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

---
 Documentation/devicetree/bindings/net/ingenic,mac.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/net/ingenic,mac.yaml +1 -1
index 5e93d4f9a080..d08a88125a5c 100644
@@ -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>;
Signature · 1 line
2.32.0
Acked-by on v1 1/1
#1 lore raw
Quoted 2 lines · Thierry Reding

From: Thierry Reding <[email protected]>

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

Quoted 3 lines

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.")
Quoted 4 lines
---
 Documentation/devicetree/bindings/net/ingenic,mac.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

[1] https://lore.kernel.org/r/[email protected]