From: Dimitri Fedrau <dima.fedrau@gmail.com>
To: Andrew Lunn <andrew@lunn.ch>
Cc: dimitri.fedrau@liebherr.com, Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Andrew Davis <afd@ti.com>,
Heiner Kallweit <hkallweit1@gmail.com>,
Russell King <linux@armlinux.org.uk>,
Florian Fainelli <f.fainelli@gmail.com>,
netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next v4 1/3] dt-bindings: net: ethernet-phy: add property tx-amplitude-100base-tx-percent
Date: Wed, 12 Feb 2025 20:22:28 +0100 [thread overview]
Message-ID: <20250212192228.GA4383@debian> (raw)
In-Reply-To: <b60f286a-75c8-4b60-9707-6d834fd4d3ad@lunn.ch>
Am Wed, Feb 12, 2025 at 02:04:02PM +0100 schrieb Andrew Lunn:
> On Tue, Feb 11, 2025 at 09:33:47AM +0100, Dimitri Fedrau via B4 Relay wrote:
> > From: Dimitri Fedrau <dimitri.fedrau@liebherr.com>
> >
> > Add property tx-amplitude-100base-tx-percent in the device tree bindings
> > for configuring the tx amplitude of 100BASE-TX PHYs. Modifying it can be
> > necessary to compensate losses on the PCB and connector, so the voltages
> > measured on the RJ45 pins are conforming.
> >
> > Signed-off-by: Dimitri Fedrau <dimitri.fedrau@liebherr.com>
> > ---
> > Documentation/devicetree/bindings/net/ethernet-phy.yaml | 6 ++++++
> > 1 file changed, 6 insertions(+)
> >
> > diff --git a/Documentation/devicetree/bindings/net/ethernet-phy.yaml b/Documentation/devicetree/bindings/net/ethernet-phy.yaml
> > index 2c71454ae8e362e7032e44712949e12da6826070..e0c001f1690c1eb9b0386438f2d5558fd8c94eca 100644
> > --- a/Documentation/devicetree/bindings/net/ethernet-phy.yaml
> > +++ b/Documentation/devicetree/bindings/net/ethernet-phy.yaml
> > @@ -232,6 +232,12 @@ properties:
> > PHY's that have configurable TX internal delays. If this property is
> > present then the PHY applies the TX delay.
> >
> > + tx-amplitude-100base-tx-percent:
> > + description:
> > + Transmit amplitude gain applied for 100BASE-TX. When omitted, the PHYs
> > + default will be left as is.
> > + default: 100
>
> Doesn't having a default statement contradict the text? Maybe the
> bootloader has set it to 110%, the text suggests it will be left at
> that, but the default value of 100 means it will get set back to 100%?
>
You are right, will remove the default statement.
> What do your driver changes actually do?
Only if tx-amplitude-100base-tx-percent is present, the amplitude should
be changed.
Best regards,
Dimitri Fedrau
next prev parent reply other threads:[~2025-02-12 19:22 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-11 8:33 [PATCH net-next v4 0/3] net: phy: dp83822: Add support for changing the transmit amplitude voltage Dimitri Fedrau
2025-02-11 8:33 ` Dimitri Fedrau via B4 Relay
2025-02-11 8:33 ` [PATCH net-next v4 1/3] dt-bindings: net: ethernet-phy: add property tx-amplitude-100base-tx-percent Dimitri Fedrau
2025-02-11 8:33 ` Dimitri Fedrau via B4 Relay
2025-02-11 16:57 ` Conor Dooley
2025-02-12 13:04 ` Andrew Lunn
2025-02-12 19:22 ` Dimitri Fedrau [this message]
2025-02-12 13:38 ` Russell King (Oracle)
2025-02-12 19:34 ` Dimitri Fedrau
2025-02-11 8:33 ` [PATCH net-next v4 2/3] net: phy: Add helper for getting tx amplitude gain Dimitri Fedrau
2025-02-11 8:33 ` Dimitri Fedrau via B4 Relay
2025-02-12 13:15 ` Andrew Lunn
2025-02-12 19:36 ` Dimitri Fedrau
2025-02-11 8:33 ` [PATCH net-next v4 3/3] net: phy: dp83822: Add support for changing the transmit amplitude voltage Dimitri Fedrau
2025-02-11 8:33 ` Dimitri Fedrau via B4 Relay
2025-02-12 13:18 ` Andrew Lunn
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=20250212192228.GA4383@debian \
--to=dima.fedrau@gmail.com \
--cc=afd@ti.com \
--cc=andrew+netdev@lunn.ch \
--cc=andrew@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=dimitri.fedrau@liebherr.com \
--cc=edumazet@google.com \
--cc=f.fainelli@gmail.com \
--cc=hkallweit1@gmail.com \
--cc=krzk+dt@kernel.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@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.