]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
usb: phy: omap-usb2: use the new generic PHY framework
authorKishon Vijay Abraham I <kishon@ti.com>
Fri, 27 Sep 2013 06:23:26 +0000 (11:53 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 28 Sep 2013 00:36:21 +0000 (17:36 -0700)
commit5d93d1e76afbe629caf5d995fd7f8ddd6e3d4d01
tree2c41ecee25b1583f388054961e568615eb05d9ee
parentff764963479a1b18721ab96e531404c50fefe8b1
usb: phy: omap-usb2: use the new generic PHY framework

Used the generic PHY framework API to create the PHY. Now the power off and
power on are done in omap_usb_power_off and omap_usb_power_on respectively.
The omap-usb2 driver is also moved to driver/phy.

However using the old USB PHY library cannot be completely removed
because OTG is intertwined with PHY and moving to the new framework
will break OTG. Once we have a separate OTG state machine, we
can get rid of the USB PHY library.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/phy/Kconfig
drivers/phy/Makefile
drivers/phy/phy-omap-usb2.c [moved from drivers/usb/phy/phy-omap-usb2.c with 88% similarity]
drivers/usb/phy/Kconfig
drivers/usb/phy/Makefile