2024-04-08 06:45:00

by Sascha Hauer

[permalink] [raw]
Subject: [PATCH] dt-bindings: net: rockchip-dwmac: use rgmii-id in example

The dwmac supports specifying the RGMII clock delays, but it is
recommended to use rgmii-id and to specify the delays in the phy node
instead [1].

Change the example accordingly to no longer promote this undesired
setting.

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

Signed-off-by: Sascha Hauer <[email protected]>
---
Documentation/devicetree/bindings/net/rockchip-dwmac.yaml | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
index 70bbc4220e2ac..6bbe96e352509 100644
--- a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
+++ b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
@@ -137,8 +137,6 @@ examples:
assigned-clock-parents = <&ext_gmac>;

rockchip,grf = <&grf>;
- phy-mode = "rgmii";
+ phy-mode = "rgmii-id";
clock_in_out = "input";
- tx_delay = <0x30>;
- rx_delay = <0x10>;
};

---
base-commit: 39cd87c4eb2b893354f3b850f916353f2658ae6f
change-id: 20240408-rockchip-dwmac-rgmii-id-binding-6166af659845

Best regards,
--
Sascha Hauer <[email protected]>



2024-04-08 14:03:41

by Andrew Lunn

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: net: rockchip-dwmac: use rgmii-id in example

On Mon, Apr 08, 2024 at 08:44:10AM +0200, Sascha Hauer wrote:
> The dwmac supports specifying the RGMII clock delays, but it is
> recommended to use rgmii-id and to specify the delays in the phy node
> instead [1].
>
> Change the example accordingly to no longer promote this undesired
> setting.
>
> [1] https://lore.kernel.org/all/[email protected]/
>
> Signed-off-by: Sascha Hauer <[email protected]>

Reviewed-by: Andrew Lunn <[email protected]>

Andrew

2024-04-08 14:13:54

by Dragan Simic

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: net: rockchip-dwmac: use rgmii-id in example

Hello Sascha,

On 2024-04-08 08:44, Sascha Hauer wrote:
> The dwmac supports specifying the RGMII clock delays, but it is
> recommended to use rgmii-id and to specify the delays in the phy node
> instead [1].
>
> Change the example accordingly to no longer promote this undesired
> setting.
>
> [1]
> https://lore.kernel.org/all/[email protected]/
>
> Signed-off-by: Sascha Hauer <[email protected]>

I'd suggest that the following link is also added to the patch
description as a reference, because it contains rather useful
information:

https://lore.kernel.org/linux-rockchip/[email protected]/

Otherwise,

Reviewed-by: Dragan Simic <[email protected]>

> ---
> Documentation/devicetree/bindings/net/rockchip-dwmac.yaml | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
> b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
> index 70bbc4220e2ac..6bbe96e352509 100644
> --- a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
> +++ b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
> @@ -137,8 +137,6 @@ examples:
> assigned-clock-parents = <&ext_gmac>;
>
> rockchip,grf = <&grf>;
> - phy-mode = "rgmii";
> + phy-mode = "rgmii-id";
> clock_in_out = "input";
> - tx_delay = <0x30>;
> - rx_delay = <0x10>;
> };
>
> ---
> base-commit: 39cd87c4eb2b893354f3b850f916353f2658ae6f
> change-id: 20240408-rockchip-dwmac-rgmii-id-binding-6166af659845
>
> Best regards,

2024-04-08 15:06:06

by Heiko Stuebner

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: net: rockchip-dwmac: use rgmii-id in example

Am Montag, 8. April 2024, 08:44:10 CEST schrieb Sascha Hauer:
> The dwmac supports specifying the RGMII clock delays, but it is
> recommended to use rgmii-id and to specify the delays in the phy node
> instead [1].
>
> Change the example accordingly to no longer promote this undesired
> setting.
>
> [1] https://lore.kernel.org/all/[email protected]/
>
> Signed-off-by: Sascha Hauer <[email protected]>

Reviewed-by: Heiko Stuebner <[email protected]>

> ---
> Documentation/devicetree/bindings/net/rockchip-dwmac.yaml | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
> index 70bbc4220e2ac..6bbe96e352509 100644
> --- a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
> +++ b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
> @@ -137,8 +137,6 @@ examples:
> assigned-clock-parents = <&ext_gmac>;
>
> rockchip,grf = <&grf>;
> - phy-mode = "rgmii";
> + phy-mode = "rgmii-id";
> clock_in_out = "input";
> - tx_delay = <0x30>;
> - rx_delay = <0x10>;
> };
>
> ---
> base-commit: 39cd87c4eb2b893354f3b850f916353f2658ae6f
> change-id: 20240408-rockchip-dwmac-rgmii-id-binding-6166af659845
>
> Best regards,
>





2024-04-08 17:04:32

by Conor Dooley

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: net: rockchip-dwmac: use rgmii-id in example

On Mon, Apr 08, 2024 at 08:44:10AM +0200, Sascha Hauer wrote:
> The dwmac supports specifying the RGMII clock delays, but it is
> recommended to use rgmii-id and to specify the delays in the phy node
> instead [1].
>
> Change the example accordingly to no longer promote this undesired
> setting.
>
> [1] https://lore.kernel.org/all/[email protected]/
>
> Signed-off-by: Sascha Hauer <[email protected]>

Acked-by: Conor Dooley <[email protected]>


Attachments:
(No filename) (505.00 B)
signature.asc (235.00 B)
Download all attachments

2024-04-09 11:41:43

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: net: rockchip-dwmac: use rgmii-id in example

Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <[email protected]>:

On Mon, 08 Apr 2024 08:44:10 +0200 you wrote:
> The dwmac supports specifying the RGMII clock delays, but it is
> recommended to use rgmii-id and to specify the delays in the phy node
> instead [1].
>
> Change the example accordingly to no longer promote this undesired
> setting.
>
> [...]

Here is the summary with links:
- dt-bindings: net: rockchip-dwmac: use rgmii-id in example
https://git.kernel.org/netdev/net-next/c/220d63f249ec

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html