From: "Vesa Jääskeläinen" <vesa.jaaskelainen@vaisala.com>
To: Andrew Lunn <andrew@lunn.ch>
Cc: "David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Heiner Kallweit <hkallweit1@gmail.com>,
Russell King <linux@armlinux.org.uk>, Andrew Davis <afd@ti.com>,
netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/2] net: phy: dp83822: Add support for line class driver configuration
Date: Mon, 10 Jul 2023 22:08:32 +0300 [thread overview]
Message-ID: <87fac0dd-9a97-b188-4887-8c4bb21196d5@vaisala.com> (raw)
In-Reply-To: <261cb91c-eb3a-4612-93ad-25e2bc1a7c23@lunn.ch>
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
next prev parent reply other threads:[~2023-07-10 19:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-10 17:56 Vesa Jääskeläinen
2023-07-10 17:56 ` [PATCH 1/2] dt-bindings: net: dp83822: Add line driver class selection Vesa Jääskeläinen
2023-07-10 17:56 ` [PATCH 2/2] net: phy: dp83822: Add support for line class driver configuration Vesa Jääskeläinen
2023-07-10 18:38 ` [PATCH 0/2] " Andrew Lunn
2023-07-10 19:08 ` Vesa Jääskeläinen [this message]
2023-07-10 19:38 ` Andrew Lunn
2023-07-11 7:51 ` Vesa Jääskeläinen
2023-07-11 15:35 ` Andrew Lunn
2023-07-11 16:05 ` Vesa Jääskeläinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fac0dd-9a97-b188-4887-8c4bb21196d5@vaisala.com \
--to=vesa.jaaskelainen@vaisala.com \
--cc=afd@ti.com \
--cc=andrew@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=hkallweit1@gmail.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®