u-boot-brain/drivers/usb
Jean-Jacques Hiblot 801f1fa442 dm: usb: udc: Use SEQ_ALIAS to index the USB gadget ports
dfu, fastbot and other usb gadget commands take the USB port index as a
parameter. Currently this index is assigned in the order of the driver
bindings.
Changing this behavior using the SEQ_ALIAS feature. This option assign to
the device a SEQ number based on its alias (if it exists)

To use it we must set the DM_UC_FLAG_SEQ_ALIAS flag and follow the existing
naming convention: use "usb" for the name of the gadget UCLASS_DRIVER
(same as for the UCLASS_USB).

If no alias is provided, then the index falls back to the order in which
the bindings took place.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reported-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Tested-by: Sam Protsenko <semen.protsenko@linaro.org>
2019-01-10 18:52:51 +01:00
..
common usb: Introduce CONFIG_SPL_DM_USB 2018-11-26 21:19:03 +01:00
dwc3 dwc3-generic: Add support for the am437x 2018-12-14 17:59:09 +01:00
emul SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
eth usb: composite: Move bitmap related operations to ./include/linux/bitmap.h 2018-12-14 17:59:08 +01:00
gadget dm: usb: udc: Use SEQ_ALIAS to index the USB gadget ports 2019-01-10 18:52:51 +01:00
host usb: xhci-mem: Fix scratchpad array issue 2019-01-09 16:03:56 +01:00
musb usb: musb: Remove legacy CONFIG_USB_DA8XX 2018-12-14 17:59:09 +01:00
musb-new usb: musb-new: sunxi: Fix null pointer access 2018-12-14 17:59:10 +01:00
phy SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ulpi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig usb: Don't enable CONFIG_SPL_DM_USB for non-DM SPL 2018-12-14 17:59:08 +01:00