[PATCH net-next 1/2] dt-bindings: net: dp83822: Add support for changing the transmit amplitude voltage

From: Dimitri Fedrau via B4 Relay
Date: Mon Jan 13 2025 - 00:40:50 EST


From: Dimitri Fedrau <dimitri.fedrau@xxxxxxxxxxxx>

Add support for changing the transmit amplitude voltage in 100BASE-TX mode.
Add binding to support this feature.

Signed-off-by: Dimitri Fedrau <dimitri.fedrau@xxxxxxxxxxxx>
---
Documentation/devicetree/bindings/net/ti,dp83822.yaml | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/ti,dp83822.yaml b/Documentation/devicetree/bindings/net/ti,dp83822.yaml
index 50c24248df266f1950371b950cd9c4d417835f97..b44f7068011b8e594f2ba245c526f4f48e3c5963 100644
--- a/Documentation/devicetree/bindings/net/ti,dp83822.yaml
+++ b/Documentation/devicetree/bindings/net/ti,dp83822.yaml
@@ -122,6 +122,16 @@ properties:
- free-running
- recovered

+ ti,tx-amplitude-100base-tx-millivolt:
+ description: |
+ DP83822 PHY only.
+ Transmit amplitude voltage for 100BASE-TX in millivolt. When omitted,
+ the PHY's default will be left as is.
+ $ref: /schemas/types.yaml#/definitions/uint32
+ enum: [1600, 1633, 1667, 1700, 1733, 1767, 1800, 1833,
+ 1867, 1900, 1933, 1967, 2000, 2033, 2067, 2100]
+ default: 2000
+
required:
- reg

@@ -137,6 +147,7 @@ examples:
rx-internal-delay-ps = <1>;
tx-internal-delay-ps = <1>;
ti,gpio2-clk-out = "xi";
+ ti,tx-amplitude-100base-tx-millivolt = <2100>;
};
};


--
2.39.5