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>
This commit is contained in:

committed by
Felipe Balbi

parent
94715d5945
commit
5ec4059076
@@ -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__ */
|
||||
|
Reference in New Issue
Block a user