]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaae1c6456682c364a890ea6126efa4b65424c9a7
treec22c597e17fa0c4e109bb2787a8051079f6334ee
parent1f5f389248092c1563eb9f95330369ff25834624
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]