[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87fac0dd-9a97-b188-4887-8c4bb21196d5@vaisala.com>
Date: Mon, 10 Jul 2023 22:08:32 +0300
From: Vesa Jääskeläinen <vesa.jaaskelainen@...sala.com>
To: Andrew Lunn <andrew@...n.ch>
Cc: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>, Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>, Andrew Davis <afd@...com>,
netdev@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/2] net: phy: dp83822: Add support for line class driver
configuration
On 10.7.2023 21.38, Andrew Lunn wrote:
> On Mon, Jul 10, 2023 at 08:56:18PM +0300, Vesa Jääskeläinen wrote:
>> Add support to specify either class A or class B (default) for line driver.
>>
>> Class A: full MLT-3 on both Tx+ and Tx–
>> Class B: reduced MLT-3
>>
>> By default the PHY is in Class B mode.
> Hi Vesa
>
> Do you have a reference to 802.3 or some other document which
> describes these. How does reduced differ from full? Is this really a
> hardware property of the board?
>
> Thanks
> Andrew
Hi Andrew,
This is needed for configuration in link between DP83822 and Ethernet
Switch chip. In the connection there there is no Ethernet cable at all
but routes within the circuit boards but instead has capacitive coupling
on routes.
The other Ethernet port with the same phy is connected to normal
Ethernet cable and in there this configuration is not needed.
So the setting itself is related to specific circuit board design.
MLT-3 is related to encoding used in the signals -- I suppose wiki page
is good introduction reference:
https://en.wikipedia.org/wiki/MLT-3_encoding
I suppose this question in TI's forum gives indication what is the
effect of the setting:
https://e2e.ti.com/support/interface-group/interface/f/interface-forum/572998/dp83822hf-transformerless-operation
TI's datasheet is not too verbose about the effect:
https://www.ti.com/lit/ds/symlink/dp83822hf.pdf?ts=1688188848392&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FDP83822HF
I cannot say I am expert on the Ethernet line encoding -- my
understanding is that full MLT-3 is "normal" signaling mode and reduced
MLT-3 mode is extension on the chip to perhaps reduce energy consumption
with real Ethernet cables or something like that but in chip-to-chip
link the reduced mode does not work and full MLT-3 is needed in order
for link to come up.
I hope this helps?
Thanks,
Vesa Jääskeläinen
Powered by blists - more mailing lists