[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <620ce8e6-2b40-1322-364a-0099a6e2af26@kernel.org>
Date: Mon, 2 Jan 2023 15:04:19 +0200
From: Roger Quadros <rogerq@...nel.org>
To: Andrew Lunn <andrew@...n.ch>, MD Danish Anwar <danishanwar@...com>
Cc: "Andrew F. Davis" <afd@...com>, Tero Kristo <t-kristo@...com>,
Suman Anna <s-anna@...com>, YueHaibing <yuehaibing@...wei.com>,
Vignesh Raghavendra <vigneshr@...com>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Jakub Kicinski <kuba@...nel.org>,
Eric Dumazet <edumazet@...gle.com>,
"David S. Miller" <davem@...emloft.net>, nm@...com,
ssantosh@...nel.org, srk@...com, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, netdev@...r.kernel.org,
linux-omap@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v3 1/2] dt-bindings: net: Add ICSSG Ethernet Driver
bindings
On 23/12/2022 16:28, Andrew Lunn wrote:
>> + ethernet-ports {
>> + #address-cells = <1>;
>> + #size-cells = <0>;
>> + pruss2_emac0: port@0 {
>> + reg = <0>;
>> + phy-handle = <&pruss2_eth0_phy>;
>> + phy-mode = "rgmii-rxid";
>
> That is unusual. Where are the TX delays coming from?
>From the below property
+ ti,syscon-rgmii-delay = <&scm_conf 0x4120>;
The TX delay can be enabled/disabled from within the ICSSG block.
If this property exists and PHY mode is neither PHY_INTERFACE_MODE_RGMII_ID
nor PHY_INTERFACE_MODE_RGMII_TXID then the internal delay is enabled.
This logic is in prueth_config_rgmiidelay() function in the introduced driver.
>
> Andrew
cheers,
-roger
Powered by blists - more mailing lists