blob: a5240b9e29510dcf17a6ab83f31d70c90fb8edca [file] [log] [blame]
Govindraj.R928c4bd2012-02-06 03:55:32 +00001Reference code ""drivers/usb/ulpi/omap-ulpi-viewport.c"
2
3Contains the ulpi read write api's to perform
4any ulpi phy port access on omap platform.
5
6On omap ehci reg map contains INSNREG05_ULPI
7register which offers the ulpi phy access so
8any ulpi phy commands should be passsed using this
9register.
10
11omap-ulpi-viewport.c is a low level function
12implementation of "drivers/usb/ulpi/ulpi.c"
13
14To enable and use omap-ulpi-viewport.c
15we require CONFIG_USB_ULPI_VIEWPORT_OMAP and
16CONFIG_USB_ULPI be enabled in config file.
17
18Any ulpi ops request can be done with ulpi.c
19and soc specific binding and usage is done with
20omap-ulpi-viewport implementation.
21
22Ex: scenario:
23omap-ehci driver code requests for ulpi phy reset if
24ehci is used in phy mode, which will call ulpi phy reset
25the ulpi phy reset does ulpi_read/write from viewport
26implementation which will do ulpi reset using the
27INSNREG05_ULPI register.