> For some versions of the RK3399-Q7 (at least revisions v1.1 and v1.2 > are affected), we need to turn on the power for the port connected to > the on-module USB hub only when the device is probed for the first > time to ensure that the hub does not enter a low-power mode (that > U-Boot's USB stack can't deal with). > > Note that this is needed for U-Boot only, as Linux eventually manages > to attach the hub even when it has entered into its low-power state > (when the hub wakes up the next time) after a few seconds. > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Tested-by: Jakob Unterwurzacher <jakob.unterwurzac...@theobroma-systems.com> > --- > > Changes in v3: None > Changes in v2: > - moved the power-control logic from xhci.c into the board-specific > file for the RK3399-Q7, hooking it up via usb_hub_reset_devices > > board/theobroma-systems/puma_rk3399/puma-rk3399.c | 70 > ++++++++++++++++++++++- > 1 file changed, 69 insertions(+), 1 deletion(-) >
Applied to u-boot-rockchip, thanks! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot