Message ID | 20200827134509.23854-1-dmurphy@ti.com |
---|---|
Headers | show |
Series | Enable Fiber on DP83822 PHY | expand |
On Thu, Aug 27, 2020 at 08:45:09AM -0500, Dan Murphy wrote: > The DP83822 can be configured to use a Fiber connection. The strap > register is read to determine if the device has been configured to use > a fiber connection. With the fiber connection the PHY can be configured > to detect whether the fiber connection is active by either a high signal > or a low signal. > > Fiber mode is only applicable to the DP83822 so rework the PHY match > table so that non-fiber PHYs can still use the same driver but not call > or use any of the fiber features. > > Signed-off-by: Dan Murphy <dmurphy@ti.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Andrew
From: Dan Murphy <dmurphy@ti.com> Date: Thu, 27 Aug 2020 08:45:07 -0500 > 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/ Series applied, thank you.