]> git.ipfire.org Git - people/ms/u-boot.git/commit
usb: hub: Support 'set hub depth' request for USB 3.0 hubs
authorBin Meng <bmeng.cn@gmail.com>
Wed, 19 Jul 2017 13:51:13 +0000 (21:51 +0800)
committerMarek Vasut <marex@denx.de>
Fri, 28 Jul 2017 21:34:32 +0000 (23:34 +0200)
commitbbc6f06c0031249bf1983b875e54cb7549bafe60
tree7f830c8505ce674333df40e3b03203339a644ac4
parent74ffc7cbb1d2d1f218b1bd67d1bd3cc1cba8aa79
usb: hub: Support 'set hub depth' request for USB 3.0 hubs

USB 3.0 hub uses a hub depth value multiplied by four as an offset
into the 'route string' to locate the bits it uses to determine the
downstream port number. We shall set the hub depth value of a USB
3.0 hub after it is configured.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/usb_hub.c
include/usb.h
include/usb_defs.h