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/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/phy/Kconfig')
-rw-r--r-- | drivers/phy/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig index 349bef2e6e4e..38c3477ead4c 100644 --- a/drivers/phy/Kconfig +++ b/drivers/phy/Kconfig | |||
@@ -15,4 +15,16 @@ config GENERIC_PHY | |||
15 | phy users can obtain reference to the PHY. All the users of this | 15 | phy users can obtain reference to the PHY. All the users of this |
16 | framework should select this config. | 16 | framework should select this config. |
17 | 17 | ||
18 | config OMAP_USB2 | ||
19 | tristate "OMAP USB2 PHY Driver" | ||
20 | depends on ARCH_OMAP2PLUS | ||
21 | select GENERIC_PHY | ||
22 | select USB_PHY | ||
23 | select OMAP_CONTROL_USB | ||
24 | help | ||
25 | Enable this to support the transceiver that is part of SOC. This | ||
26 | driver takes care of all the PHY functionality apart from comparator. | ||
27 | The USB OTG controller communicates with the comparator using this | ||
28 | driver. | ||
29 | |||
18 | endmenu | 30 | endmenu |