Thread (6 messages) flat view 6 messages, 3 authors, 9d ago
COOLING9d

[PATCH 1/2] dt-bindings: dp83867: add binding for output-impedance

From: Steffen Trumtrar <hidden>
Date: 2026-08-04 12:46:52
Also in: linux-devicetree, lkml
Subsystem: networking drivers, open firmware and flattened device tree bindings, the rest · Maintainers: Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Torvalds

Currently, the output-impedance can only be set to default, minimum or
maximum or via a nvmem cell.
In cases where there is no backend for a nvmem cell, a value can not be
set.

Add a DT binding for specifying the output-impedance via a fixed value.
The existing boolean values for minimum and maximum still take
precendance over the new value.

Signed-off-by: Steffen Trumtrar <redacted>
---
 Documentation/devicetree/bindings/net/ti,dp83867.yaml | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/net/ti,dp83867.yaml b/Documentation/devicetree/bindings/net/ti,dp83867.yaml
index 4bc1f98fd9fe5..f43b4e44ef7ab 100644
--- a/Documentation/devicetree/bindings/net/ti,dp83867.yaml
+++ b/Documentation/devicetree/bindings/net/ti,dp83867.yaml
@@ -41,6 +41,12 @@ properties:
     items:
       - const: io_impedance_ctrl
 
+  ti,output-impedance:
+    $ref: /schemas/types.yaml#/definitions/uint32
+    description: |
+      MAC Interface Impedance control to set the programmable output impedance
+      to a value between minimum (35 ohms) and maximum (70 ohms).
+
   ti,min-output-impedance:
     type: boolean
     description: |
@@ -53,10 +59,11 @@ properties:
       MAC Interface Impedance control to set the programmable output impedance
       to a maximum value (70 ohms).
       Note: Specifying an io_impedance_ctrl nvmem cell or one of the
-        ti,min-output-impedance, ti,max-output-impedance properties
-        are mutually exclusive. If more than one is present, an nvmem
+        ti,min-output-impedance, ti,max-output-impedance or ti,output-impedance
+        properties are mutually exclusive. If more than one is present, an nvmem
         cell takes precedence over ti,max-output-impedance, which in
-        turn takes precedence over ti,min-output-impedance.
+        turn takes precedence over ti,min-output-impedance. Both take precedence
+        over ti,output-impedance.
 
   tx-fifo-depth:
     $ref: /schemas/types.yaml#/definitions/uint32
-- 
2.54.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help