usb: dwc3: omap: Add an API to write to dwc mailbox
authorKishon Vijay Abraham I <kishon@ti.com>
Fri, 25 Jan 2013 03:00:49 +0000 (08:30 +0530)
committerFelipe Balbi <balbi@ti.com>
Fri, 25 Jan 2013 07:17:09 +0000 (09:17 +0200)
commit7e41bba94617b7e4f77d3531a63fbfacdf6842a6
treec22c597e17fa0c4e109bb2787a8051079f6334ee
parent6373218da195e9baade9416727720646b3a622aa
usb: dwc3: omap: Add an API to write to dwc mailbox

Add an API in the omap glue layer to write to the mailbox register which
can be used by comparator driver(twl). To pass the detection of the attached
device (signified by VBUS, ID) to the dwc3 core, dwc3 core has to write
to the mailbox regiter.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/dwc3-omap.c
include/linux/usb/dwc3-omap.h [new file with mode: 0644]