OSDN Git Service

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)
commit161e31066757a70076aea4016b167d352915b32a
treeb0bee94644ba35dda3d9a6f7b735c4fe04f78407
parent316cdaa1158af17250397054f92bb339fbd8e282
parent5dc39fd5ef35bc6919759fa99246581b1adc6b82
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>