Merge branch 'Enable-Fiber-on-DP83822-PHY'
authorDavid S. Miller <davem@davemloft.net>
Fri, 28 Aug 2020 13:57:58 +0000 (06:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Aug 2020 13:57:58 +0000 (06:57 -0700)
Dan Murphy says:

====================
Enable Fiber on DP83822 PHY

The DP83822 Ethernet PHY has the ability to connect via a Fiber port.  The
derivative PHYs DP83825 and DP83826 do not have this ability. In fiber mode
the DP83822 disables auto negotiation and has a fixed 100Mbps speed with
support for full or half duplex modes.

A devicetree binding was added to set the signal polarity for the fiber
connection.  This property is only applicable if the FX_EN strap is set in
hardware other wise the signal loss detection is disabled on the PHY.

If the FX_EN is not strapped the device can be configured to run in fiber mode
via the device tree. All be it the PHY will not perform signal loss detection.

v2 review from a long time ago can be found here - https://lore.kernel.org/patchwork/patch/1270958/
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge