commit | 444b1e0c141a1d7a3bd870170f91f35b46896692 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Mar 25 12:22:32 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Sat Apr 18 11:11:25 2015 -0600 |
tree | 1d838221dbd3a7a82833d2748ca379430905cf39 | |
parent | c79173e3036d315eaa854e2b136ecbeb36a67bd2 [diff] |
dm: usb: Allow setting up a USB controller as a device/gadget 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@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>