devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: at91: ksz9477_evb: Add tx-internal-delay-ps property for port5
@ 2023-07-27  8:06 Lukasz Majewski
  2023-08-02  4:50 ` claudiu beznea
  2023-08-24  9:17 ` Lukasz Majewski
  0 siblings, 2 replies; 4+ messages in thread
From: Lukasz Majewski @ 2023-07-27  8:06 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: Nicolas Ferre, Alexandre Belloni, Claudiu Beznea, devicetree,
	linux-arm-kernel, linux-kernel, Lukasz Majewski

Without this change the KSZ9477 Evaluation board's Linux (v6.5-rc1) shows
following device warning:

'ksz-switch spi1.0: Port 5 interpreting RGMII delay settings based on "phy-mode" property, please update device tree to specify "rx-internal-delay-ps" and "tx-internal-delay-ps"'

This is not critical, as KSZ driver by itself assigns default value of
tx delay to 2000 ps (as 'rgmii-txid' is set as PHY mode).

However, to avoid extra warnings in logs - the missing 'tx-internal-delay-ps'
has been specified with the default value of 2000 ps.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
---
 arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts b/arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts
index 99cd6d15998b..b66570080894 100644
--- a/arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts
+++ b/arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts
@@ -152,6 +152,7 @@
 				label = "cpu";
 				ethernet = <&macb0>;
 				phy-mode = "rgmii-txid";
+				tx-internal-delay-ps = <2000>;
 
 				fixed-link {
 					speed = <1000>;
-- 
2.20.1


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

* Re: [PATCH] ARM: dts: at91: ksz9477_evb: Add tx-internal-delay-ps property for port5
  2023-07-27  8:06 [PATCH] ARM: dts: at91: ksz9477_evb: Add tx-internal-delay-ps property for port5 Lukasz Majewski
@ 2023-08-02  4:50 ` claudiu beznea
  2023-08-24  9:17 ` Lukasz Majewski
  1 sibling, 0 replies; 4+ messages in thread
From: claudiu beznea @ 2023-08-02  4:50 UTC (permalink / raw)
  To: Lukasz Majewski, Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: devicetree, Alexandre Belloni, linux-kernel, Claudiu Beznea,
	linux-arm-kernel



On 27.07.2023 11:06, Lukasz Majewski wrote:
> Without this change the KSZ9477 Evaluation board's Linux (v6.5-rc1) shows
> following device warning:
> 
> 'ksz-switch spi1.0: Port 5 interpreting RGMII delay settings based on "phy-mode" property, please update device tree to specify "rx-internal-delay-ps" and "tx-internal-delay-ps"'
> 
> This is not critical, as KSZ driver by itself assigns default value of
> tx delay to 2000 ps (as 'rgmii-txid' is set as PHY mode).
> 
> However, to avoid extra warnings in logs - the missing 'tx-internal-delay-ps'
> has been specified with the default value of 2000 ps.
> 
> Signed-off-by: Lukasz Majewski <lukma@denx.de>

Applied to at91-dt, thanks!

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

* Re: [PATCH] ARM: dts: at91: ksz9477_evb: Add tx-internal-delay-ps property for port5
  2023-07-27  8:06 [PATCH] ARM: dts: at91: ksz9477_evb: Add tx-internal-delay-ps property for port5 Lukasz Majewski
  2023-08-02  4:50 ` claudiu beznea
@ 2023-08-24  9:17 ` Lukasz Majewski
  2023-08-24 10:00   ` claudiu beznea
  1 sibling, 1 reply; 4+ messages in thread
From: Lukasz Majewski @ 2023-08-24  9:17 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Claudiu Beznea
  Cc: Nicolas Ferre, Alexandre Belloni, devicetree, linux-arm-kernel,
	linux-kernel

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

Dear Community,

> Without this change the KSZ9477 Evaluation board's Linux (v6.5-rc1)
> shows following device warning:
> 
> 'ksz-switch spi1.0: Port 5 interpreting RGMII delay settings based on
> "phy-mode" property, please update device tree to specify
> "rx-internal-delay-ps" and "tx-internal-delay-ps"'
> 
> This is not critical, as KSZ driver by itself assigns default value of
> tx delay to 2000 ps (as 'rgmii-txid' is set as PHY mode).
> 
> However, to avoid extra warnings in logs - the missing
> 'tx-internal-delay-ps' has been specified with the default value of
> 2000 ps.
> 

Gentle ping on this patch.

Claudiu, could you pick it as well?

> Signed-off-by: Lukasz Majewski <lukma@denx.de>
> ---
>  arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts
> b/arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts index
> 99cd6d15998b..b66570080894 100644 ---
> a/arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts +++
> b/arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts @@ -152,6
> +152,7 @@ label = "cpu";
>  				ethernet = <&macb0>;
>  				phy-mode = "rgmii-txid";
> +				tx-internal-delay-ps = <2000>;
>  
>  				fixed-link {
>  					speed = <1000>;

Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: [PATCH] ARM: dts: at91: ksz9477_evb: Add tx-internal-delay-ps property for port5
  2023-08-24  9:17 ` Lukasz Majewski
@ 2023-08-24 10:00   ` claudiu beznea
  0 siblings, 0 replies; 4+ messages in thread
From: claudiu beznea @ 2023-08-24 10:00 UTC (permalink / raw)
  To: Lukasz Majewski, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Claudiu Beznea
  Cc: devicetree, Alexandre Belloni, linux-arm-kernel, linux-kernel

Hi, Lukasz,

On 8/24/23 12:17, Lukasz Majewski wrote:
> Dear Community,
> 
>> Without this change the KSZ9477 Evaluation board's Linux (v6.5-rc1)
>> shows following device warning:
>>
>> 'ksz-switch spi1.0: Port 5 interpreting RGMII delay settings based on
>> "phy-mode" property, please update device tree to specify
>> "rx-internal-delay-ps" and "tx-internal-delay-ps"'
>>
>> This is not critical, as KSZ driver by itself assigns default value of
>> tx delay to 2000 ps (as 'rgmii-txid' is set as PHY mode).
>>
>> However, to avoid extra warnings in logs - the missing
>> 'tx-internal-delay-ps' has been specified with the default value of
>> 2000 ps.
>>
> 
> Gentle ping on this patch.
> 
> Claudiu, could you pick it as well?

It's already in arm-soc:

https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/log/arch/arm/boot/dts/microchip?h=for-next

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

end of thread, other threads:[~2023-08-24 10:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-27  8:06 [PATCH] ARM: dts: at91: ksz9477_evb: Add tx-internal-delay-ps property for port5 Lukasz Majewski
2023-08-02  4:50 ` claudiu beznea
2023-08-24  9:17 ` Lukasz Majewski
2023-08-24 10:00   ` claudiu beznea

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