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 --- 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