Re: [PATCH v3 05/13] usb: hub: Associate port@ fwnode with USB port device
From: Bartosz Golaszewski
Date: Fri Jul 03 2026 - 08:10:23 EST
On Fri, 3 Jul 2026 13:03:06 +0200, Chen-Yu Tsai <wenst@xxxxxxxxxxxx> said:
> When a USB hub port is connected to a connector in a firmware node
> graph, the port itself has a node in the graph.
>
> Associate the port's firmware node with the USB port's device,
> usb_port::dev. This is used in later changes for the M.2 slot power
> sequencing provider to match against the requesting port.
>
> To avoid potential conflicts with ACPI firmware nodes and then causing
> power management issues, only assign the firmware node if the hub's
> firmware node is not an ACPI firmware node.
>
> Signed-off-by: Chen-Yu Tsai <wenst@xxxxxxxxxxxx>
> ---
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>