[PATCH v2 1/5] usb: onboard-hub: Use the ofnode to check if the peer-hub was probed

Quentin Schulz quentin.schulz at cherry.de
Fri Jun 6 12:44:04 CEST 2025


Hi Lukasz,

On 5/26/25 4:24 PM, Lukasz Czechowski wrote:
> Currently the check in usb_onboard_hub_bind is relying on specific
> compatible string for the Michrochip USB5744. Replace this with
> more generic approach that will allow to add new types of devices
> to the of_match table. Because the driver only needs to bind one
> "half" of the hub, the peer-hub node is used to find out if it
> was already done. In case peer-hub was bound, -ENODEV is returned.
> 
> Signed-off-by: Lukasz Czechowski <lukasz.czechowski at thaumatec.com>

Reviewed-by: Quentin Schulz <quentin.schulz at cherry.de>

Thanks!
Quentin


More information about the U-Boot mailing list