[PATCH v14 28/38] phy: core: add notifier infrastructure
Vinod Koul
vkoul at kernel.org
Thu Aug 27 09:16:38 PDT 2026
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
More information about the linux-arm-kernel
mailing list