All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 1/2] dt-bindings: net: dsa: b53: Specify unit address in hex
@ 2020-10-03  9:30 Kurt Kanzenbach
  2020-10-03  9:30 ` [PATCH net-next 2/2] dt-bindings: net: dsa: b53: Fix full duplex in example Kurt Kanzenbach
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Kurt Kanzenbach @ 2020-10-03  9:30 UTC (permalink / raw)
  To: Florian Fainelli, Andrew Lunn, Vivien Didelot
  Cc: David S. Miller, Jakub Kicinski, Rob Herring, netdev, Kurt Kanzenbach

The unit address should be 1e, because the unit address is supposed
to be in hexadecimal.

Suggested-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
---
 Documentation/devicetree/bindings/net/dsa/b53.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/net/dsa/b53.txt b/Documentation/devicetree/bindings/net/dsa/b53.txt
index 80437b2fc935..3bb4e1086913 100644
--- a/Documentation/devicetree/bindings/net/dsa/b53.txt
+++ b/Documentation/devicetree/bindings/net/dsa/b53.txt
@@ -104,7 +104,7 @@ Ethernet switch connected via MDIO to the host, CPU port wired to eth0:
 		#address-cells = <1>;
 		#size-cells = <0>;
 
-		switch0: ethernet-switch@30 {
+		switch0: ethernet-switch@1e {
 			compatible = "brcm,bcm53125";
 			reg = <30>;
 			#address-cells = <1>;
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH net-next 2/2] dt-bindings: net: dsa: b53: Fix full duplex in example
  2020-10-03  9:30 [PATCH net-next 1/2] dt-bindings: net: dsa: b53: Specify unit address in hex Kurt Kanzenbach
@ 2020-10-03  9:30 ` Kurt Kanzenbach
  2020-10-03 15:56   ` Florian Fainelli
  2020-10-04  0:35   ` David Miller
  2020-10-03 15:55 ` [PATCH net-next 1/2] dt-bindings: net: dsa: b53: Specify unit address in hex Florian Fainelli
  2020-10-04  0:35 ` David Miller
  2 siblings, 2 replies; 7+ messages in thread
From: Kurt Kanzenbach @ 2020-10-03  9:30 UTC (permalink / raw)
  To: Florian Fainelli, Andrew Lunn, Vivien Didelot
  Cc: David S. Miller, Jakub Kicinski, Rob Herring, netdev, Kurt Kanzenbach

There is no such property as duplex-full. It's called full-duplex. Leading to
reduced speed when using the example as base for a real device tree.

Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
---
 Documentation/devicetree/bindings/net/dsa/b53.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/net/dsa/b53.txt b/Documentation/devicetree/bindings/net/dsa/b53.txt
index 3bb4e1086913..f1487a751b1a 100644
--- a/Documentation/devicetree/bindings/net/dsa/b53.txt
+++ b/Documentation/devicetree/bindings/net/dsa/b53.txt
@@ -95,7 +95,7 @@ Ethernet switch connected via MDIO to the host, CPU port wired to eth0:
 
 		fixed-link {
 			speed = <1000>;
-			duplex-full;
+			full-duplex;
 		};
 	};
 
@@ -129,7 +129,7 @@ Ethernet switch connected via MDIO to the host, CPU port wired to eth0:
 					label = "cable-modem";
 					fixed-link {
 						speed = <1000>;
-						duplex-full;
+						full-duplex;
 					};
 					phy-mode = "rgmii-txid";
 				};
@@ -139,7 +139,7 @@ Ethernet switch connected via MDIO to the host, CPU port wired to eth0:
 					label = "cpu";
 					fixed-link {
 						speed = <1000>;
-						duplex-full;
+						full-duplex;
 					};
 					phy-mode = "rgmii-txid";
 					ethernet = <&eth0>;
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH net-next 1/2] dt-bindings: net: dsa: b53: Specify unit address in hex
  2020-10-03  9:30 [PATCH net-next 1/2] dt-bindings: net: dsa: b53: Specify unit address in hex Kurt Kanzenbach
  2020-10-03  9:30 ` [PATCH net-next 2/2] dt-bindings: net: dsa: b53: Fix full duplex in example Kurt Kanzenbach
@ 2020-10-03 15:55 ` Florian Fainelli
  2020-10-04  0:35 ` David Miller
  2 siblings, 0 replies; 7+ messages in thread
From: Florian Fainelli @ 2020-10-03 15:55 UTC (permalink / raw)
  To: Kurt Kanzenbach, Andrew Lunn, Vivien Didelot
  Cc: David S. Miller, Jakub Kicinski, Rob Herring, netdev



On 10/3/2020 2:30 AM, Kurt Kanzenbach wrote:
> The unit address should be 1e, because the unit address is supposed
> to be in hexadecimal.
> 
> Suggested-by: Florian Fainelli <f.fainelli@gmail.com>
> Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH net-next 2/2] dt-bindings: net: dsa: b53: Fix full duplex in example
  2020-10-03  9:30 ` [PATCH net-next 2/2] dt-bindings: net: dsa: b53: Fix full duplex in example Kurt Kanzenbach
@ 2020-10-03 15:56   ` Florian Fainelli
  2020-10-04 11:00     ` Kurt Kanzenbach
  2020-10-04  0:35   ` David Miller
  1 sibling, 1 reply; 7+ messages in thread
From: Florian Fainelli @ 2020-10-03 15:56 UTC (permalink / raw)
  To: Kurt Kanzenbach, Andrew Lunn, Vivien Didelot
  Cc: David S. Miller, Jakub Kicinski, Rob Herring, netdev



On 10/3/2020 2:30 AM, Kurt Kanzenbach wrote:
> There is no such property as duplex-full. It's called full-duplex. Leading to
> reduced speed when using the example as base for a real device tree.

Doh, thanks for correcting this. Would you want to make this a YAML 
binding at some point? I can take care of it if you do not have time to 
do it.

> 
> Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH net-next 1/2] dt-bindings: net: dsa: b53: Specify unit address in hex
  2020-10-03  9:30 [PATCH net-next 1/2] dt-bindings: net: dsa: b53: Specify unit address in hex Kurt Kanzenbach
  2020-10-03  9:30 ` [PATCH net-next 2/2] dt-bindings: net: dsa: b53: Fix full duplex in example Kurt Kanzenbach
  2020-10-03 15:55 ` [PATCH net-next 1/2] dt-bindings: net: dsa: b53: Specify unit address in hex Florian Fainelli
@ 2020-10-04  0:35 ` David Miller
  2 siblings, 0 replies; 7+ messages in thread
From: David Miller @ 2020-10-04  0:35 UTC (permalink / raw)
  To: kurt; +Cc: f.fainelli, andrew, vivien.didelot, kuba, robh+dt, netdev

From: Kurt Kanzenbach <kurt@linutronix.de>
Date: Sat,  3 Oct 2020 11:30:50 +0200

> The unit address should be 1e, because the unit address is supposed
> to be in hexadecimal.
> 
> Suggested-by: Florian Fainelli <f.fainelli@gmail.com>
> Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>

Applied.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH net-next 2/2] dt-bindings: net: dsa: b53: Fix full duplex in example
  2020-10-03  9:30 ` [PATCH net-next 2/2] dt-bindings: net: dsa: b53: Fix full duplex in example Kurt Kanzenbach
  2020-10-03 15:56   ` Florian Fainelli
@ 2020-10-04  0:35   ` David Miller
  1 sibling, 0 replies; 7+ messages in thread
From: David Miller @ 2020-10-04  0:35 UTC (permalink / raw)
  To: kurt; +Cc: f.fainelli, andrew, vivien.didelot, kuba, robh+dt, netdev

From: Kurt Kanzenbach <kurt@linutronix.de>
Date: Sat,  3 Oct 2020 11:30:51 +0200

> There is no such property as duplex-full. It's called full-duplex. Leading to
> reduced speed when using the example as base for a real device tree.
> 
> Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>

Applied.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH net-next 2/2] dt-bindings: net: dsa: b53: Fix full duplex in example
  2020-10-03 15:56   ` Florian Fainelli
@ 2020-10-04 11:00     ` Kurt Kanzenbach
  0 siblings, 0 replies; 7+ messages in thread
From: Kurt Kanzenbach @ 2020-10-04 11:00 UTC (permalink / raw)
  To: Florian Fainelli, Andrew Lunn, Vivien Didelot
  Cc: David S. Miller, Jakub Kicinski, Rob Herring, netdev

[-- Attachment #1: Type: text/plain, Size: 613 bytes --]

On Sat Oct 03 2020, Florian Fainelli wrote:
> On 10/3/2020 2:30 AM, Kurt Kanzenbach wrote:
>> There is no such property as duplex-full. It's called full-duplex. Leading to
>> reduced speed when using the example as base for a real device tree.
>
> Doh, thanks for correcting this. Would you want to make this a YAML 
> binding at some point? I can take care of it if you do not have time to 
> do it.

Actually I have started to convert the DSA bindings to YAML, but ran out
of time very quickly. Unfortunately the b53 wasn't one of them I've
converted already. So, you can go ahead.

Thanks,
Kurt

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-10-04 11:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-03  9:30 [PATCH net-next 1/2] dt-bindings: net: dsa: b53: Specify unit address in hex Kurt Kanzenbach
2020-10-03  9:30 ` [PATCH net-next 2/2] dt-bindings: net: dsa: b53: Fix full duplex in example Kurt Kanzenbach
2020-10-03 15:56   ` Florian Fainelli
2020-10-04 11:00     ` Kurt Kanzenbach
2020-10-04  0:35   ` David Miller
2020-10-03 15:55 ` [PATCH net-next 1/2] dt-bindings: net: dsa: b53: Specify unit address in hex Florian Fainelli
2020-10-04  0:35 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.