linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] CPSW Bindings for 5000M Fixed-Link
@ 2025-04-11  6:09 Siddharth Vadapalli
  2025-04-11  6:09 ` [PATCH net-next 1/2] dt-bindings: net: ethernet-controller: add 5000M speed to fixed-link Siddharth Vadapalli
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Siddharth Vadapalli @ 2025-04-11  6:09 UTC (permalink / raw)
  To: andrew+netdev, davem, edumazet, kuba, pabeni, robh, krzk+dt,
	conor+dt, rogerq
  Cc: netdev, devicetree, linux-kernel, linux-arm-kernel, srk,
	s-vadapalli

Hello,

This series adds 5000M as a valid speed for fixed-link mode of operation
and also updates the CPSW bindings to evaluate fixed-link property. This
series is in the context of the following device-tree overlay which
enables USXGMII 5000M Fixed-link mode of operation with CPSW on TI's
J784S4 SoC:
https://github.com/torvalds/linux/blob/v6.15-rc1/arch/arm64/boot/dts/ti/k3-j784s4-evm-usxgmii-exp1-exp2.dtso

Series is based on commit
0c49baf099ba r8169: add helper rtl8125_phy_param
of the main branch of net-next tree.

Regards,
Siddharth.

Siddharth Vadapalli (2):
  dt-bindings: net: ethernet-controller: add 5000M speed to fixed-link
  dt-bindings: net: ti: k3-am654-cpsw-nuss: evaluate fixed-link property

 Documentation/devicetree/bindings/net/ethernet-controller.yaml  | 2 +-
 .../devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml          | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

-- 
2.34.1



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

* [PATCH net-next 1/2] dt-bindings: net: ethernet-controller: add 5000M speed to fixed-link
  2025-04-11  6:09 [PATCH net-next 0/2] CPSW Bindings for 5000M Fixed-Link Siddharth Vadapalli
@ 2025-04-11  6:09 ` Siddharth Vadapalli
  2025-04-11 12:26   ` Andrew Lunn
  2025-04-11 19:43   ` Rob Herring (Arm)
  2025-04-11  6:09 ` [PATCH net-next 2/2] dt-bindings: net: ti: k3-am654-cpsw-nuss: evaluate fixed-link property Siddharth Vadapalli
  2025-04-14 23:10 ` [PATCH net-next 0/2] CPSW Bindings for 5000M Fixed-Link patchwork-bot+netdevbpf
  2 siblings, 2 replies; 7+ messages in thread
From: Siddharth Vadapalli @ 2025-04-11  6:09 UTC (permalink / raw)
  To: andrew+netdev, davem, edumazet, kuba, pabeni, robh, krzk+dt,
	conor+dt, rogerq
  Cc: netdev, devicetree, linux-kernel, linux-arm-kernel, srk,
	s-vadapalli

A link speed of 5000 Mbps is a valid speed for a fixed-link mode of
operation. Hence, update the bindings to include the same.

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
---
 Documentation/devicetree/bindings/net/ethernet-controller.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet-controller.yaml
index 45819b235800..61e51ea58a98 100644
--- a/Documentation/devicetree/bindings/net/ethernet-controller.yaml
+++ b/Documentation/devicetree/bindings/net/ethernet-controller.yaml
@@ -197,7 +197,7 @@ properties:
             description:
               Link speed.
             $ref: /schemas/types.yaml#/definitions/uint32
-            enum: [10, 100, 1000, 2500, 10000]
+            enum: [10, 100, 1000, 2500, 5000, 10000]
 
           full-duplex:
             $ref: /schemas/types.yaml#/definitions/flag
-- 
2.34.1



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

* [PATCH net-next 2/2] dt-bindings: net: ti: k3-am654-cpsw-nuss: evaluate fixed-link property
  2025-04-11  6:09 [PATCH net-next 0/2] CPSW Bindings for 5000M Fixed-Link Siddharth Vadapalli
  2025-04-11  6:09 ` [PATCH net-next 1/2] dt-bindings: net: ethernet-controller: add 5000M speed to fixed-link Siddharth Vadapalli
@ 2025-04-11  6:09 ` Siddharth Vadapalli
  2025-04-11 19:43   ` Rob Herring (Arm)
  2025-04-14 23:10 ` [PATCH net-next 0/2] CPSW Bindings for 5000M Fixed-Link patchwork-bot+netdevbpf
  2 siblings, 1 reply; 7+ messages in thread
From: Siddharth Vadapalli @ 2025-04-11  6:09 UTC (permalink / raw)
  To: andrew+netdev, davem, edumazet, kuba, pabeni, robh, krzk+dt,
	conor+dt, rogerq
  Cc: netdev, devicetree, linux-kernel, linux-arm-kernel, srk,
	s-vadapalli

Since the fixed-link (phyless) mode of operation is supported by the
CPSW MAC, include "fixed-link" in the set of properties to be evaluated.

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
---
 .../devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml          | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml b/Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml
index b11894fbaec4..7b3d948f187d 100644
--- a/Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml
+++ b/Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml
@@ -143,6 +143,8 @@ properties:
           label:
             description: label associated with this port
 
+          fixed-link: true
+
           ti,mac-only:
             $ref: /schemas/types.yaml#/definitions/flag
             description:
-- 
2.34.1



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

* Re: [PATCH net-next 1/2] dt-bindings: net: ethernet-controller: add 5000M speed to fixed-link
  2025-04-11  6:09 ` [PATCH net-next 1/2] dt-bindings: net: ethernet-controller: add 5000M speed to fixed-link Siddharth Vadapalli
@ 2025-04-11 12:26   ` Andrew Lunn
  2025-04-11 19:43   ` Rob Herring (Arm)
  1 sibling, 0 replies; 7+ messages in thread
From: Andrew Lunn @ 2025-04-11 12:26 UTC (permalink / raw)
  To: Siddharth Vadapalli
  Cc: andrew+netdev, davem, edumazet, kuba, pabeni, robh, krzk+dt,
	conor+dt, rogerq, netdev, devicetree, linux-kernel,
	linux-arm-kernel, srk

On Fri, Apr 11, 2025 at 11:39:16AM +0530, Siddharth Vadapalli wrote:
> A link speed of 5000 Mbps is a valid speed for a fixed-link mode of
> operation. Hence, update the bindings to include the same.

Yes, O.K. Technically any speed is valid for phylink fixed speed. You
could just as well say its a 42Mbps link. But keeping with the speeds
actually defined in 802.3 makes sense.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew


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

* Re: [PATCH net-next 1/2] dt-bindings: net: ethernet-controller: add 5000M speed to fixed-link
  2025-04-11  6:09 ` [PATCH net-next 1/2] dt-bindings: net: ethernet-controller: add 5000M speed to fixed-link Siddharth Vadapalli
  2025-04-11 12:26   ` Andrew Lunn
@ 2025-04-11 19:43   ` Rob Herring (Arm)
  1 sibling, 0 replies; 7+ messages in thread
From: Rob Herring (Arm) @ 2025-04-11 19:43 UTC (permalink / raw)
  To: Siddharth Vadapalli
  Cc: andrew+netdev, edumazet, devicetree, kuba, krzk+dt, pabeni,
	rogerq, davem, linux-kernel, netdev, conor+dt, srk,
	linux-arm-kernel


On Fri, 11 Apr 2025 11:39:16 +0530, Siddharth Vadapalli wrote:
> A link speed of 5000 Mbps is a valid speed for a fixed-link mode of
> operation. Hence, update the bindings to include the same.
> 
> Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
> ---
>  Documentation/devicetree/bindings/net/ethernet-controller.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

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



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

* Re: [PATCH net-next 2/2] dt-bindings: net: ti: k3-am654-cpsw-nuss: evaluate fixed-link property
  2025-04-11  6:09 ` [PATCH net-next 2/2] dt-bindings: net: ti: k3-am654-cpsw-nuss: evaluate fixed-link property Siddharth Vadapalli
@ 2025-04-11 19:43   ` Rob Herring (Arm)
  0 siblings, 0 replies; 7+ messages in thread
From: Rob Herring (Arm) @ 2025-04-11 19:43 UTC (permalink / raw)
  To: Siddharth Vadapalli
  Cc: edumazet, krzk+dt, conor+dt, rogerq, srk, linux-kernel, pabeni,
	davem, netdev, kuba, andrew+netdev, devicetree, linux-arm-kernel


On Fri, 11 Apr 2025 11:39:17 +0530, Siddharth Vadapalli wrote:
> Since the fixed-link (phyless) mode of operation is supported by the
> CPSW MAC, include "fixed-link" in the set of properties to be evaluated.
> 
> Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
> ---
>  .../devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml          | 2 ++
>  1 file changed, 2 insertions(+)
> 

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



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

* Re: [PATCH net-next 0/2] CPSW Bindings for 5000M Fixed-Link
  2025-04-11  6:09 [PATCH net-next 0/2] CPSW Bindings for 5000M Fixed-Link Siddharth Vadapalli
  2025-04-11  6:09 ` [PATCH net-next 1/2] dt-bindings: net: ethernet-controller: add 5000M speed to fixed-link Siddharth Vadapalli
  2025-04-11  6:09 ` [PATCH net-next 2/2] dt-bindings: net: ti: k3-am654-cpsw-nuss: evaluate fixed-link property Siddharth Vadapalli
@ 2025-04-14 23:10 ` patchwork-bot+netdevbpf
  2 siblings, 0 replies; 7+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-04-14 23:10 UTC (permalink / raw)
  To: Siddharth Vadapalli
  Cc: andrew+netdev, davem, edumazet, kuba, pabeni, robh, krzk+dt,
	conor+dt, rogerq, netdev, devicetree, linux-kernel,
	linux-arm-kernel, srk

Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 11 Apr 2025 11:39:15 +0530 you wrote:
> Hello,
> 
> This series adds 5000M as a valid speed for fixed-link mode of operation
> and also updates the CPSW bindings to evaluate fixed-link property. This
> series is in the context of the following device-tree overlay which
> enables USXGMII 5000M Fixed-link mode of operation with CPSW on TI's
> J784S4 SoC:
> https://github.com/torvalds/linux/blob/v6.15-rc1/arch/arm64/boot/dts/ti/k3-j784s4-evm-usxgmii-exp1-exp2.dtso
> 
> [...]

Here is the summary with links:
  - [net-next,1/2] dt-bindings: net: ethernet-controller: add 5000M speed to fixed-link
    https://git.kernel.org/netdev/net-next/c/f9c1120d9b5e
  - [net-next,2/2] dt-bindings: net: ti: k3-am654-cpsw-nuss: evaluate fixed-link property
    https://git.kernel.org/netdev/net-next/c/8b36a102c1a1

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] 7+ messages in thread

end of thread, other threads:[~2025-04-14 23:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-11  6:09 [PATCH net-next 0/2] CPSW Bindings for 5000M Fixed-Link Siddharth Vadapalli
2025-04-11  6:09 ` [PATCH net-next 1/2] dt-bindings: net: ethernet-controller: add 5000M speed to fixed-link Siddharth Vadapalli
2025-04-11 12:26   ` Andrew Lunn
2025-04-11 19:43   ` Rob Herring (Arm)
2025-04-11  6:09 ` [PATCH net-next 2/2] dt-bindings: net: ti: k3-am654-cpsw-nuss: evaluate fixed-link property Siddharth Vadapalli
2025-04-11 19:43   ` Rob Herring (Arm)
2025-04-14 23:10 ` [PATCH net-next 0/2] CPSW Bindings for 5000M Fixed-Link 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).