diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2013-09-27 02:23:26 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-27 20:36:21 -0400 |
commit | 5d93d1e76afbe629caf5d995fd7f8ddd6e3d4d01 (patch) | |
tree | 2c41ecee25b1583f388054961e568615eb05d9ee /drivers/usb/phy/Kconfig | |
parent | ff764963479a1b18721ab96e531404c50fefe8b1 (diff) |
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>
Diffstat (limited to 'drivers/usb/phy/Kconfig')
-rw-r--r-- | drivers/usb/phy/Kconfig | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig index 51ffe11cf38a..2ce041109993 100644 --- a/drivers/usb/phy/Kconfig +++ b/drivers/usb/phy/Kconfig | |||
@@ -66,17 +66,6 @@ config OMAP_CONTROL_USB | |||
66 | power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an | 66 | power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an |
67 | additional register to power on USB3 PHY. | 67 | additional register to power on USB3 PHY. |
68 | 68 | ||
69 | config OMAP_USB2 | ||
70 | tristate "OMAP USB2 PHY Driver" | ||
71 | depends on ARCH_OMAP2PLUS | ||
72 | select OMAP_CONTROL_USB | ||
73 | select USB_PHY | ||
74 | help | ||
75 | Enable this to support the transceiver that is part of SOC. This | ||
76 | driver takes care of all the PHY functionality apart from comparator. | ||
77 | The USB OTG controller communicates with the comparator using this | ||
78 | driver. | ||
79 | |||
80 | config OMAP_USB3 | 69 | config OMAP_USB3 |
81 | tristate "OMAP USB3 PHY Driver" | 70 | tristate "OMAP USB3 PHY Driver" |
82 | depends on ARCH_OMAP2PLUS || COMPILE_TEST | 71 | depends on ARCH_OMAP2PLUS || COMPILE_TEST |