summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb-new/omap2430.h
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2016-02-27 19:19:05 +0100
committerTom Rini <trini@konsulko.com>2016-03-15 15:12:51 -0400
commit27754d18fc1b5a5c6a6e86ababf44b382a6dc7d9 (patch)
treeab39a6b626ab9a313635573a34752bea5bcbd4d9 /drivers/usb/musb-new/omap2430.h
parent6313c6500484ed85892f425e3ca93f706fd9a2ea (diff)
downloadtalos-obmc-uboot-27754d18fc1b5a5c6a6e86ababf44b382a6dc7d9.tar.gz
talos-obmc-uboot-27754d18fc1b5a5c6a6e86ababf44b382a6dc7d9.zip
usb: musb-new: omap2430: OMAP4 MUSB USB controller support
This adds support for the OMAP4 MUSB USB controller, with a matching Linux compat definition, TWL6030 USB device setup and USBOTGHS register setup. Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'drivers/usb/musb-new/omap2430.h')
-rw-r--r--drivers/usb/musb-new/omap2430.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/usb/musb-new/omap2430.h b/drivers/usb/musb-new/omap2430.h
index 56998c794f..0c3dd8bfd9 100644
--- a/drivers/usb/musb-new/omap2430.h
+++ b/drivers/usb/musb-new/omap2430.h
@@ -50,4 +50,12 @@
#define OTG_FORCESTDBY 0x414
# define ENABLEFORCE (1 << 0)
+/*
+ * OMAP4-specific definitions
+ */
+
+#define USBOTGHS_CONTROL_AVALID (1 << 0)
+#define USBOTGHS_CONTROL_VBUSVALID (1 << 2)
+#define USBOTGHS_CONTROL_IDDIG (1 << 4)
+
#endif /* __MUSB_OMAP243X_H__ */
OpenPOWER on IntegriCloud