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

Used the generic PHY framework API to create the PHY. For powering on
and powering off the PHY, power_on and power_off ops are used. Once the
MUSB OMAP glue is adapted to the new framework, the suspend and resume
ops of usb phy library will be removed. Also twl4030-usb driver is moved
to drivers/phy/.

However using the old usb phy library cannot be completely removed
because otg is intertwined with phy and moving to the new
framework completely 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>
Acked-by: Felipe Balbi <balbi@ti.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/phy/Kconfig
drivers/phy/Makefile
drivers/phy/phy-twl4030-usb.c [moved from drivers/usb/phy/phy-twl4030-usb.c with 95% similarity]
drivers/usb/phy/Kconfig
drivers/usb/phy/Makefile
include/linux/i2c/twl.h