summaryrefslogtreecommitdiff
path: root/drivers/usb/musb/omap2430.h
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2012-09-11 09:09:39 (GMT)
committerFelipe Balbi <balbi@ti.com>2012-09-11 09:13:22 (GMT)
commit5ec40590765b8571ae6218f1bc421ec63d3e91c2 (patch)
treec188af1f2e54024cb6112ef3fe4624e94d640438 /drivers/usb/musb/omap2430.h
parent94715d59453dd3aba588fd6b6881f4cb4fac5440 (diff)
downloadlinux-5ec40590765b8571ae6218f1bc421ec63d3e91c2.tar.xz
usb: musb: omap: write directly to mailbox instead of using phy
The glue layer should directly write to mailbox register (present in control module) instead of calling phy layer to write to mailbox register. Writing to mailbox register notifies the core of events like device connect/disconnect. Currently writing to control module register is taken care in this driver which will be removed once the control module driver is in place. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/omap2430.h')
-rw-r--r--drivers/usb/musb/omap2430.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/usb/musb/omap2430.h b/drivers/usb/musb/omap2430.h
index 40b3c02..b85f397 100644
--- a/drivers/usb/musb/omap2430.h
+++ b/drivers/usb/musb/omap2430.h
@@ -49,4 +49,13 @@
#define OTG_FORCESTDBY 0x414
# define ENABLEFORCE (1 << 0)
+/*
+ * Control Module bit definitions
+ * XXX: Will be removed once we have a driver for control module.
+ */
+#define AVALID BIT(0)
+#define BVALID BIT(1)
+#define VBUSVALID BIT(2)
+#define SESSEND BIT(3)
+#define IDDIG BIT(4)
#endif /* __MUSB_OMAP243X_H__ */