]> git.baikalelectronics.ru Git - uboot.git/commit
dm: usb: create a new UCLASS ID for USB gadget devices
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Thu, 29 Nov 2018 09:52:46 +0000 (10:52 +0100)
committerMarek Vasut <marex@denx.de>
Fri, 7 Dec 2018 15:31:45 +0000 (16:31 +0100)
commit182a51d6a74d128e619c5fd22c1e479a7be0a21a
tree5d94343d01e2ce401774516cd7783d527f4b5941
parentd4c8bcc0818a9ccff577d0d1f1bb7b581c6958f2
dm: usb: create a new UCLASS ID for USB gadget devices

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@ti.com>
board/sunxi/board.c
drivers/usb/dwc3/dwc3-generic.c
drivers/usb/gadget/ether.c
drivers/usb/gadget/udc/Makefile
drivers/usb/gadget/udc/udc-core.c
drivers/usb/gadget/udc/udc-uclass.c [new file with mode: 0644]
drivers/usb/musb-new/omap2430.c
drivers/usb/musb-new/sunxi.c
include/dm/uclass-id.h