usb: otg: add an api to bind the usb controller and phy
authorKishon Vijay Abraham I <kishon@ti.com>
Fri, 25 Jan 2013 02:33:21 +0000 (08:03 +0530)
committerFelipe Balbi <balbi@ti.com>
Fri, 25 Jan 2013 08:20:09 +0000 (10:20 +0200)
commitb4a83e4df1bc864e89d3bb90e97f9caab656545d
tree9529706dc4e3d06043385b3d52d687dfac30beb3
parent5a1a174c2c7f51b562071e06c9b52c5fd8adf6da
usb: otg: add an api to bind the usb controller and phy

In order to support platforms which has multiple PHY's (of same type) and
which has multiple USB controllers, a new design is adopted wherin the binding
information (between the PHY and the USB controller) should be passed to the
PHY library from platform specific file (board file).
So added a new API to pass the binding information.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/otg/otg.c
include/linux/usb/phy.h