summaryrefslogtreecommitdiffstats
path: root/include/usb
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-03-19 09:17:35 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-07-18 14:47:25 +0200
commit0420f7a34f02038c4bfcf7a5305c8b9c1f481129 (patch)
treeb98c8d9f2e085c28b340df223126c79e4d5b552a /include/usb
parent9451a44433577363f9b0a91bd656aecb51c76e8f (diff)
downloadbarebox-0420f7a34f02038c4bfcf7a5305c8b9c1f481129.tar.gz
barebox-0420f7a34f02038c4bfcf7a5305c8b9c1f481129.tar.xz
USB: i.MX chipidea: Implement OTG support for the poor
For situations when we don't know the desired mode for the OTG port we register a otg device which has a mode parameter to specifiy the desired mode on the command line. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/usb')
-rw-r--r--include/usb/chipidea-imx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usb/chipidea-imx.h b/include/usb/chipidea-imx.h
index 487217cb7c..09e19af091 100644
--- a/include/usb/chipidea-imx.h
+++ b/include/usb/chipidea-imx.h
@@ -37,6 +37,7 @@
enum imx_usb_mode {
IMX_USB_MODE_HOST,
IMX_USB_MODE_DEVICE,
+ IMX_USB_MODE_OTG,
};
struct imxusb_platformdata {