
On 11/21/2018 11:51 AM, Jean-Jacques Hiblot wrote:
This series applies on top of the series "Add support for DM_USB and DM_USB_DEV to TI's K2G platforms" and "Add support for DM_USB and DM_USB_DEV for TI's DRA7 EVMs and AM57 EVMs platforms."
The am433x platforms can use the generic DWC3 driver instead of relying on the dwc3-xhci driver. The am335x platforms use the musb controller. With a bit of work it can be made to support DM as well. This series only enables DM_USB and DM_USB_GADGET on am335x_boneblack_vboot. The changes for the other am335x based platforms will come in a subsequent series that reworks the configs of several TI boards.
This is part of a work to move all TI's platforms to support DM_USB and DM_USB_DEV. As a side effect it makes it easy to support the full USB RDNIS bootflow (bootrom loads SPL over RNDIS, SPL loads u-boot over RNDIS, u-boot loads the images over RNDIS)
This series is made of 3 parts:
- some generic changes: rename DM_USB_DEV in DM_USB_GADGET and create
UCLASS_USB_GADGET for the USB peripheral drivers.
- am437x support for DM_USB and DM_USB_GADGET
- am335x support for DM_USB and DM_USB_GADGET
Real glad to see this work happening, thanks for that. I'll let Lukasz handle the reviews since he's doing the gadget stuff.