[U-Boot] [PATCH v2 44/80] dm: usb: Allow setting up a USB controller as a device/gadget

Simon Glass sjg at chromium.org
Tue Apr 7 20:45:22 CEST 2015


On 25 March 2015 at 12:22, Simon Glass <sjg at chromium.org> wrote:
> Some controllers support OTG (on-the-go) where they can operate as either
> host or device. The gadget layer in U-Boot supports this.
>
> While this layer does not interact with driver model, we can provide a
> function which sets up the controller in the correct way. This way the code
> at least builds (although it likely will not work).
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2: None
>
>  drivers/usb/gadget/ci_udc.c   |  4 ++++
>  drivers/usb/host/usb-uclass.c | 24 ++++++++++++++++++++++++
>  2 files changed, 28 insertions(+)

Applied to u-boot-dm/next.


More information about the U-Boot mailing list