net: phy: dp83867: implement support for io_impedance_ctrl nvmem cell
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Tue, 14 Jun 2022 08:46:12 +0000 (10:46 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 17 Jun 2022 03:29:06 +0000 (20:29 -0700)
commit5c2d0a6a0701ba86a4bb0bf1876266c751e328bd
treea3191c55afbe8ec7ad8714ce8179dd44992c762e
parenta793679827a87b01f9d973ea30b923cd5a3ff2c5
net: phy: dp83867: implement support for io_impedance_ctrl nvmem cell

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

Implement support for the newly added binding allowing device tree to
specify an nvmem cell containing an appropriate value for this
specific board.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/dp83867.c