* [PATCH] dt-bindings: net: dsa: b53: Add missing size and address cells to example
@ 2020-05-13 14:02 Kurt Kanzenbach
2020-05-13 14:58 ` Florian Fainelli
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Kurt Kanzenbach @ 2020-05-13 14:02 UTC (permalink / raw)
To: Andrew Lunn, Vivien Didelot, Florian Fainelli
Cc: David S. Miller, Rob Herring, netdev, Kurt Kanzenbach
Add the missing size and address cells to the b53 example. Otherwise, it may not
compile or issue warnings if directly copied into a device tree.
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
---
Documentation/devicetree/bindings/net/dsa/b53.txt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/dsa/b53.txt b/Documentation/devicetree/bindings/net/dsa/b53.txt
index 5201bc15fdd6..cfd1afdc6e94 100644
--- a/Documentation/devicetree/bindings/net/dsa/b53.txt
+++ b/Documentation/devicetree/bindings/net/dsa/b53.txt
@@ -110,6 +110,9 @@ Ethernet switch connected via MDIO to the host, CPU port wired to eth0:
#size-cells = <0>;
ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
port0@0 {
reg = <0>;
label = "lan1";
--
2.20.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: net: dsa: b53: Add missing size and address cells to example
2020-05-13 14:02 [PATCH] dt-bindings: net: dsa: b53: Add missing size and address cells to example Kurt Kanzenbach
@ 2020-05-13 14:58 ` Florian Fainelli
2020-05-13 19:40 ` David Miller
2020-05-17 19:32 ` David Miller
2 siblings, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2020-05-13 14:58 UTC (permalink / raw)
To: Kurt Kanzenbach, Andrew Lunn, Vivien Didelot
Cc: David S. Miller, Rob Herring, netdev
On 5/13/2020 7:02 AM, Kurt Kanzenbach wrote:
> Add the missing size and address cells to the b53 example. Otherwise, it may not
> compile or issue warnings if directly copied into a device tree.
>
> Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
--
Florian
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: net: dsa: b53: Add missing size and address cells to example
2020-05-13 14:02 [PATCH] dt-bindings: net: dsa: b53: Add missing size and address cells to example Kurt Kanzenbach
2020-05-13 14:58 ` Florian Fainelli
@ 2020-05-13 19:40 ` David Miller
2020-05-17 19:32 ` David Miller
2 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2020-05-13 19:40 UTC (permalink / raw)
To: kurt; +Cc: andrew, vivien.didelot, f.fainelli, robh+dt, netdev
From: Kurt Kanzenbach <kurt@linutronix.de>
Date: Wed, 13 May 2020 16:02:49 +0200
> Add the missing size and address cells to the b53 example. Otherwise, it may not
> compile or issue warnings if directly copied into a device tree.
>
> Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
Rob, do you want to take this or should I?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: net: dsa: b53: Add missing size and address cells to example
2020-05-13 14:02 [PATCH] dt-bindings: net: dsa: b53: Add missing size and address cells to example Kurt Kanzenbach
2020-05-13 14:58 ` Florian Fainelli
2020-05-13 19:40 ` David Miller
@ 2020-05-17 19:32 ` David Miller
2 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2020-05-17 19:32 UTC (permalink / raw)
To: kurt; +Cc: andrew, vivien.didelot, f.fainelli, robh+dt, netdev
From: Kurt Kanzenbach <kurt@linutronix.de>
Date: Wed, 13 May 2020 16:02:49 +0200
> Add the missing size and address cells to the b53 example. Otherwise, it may not
> compile or issue warnings if directly copied into a device tree.
>
> Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
Applied.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-05-17 19:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-13 14:02 [PATCH] dt-bindings: net: dsa: b53: Add missing size and address cells to example Kurt Kanzenbach
2020-05-13 14:58 ` Florian Fainelli
2020-05-13 19:40 ` David Miller
2020-05-17 19:32 ` David Miller
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).