]> 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)
commitf7b71e4de5ebf87187402f65f9b7571bf92a7adb
treeb0bee94644ba35dda3d9a6f7b735c4fe04f78407
parent26c55da91152d6801db237654deab18419c520fb
parentb0f7bf02bef79c7971bde658b3c9c93ef9e7f410
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>