[PATCH v9 1/7] usb: onboard-hub: Add reset-gpio support

Fabio Estevam festevam at gmail.com
Thu Nov 7 12:41:47 CET 2024


On Thu, Nov 7, 2024 at 8:35 AM Marek Vasut <marex at denx.de> wrote:

> I can very much predict there will show up a hub which expects the reset
> to be active HIGH and this will have to be removed, so better remove it now.

Agreed.

The onboard_usb_dev.c driver in Linux does not assume that the USB hub
reset is always active low.

It honors the GPIO flag passed via DT:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/usb/misc/onboard_usb_dev.c?h=v6.12-rc6#n380

We should do the same in U-Boot.


More information about the U-Boot mailing list