Re: [PATCH v14 28/38] phy: core: add notifier infrastructure
From: Vinod Koul
Date: Thu Aug 27 2026 - 12:21:15 EST
On 13-08-26, 22:52, Sebastian Reichel wrote:
> Some PHY devices with multiple ports (e.g. USB3 and DP) require a reset
> if the configuration changes or cable orientation changes. This is a
> problem, as the consumer device will run into undefined behavior.
>
> With the new PHY notifier API introduced in this patch, the consumer
> driver can hook into reset events coming from a PHY device to handle the
> PHY going down gracefully.
Hmmm how will phy get notified for these events. Typically there is a
separate hotplug mechanism to take care of cable changes.
Looking at implementation of this, It seems to me there is checked on
power-on, so maybe notifier maynot be right one... ?
--
~Vinod