devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net] ARM: dts: aspeed: ast2600-evb: Correct phy-mode to rgmii-id
@ 2025-08-21  5:25 Jacky Chou
  2025-08-21  6:09 ` Krzysztof Kozlowski
  2025-08-22  0:11 ` Andrew Lunn
  0 siblings, 2 replies; 6+ messages in thread
From: Jacky Chou @ 2025-08-21  5:25 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, joel, andrew, howard_chiu, arnd,
	andrew+netdev
  Cc: devicetree, linux-arm-kernel, linux-aspeed, linux-kernel,
	jacky_chou

According to the latest ethernet-controller.yaml.
Since there is no RGMII delay on AST2600 EVB, the phy-mode property of all
MACs change to "rgmii-id" mode.

Fixes: 4d338ee40ba8 ("ARM: dts: aspeed: ast2600-evb: Enable RX delay for MAC0/MAC1")
Fixes: 2ca5646b5c2f ("ARM: dts: aspeed: Add AST2600 and EVB")
Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
---
 arch/arm/boot/dts/aspeed/aspeed-ast2600-evb.dts | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/aspeed/aspeed-ast2600-evb.dts b/arch/arm/boot/dts/aspeed/aspeed-ast2600-evb.dts
index de83c0eb1d6e..c4964e536ed7 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-ast2600-evb.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-ast2600-evb.dts
@@ -123,7 +123,7 @@ ethphy3: ethernet-phy@0 {
 &mac0 {
 	status = "okay";
 
-	phy-mode = "rgmii-rxid";
+	phy-mode = "rgmii-id";
 	phy-handle = <&ethphy0>;
 
 	pinctrl-names = "default";
@@ -134,7 +134,7 @@ &mac0 {
 &mac1 {
 	status = "okay";
 
-	phy-mode = "rgmii-rxid";
+	phy-mode = "rgmii-id";
 	phy-handle = <&ethphy1>;
 
 	pinctrl-names = "default";
@@ -144,7 +144,7 @@ &mac1 {
 &mac2 {
 	status = "okay";
 
-	phy-mode = "rgmii";
+	phy-mode = "rgmii-id";
 	phy-handle = <&ethphy2>;
 
 	pinctrl-names = "default";
@@ -154,7 +154,7 @@ &mac2 {
 &mac3 {
 	status = "okay";
 
-	phy-mode = "rgmii";
+	phy-mode = "rgmii-id";
 	phy-handle = <&ethphy3>;
 
 	pinctrl-names = "default";
-- 
2.34.1


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

* Re: [net] ARM: dts: aspeed: ast2600-evb: Correct phy-mode to rgmii-id
  2025-08-21  5:25 [net] ARM: dts: aspeed: ast2600-evb: Correct phy-mode to rgmii-id Jacky Chou
@ 2025-08-21  6:09 ` Krzysztof Kozlowski
  2025-08-21  6:17   ` 回覆: " Jacky Chou
  2025-08-22  0:11 ` Andrew Lunn
  1 sibling, 1 reply; 6+ messages in thread
From: Krzysztof Kozlowski @ 2025-08-21  6:09 UTC (permalink / raw)
  To: Jacky Chou, robh, krzk+dt, conor+dt, joel, andrew, howard_chiu,
	arnd, andrew+netdev
  Cc: devicetree, linux-arm-kernel, linux-aspeed, linux-kernel

On 21/08/2025 07:25, Jacky Chou wrote:
> According to the latest ethernet-controller.yaml.
> Since there is no RGMII delay on AST2600 EVB, the phy-mode property of all
> MACs change to "rgmii-id" mode.
> 
> Fixes: 4d338ee40ba8 ("ARM: dts: aspeed: ast2600-evb: Enable RX delay for MAC0/MAC1")
> Fixes: 2ca5646b5c2f ("ARM: dts: aspeed: Add AST2600 and EVB")
> Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
> ---
>  arch/arm/boot/dts/aspeed/aspeed-ast2600-evb.dts | 8 ++++----

No, DTS cannot go to net. Why do you propose that?

Best regards,
Krzysztof

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

* 回覆: [net] ARM: dts: aspeed: ast2600-evb: Correct phy-mode to rgmii-id
  2025-08-21  6:09 ` Krzysztof Kozlowski
@ 2025-08-21  6:17   ` Jacky Chou
  2025-08-21  6:30     ` Krzysztof Kozlowski
  0 siblings, 1 reply; 6+ messages in thread
From: Jacky Chou @ 2025-08-21  6:17 UTC (permalink / raw)
  To: Krzysztof Kozlowski, robh@kernel.org, krzk+dt@kernel.org,
	conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au,
	Z-Howard Chiu, arnd@arndb.de, andrew+netdev@lunn.ch
  Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org

Hi Krzysztof,

Thank you for your reply.

> > According to the latest ethernet-controller.yaml.
> > Since there is no RGMII delay on AST2600 EVB, the phy-mode property of
> > all MACs change to "rgmii-id" mode.
> >
> > Fixes: 4d338ee40ba8 ("ARM: dts: aspeed: ast2600-evb: Enable RX delay
> > for MAC0/MAC1")
> > Fixes: 2ca5646b5c2f ("ARM: dts: aspeed: Add AST2600 and EVB")
> > Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
> > ---
> >  arch/arm/boot/dts/aspeed/aspeed-ast2600-evb.dts | 8 ++++----
> 
> No, DTS cannot go to net. Why do you propose that?
> 

If there is a series of patches to add or fix about networking and this series
Includes dts or dt-binding, I send it to net or net-next.
So, this is just changing the DTS settings, even if it is for MAC,
wouldn't it be sent to net?

Thanks,
Jacky

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

* Re: 回覆: [net] ARM: dts: aspeed: ast2600-evb: Correct phy-mode to rgmii-id
  2025-08-21  6:17   ` 回覆: " Jacky Chou
@ 2025-08-21  6:30     ` Krzysztof Kozlowski
  2025-08-21  6:43       ` 回覆: " Jacky Chou
  0 siblings, 1 reply; 6+ messages in thread
From: Krzysztof Kozlowski @ 2025-08-21  6:30 UTC (permalink / raw)
  To: Jacky Chou, robh@kernel.org, krzk+dt@kernel.org,
	conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au,
	Z-Howard Chiu, arnd@arndb.de, andrew+netdev@lunn.ch
  Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org

On 21/08/2025 08:17, Jacky Chou wrote:
> Hi Krzysztof,
> 
> Thank you for your reply.
> 
>>> According to the latest ethernet-controller.yaml.
>>> Since there is no RGMII delay on AST2600 EVB, the phy-mode property of
>>> all MACs change to "rgmii-id" mode.
>>>
>>> Fixes: 4d338ee40ba8 ("ARM: dts: aspeed: ast2600-evb: Enable RX delay
>>> for MAC0/MAC1")
>>> Fixes: 2ca5646b5c2f ("ARM: dts: aspeed: Add AST2600 and EVB")
>>> Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
>>> ---
>>>  arch/arm/boot/dts/aspeed/aspeed-ast2600-evb.dts | 8 ++++----
>>
>> No, DTS cannot go to net. Why do you propose that?
>>
> 
> If there is a series of patches to add or fix about networking and this series
> Includes dts or dt-binding, I send it to net or net-next.

No. That's really irrelevant. And if you change there I2C you send to
I2C maintainers? That makes no sense.

You send it to respective maintainers. networking things go to netdev.
SoC (so DTS) goes to SoC.


> So, this is just changing the DTS settings, even if it is for MAC,
> wouldn't it be sent to net?

You must follow what MAINTAINERS tell you. Don't invent your own rules.

Best regards,
Krzysztof

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

* 回覆: 回覆: [net] ARM: dts: aspeed: ast2600-evb: Correct phy-mode to rgmii-id
  2025-08-21  6:30     ` Krzysztof Kozlowski
@ 2025-08-21  6:43       ` Jacky Chou
  0 siblings, 0 replies; 6+ messages in thread
From: Jacky Chou @ 2025-08-21  6:43 UTC (permalink / raw)
  To: Krzysztof Kozlowski, robh@kernel.org, krzk+dt@kernel.org,
	conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au,
	Z-Howard Chiu, arnd@arndb.de, andrew+netdev@lunn.ch
  Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org

> >>> According to the latest ethernet-controller.yaml.
> >>> Since there is no RGMII delay on AST2600 EVB, the phy-mode property
> >>> of all MACs change to "rgmii-id" mode.
> >>>
> >>> Fixes: 4d338ee40ba8 ("ARM: dts: aspeed: ast2600-evb: Enable RX delay
> >>> for MAC0/MAC1")
> >>> Fixes: 2ca5646b5c2f ("ARM: dts: aspeed: Add AST2600 and EVB")
> >>> Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
> >>> ---
> >>>  arch/arm/boot/dts/aspeed/aspeed-ast2600-evb.dts | 8 ++++----
> >>
> >> No, DTS cannot go to net. Why do you propose that?
> >>
> >
> > If there is a series of patches to add or fix about networking and
> > this series Includes dts or dt-binding, I send it to net or net-next.
> 
> No. That's really irrelevant. And if you change there I2C you send to I2C
> maintainers? That makes no sense.
> 
> You send it to respective maintainers. networking things go to netdev.
> SoC (so DTS) goes to SoC.
> 
> 
> > So, this is just changing the DTS settings, even if it is for MAC,
> > wouldn't it be sent to net?
> 
> You must follow what MAINTAINERS tell you. Don't invent your own rules.
> 

Got it. Thank you.
I will submit this patch again.

Thanks,
Jacky


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

* Re: [net] ARM: dts: aspeed: ast2600-evb: Correct phy-mode to rgmii-id
  2025-08-21  5:25 [net] ARM: dts: aspeed: ast2600-evb: Correct phy-mode to rgmii-id Jacky Chou
  2025-08-21  6:09 ` Krzysztof Kozlowski
@ 2025-08-22  0:11 ` Andrew Lunn
  1 sibling, 0 replies; 6+ messages in thread
From: Andrew Lunn @ 2025-08-22  0:11 UTC (permalink / raw)
  To: Jacky Chou
  Cc: robh, krzk+dt, conor+dt, joel, andrew, howard_chiu, arnd,
	andrew+netdev, devicetree, linux-arm-kernel, linux-aspeed,
	linux-kernel

On Thu, Aug 21, 2025 at 01:25:55PM +0800, Jacky Chou wrote:
> According to the latest ethernet-controller.yaml.
> Since there is no RGMII delay on AST2600 EVB, the phy-mode property of all
> MACs change to "rgmii-id" mode.

> @@ -123,7 +123,7 @@ ethphy3: ethernet-phy@0 {
>  &mac0 {
>  	status = "okay";
>  
> -	phy-mode = "rgmii-rxid";
> +	phy-mode = "rgmii-id";
>  	phy-handle = <&ethphy0>;

How does this change actually work?

I could imaging such a change as part of a patchset which changes the
MAC driver, and how it handles RGMII delays. But on its own, how does
this not break the board?

	Andrew

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

end of thread, other threads:[~2025-08-22  0:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-21  5:25 [net] ARM: dts: aspeed: ast2600-evb: Correct phy-mode to rgmii-id Jacky Chou
2025-08-21  6:09 ` Krzysztof Kozlowski
2025-08-21  6:17   ` 回覆: " Jacky Chou
2025-08-21  6:30     ` Krzysztof Kozlowski
2025-08-21  6:43       ` 回覆: " Jacky Chou
2025-08-22  0:11 ` Andrew Lunn

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).