Re: [PATCH v17 1/7] usb: misc: Add onboard_usb_hub driver

From: Dmitry Osipenko
Date: Mon Dec 20 2021 - 15:05:35 EST


16.11.2021 23:07, Matthias Kaehlcke пишет:
> +static const struct usb_device_id onboard_hub_id_table[] = {
> + { USB_DEVICE(VENDOR_ID_REALTEK, 0x0411) }, /* RTS0411 USB 3.0 */
> + { USB_DEVICE(VENDOR_ID_REALTEK, 0x5411) }, /* RTS5411 USB 2.0 */
> + {},
> +};

RTS5411 two times in the comments? Internet suggests that RTS5411 is USB 3.0

Are these hubs expected to be powered-on only when upstream port is
enabled? Shouldn't runtime PM be used for that somehow?