commit | fbeceb260232ae9f102af11e6cb2f3743ecc9b9a | [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 | 449230f0318da3f3c27aea1753097a8165da6fdb [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>