Re: [PATCH v2 6/6] net: phy: DP83640: Add fiber mode enabling/disabling from device tree

From: Andrew Lunn
Date: Tue Feb 27 2024 - 11:18:54 EST


On Tue, Feb 27, 2024 at 10:39:45AM +0100, Bastien Curutchet wrote:
> The PHY is able to use copper or fiber. The fiber mode can be enabled or
> disabled by hardware strap. If hardware strap is incorrect, PHY can't
> establish link.
>
> Add a DT attribute 'ti,fiber-mode' that can be use to override the
> hardware strap configuration. If the property is not present, hardware
> strap configuration is left as is.

How have you tested this? Do you have a RDK with it connected to an
SFP cage?

Andrew