Re: [PATCH net-next v2 3/3] net: phy: marvell10g: set the PHY in low power by default
From: Andrew Lunn
Date: Fri Mar 01 2019 - 09:20:01 EST
On Fri, Mar 01, 2019 at 12:00:47PM +0100, Antoine Tenart wrote:
> When the Marvell 10G PHYs are set out of reset, the LPOWER bit is set
> depending on an hardware configuration choice. We also do not know what
> is the PHY state at boot time. Hence, set the PHY in low power by
> default when this driver probes.
Hi Antoine
Florian did some work for c22 PHYs so that the existing link state
could be used at boot. So for example, the bootloader configured the
PHY up and it got link, there is no need to down/up the PHY when linux
takes control. The networking comes up faster that way.
Can this work for this PHY?
Andrew