]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9c6bfc7c9f21ced12c660c6d3475620d8650eac5
treeb0bee94644ba35dda3d9a6f7b735c4fe04f78407
parentc44dfb55a4c0bc41e1d41f89cc752f44cf96d43d
parent88712048e2f5eb1b526a5ee9808d8152e5806c9a
Merge branch 'Enable-Fiber-on-DP83822-PHY'

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>