]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: omap: distinguish between SW and HW modes
authorFelipe Balbi <balbi@ti.com>
Thu, 1 Sep 2011 19:26:25 +0000 (22:26 +0300)
committerFelipe Balbi <balbi@ti.com>
Fri, 9 Sep 2011 10:02:45 +0000 (13:02 +0300)
commit624b40be88c683876209615a1788695827ed08dc
treeaf6c9bc3d6ee2d829f3fb9959e9a5d87d7cd0f10
parent749fd5de9302014a8321b668baca82b22808e29c
usb: dwc3: omap: distinguish between SW and HW modes

The OMAP wrapper allows us to either control internal
OTG signals via SW or HW. Different boards might wish
to use one or the other mode of operation. Let's have
have that information passed via platform_data for now.

After DT conversion is finished for OMAP, we can easily
convert this to a DT attribute.

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