[U-Boot] [PATCH v1 02/16] dm: usb: create a new UCLASS ID for USB gadget devices

Simon Glass sjg at chromium.org
Tue Nov 27 01:02:41 UTC 2018


On Wed, 21 Nov 2018 at 03:51, Jean-Jacques Hiblot <jjhiblot at ti.com> wrote:
>
> UCLASS_USB_DEV_GENERIC was meant for USB devices connected to host
> controllers, not gadget devices.
> Adding a new UCLASS for gadget devices alone.
>
> Also move the generic DM code for USB gadgets in a separate file for
> clarity.
>
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
> ---
>
>  board/sunxi/board.c               |  2 +-
>  drivers/usb/dwc3/dwc3-generic.c   |  2 +-
>  drivers/usb/gadget/ether.c        |  2 +-
>  drivers/usb/gadget/udc/Makefile   |  4 ++++
>  drivers/usb/gadget/udc/udc-core.c | 41 ---------------------------------------
>  drivers/usb/musb-new/omap2430.c   |  2 +-
>  drivers/usb/musb-new/sunxi.c      |  2 +-
>  include/dm/uclass-id.h            |  1 +
>  8 files changed, 10 insertions(+), 46 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list