On Fri, Aug 07, 2026 at 03:07:26PM +0800, xuanqiang.luo@linux.dev wrote:
From: Xuanqiang Luo <redacted>
The PHY package API provides private data shared by all PHYs in a
package. Drivers are responsible for synchronizing access to this data,
but the API does not provide a lock for that purpose.
Add phy_package_lock() and phy_package_unlock() for drivers to serialize
access to package-private data, including its initialization.
Signed-off-by: Xuanqiang Luo <redacted>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew