]> 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)
commit8f33e99dcd135115f1b20b2babf6586f113dcde5
treec22c597e17fa0c4e109bb2787a8051079f6334ee
parent2c11a4765890148e7e77179439d1567f32d0f7d7
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]