[U-Boot] [U-Boot, v3, 2/3] rockchip: rk3399-puma: implement usb_hub_reset_devices for puma-rk3399

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Thu Nov 30 12:23:31 UTC 2017


> 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.tomsich at theobroma-systems.com>
> Tested-by: Jakob Unterwurzacher <jakob.unterwurzacher at 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!


More information about the U-Boot mailing list