[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200620144914.GI304147@lunn.ch>
Date: Sat, 20 Jun 2020 16:49:14 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Antoine Tenart <antoine.tenart@...tlin.com>
Cc: davem@...emloft.net, f.fainelli@...il.com, hkallweit1@...il.com,
richardcochran@...il.com, alexandre.belloni@...tlin.com,
UNGLinuxDriver@...rochip.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, thomas.petazzoni@...tlin.com,
allan.nielsen@...rochip.com, foss@...il.net
Subject: Re: [PATCH net-next v3 1/8] net: phy: add support for a common probe
between shared PHYs
On Fri, Jun 19, 2020 at 02:22:53PM +0200, Antoine Tenart wrote:
> Shared PHYs (PHYs in the same hardware package) may have shared
> registers and their drivers would usually need to share information.
> There is currently a way to have a shared (part of the) init, by using
> phy_package_init_once(). This patch extends the logic to share parts of
> the probe to allow sharing the initialization of locks or resources
> retrieval.
>
> Signed-off-by: Antoine Tenart <antoine.tenart@...tlin.com>
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists