diff options
| author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2013-07-30 15:43:45 -0400 |
|---|---|---|
| committer | Felipe Balbi <balbi@ti.com> | 2013-08-09 10:34:15 -0400 |
| commit | 3bb869c8b3f1a11f1854cd74ebdeb60753614cf8 (patch) | |
| tree | 124ca4bdf85a58f980e9f00913063191103c6070 /drivers/usb/phy/Kconfig | |
| parent | 53b6fc28ea8e9857b6141afb92f3683eab9568ba (diff) | |
usb: phy: Add AM335x PHY driver
This driver is a redo of my earlier attempt. It uses parts of the
generic PHY driver and uses the new control driver for the register
the phy needs to power on/off the phy. It also enables easy access for
the wakeup register which is not yet implemented.
The difference between the omap attempt is:
- no static holding variable
- one global visible function which exports a struct with callbacks to
access the "control" registers.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/phy/Kconfig')
| -rw-r--r-- | drivers/usb/phy/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig index f5ea339ec155..f41c3e12c6a7 100644 --- a/drivers/usb/phy/Kconfig +++ b/drivers/usb/phy/Kconfig | |||
| @@ -86,6 +86,18 @@ config OMAP_USB3 | |||
| 86 | This driver interacts with the "OMAP Control USB Driver" to power | 86 | This driver interacts with the "OMAP Control USB Driver" to power |
| 87 | on/off the PHY. | 87 | on/off the PHY. |
| 88 | 88 | ||
| 89 | config AM335X_CONTROL_USB | ||
| 90 | tristate | ||
| 91 | |||
| 92 | config AM335X_PHY_USB | ||
| 93 | tristate "AM335x USB PHY Driver" | ||
| 94 | select USB_PHY | ||
| 95 | select AM335X_CONTROL_USB | ||
| 96 | select NOP_USB_XCEIV | ||
| 97 | help | ||
| 98 | This driver provides PHY support for that phy which part for the | ||
| 99 | AM335x SoC. | ||
| 100 | |||
| 89 | config SAMSUNG_USBPHY | 101 | config SAMSUNG_USBPHY |
| 90 | tristate | 102 | tristate |
| 91 | help | 103 | help |
