]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: dp83867: add binding for io_impedance_ctrl nvmem cell
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Tue, 14 Jun 2022 08:46:10 +0000 (10:46 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 17 Jun 2022 03:28:53 +0000 (20:28 -0700)
commitfc922946bfe20a22afe8977ad9d67fa73b7bb1c8
treecdeb229faef06c4506d0dfdabccce059ae9111b7
parent2bdf74dce4a8a248b85c279f51493aed7461108e
dt-bindings: dp83867: add binding for io_impedance_ctrl nvmem cell

We have a board where measurements indicate that the current three
options - leaving IO_IMPEDANCE_CTRL at the reset value (which is
factory calibrated to a value corresponding to approximately 50 ohms)
or using one of the two boolean properties to set it to the min/max
value - are too coarse.

There is no fixed mapping from register values to values in the range
35-70 ohms; it varies from chip to chip, and even that target range is
approximate. So add a DT binding for an nvmem cell which can be
populated during production with a value suitable for each specific
board.

Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/ti,dp83867.yaml