[PATCH net-next v2 1/3] dt-bindings: net: ethernet-phy: add property tx-amplitude-100base-tx-gain-milli

From: Dimitri Fedrau via B4 Relay
Date: Mon Jan 20 2025 - 08:50:55 EST


From: Dimitri Fedrau <dimitri.fedrau@xxxxxxxxxxxx>

Add property tx-amplitude-100base-tx-gain-milli 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@xxxxxxxxxxxx>
---
Documentation/devicetree/bindings/net/ethernet-phy.yaml | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/ethernet-phy.yaml b/Documentation/devicetree/bindings/net/ethernet-phy.yaml
index 2c71454ae8e362e7032e44712949e12da6826070..ce65413410c2343a3525e746e72b6c6c8bb120d0 100644
--- a/Documentation/devicetree/bindings/net/ethernet-phy.yaml
+++ b/Documentation/devicetree/bindings/net/ethernet-phy.yaml
@@ -232,6 +232,14 @@ 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-gain-milli:
+ description: |
+ Transmit amplitude gain applied (in milli units) for 100BASE-TX. When
+ omitted, the PHYs default will be left as is. If not present, default to
+ 1000 (no actual gain applied).
+ $ref: /schemas/types.yaml#/definitions/uint32
+ default: 1000
+
leds:
type: object


--
2.39.5