usb: phy: registering Tegra USB PHY as platform driver
authorVenu Byravarasu <vbyravarasu@nvidia.com>
Thu, 16 May 2013 14:13:02 +0000 (19:43 +0530)
committerFelipe Balbi <balbi@ti.com>
Wed, 29 May 2013 23:49:11 +0000 (02:49 +0300)
commit2d22b42db02fdafeb7b990c2c25caabff4dd46fe
tree5f80c9594098d7d6339d5bb19004c2be79b10d10
parent6829f92f6e64bfc6a553d7a2203ce1cb2e433c01
usb: phy: registering Tegra USB PHY as platform driver

Registered Tegra USB PHY as a separate platform driver.

To synchronize host controller and PHY initialization, used deferred
probe mechanism. As PHY should be initialized before EHCI starts running,
deferred probe of Tegra EHCI driver till PHY probe gets completed.

Got rid of instance number based handling in host driver.

Made use of DT params to get the PHY Pad registers.

Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/host/ehci-tegra.c
drivers/usb/phy/phy-tegra-usb.c
include/linux/usb/tegra_usb_phy.h