diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2013-07-30 21:43:45 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-08-09 17:34:15 +0300 |
commit | 3bb869c8b3f1a11f1854cd74ebdeb60753614cf8 (patch) | |
tree | 124ca4bdf85a58f980e9f00913063191103c6070 /drivers/usb/phy/Kconfig | |
parent | 53b6fc28ea8e9857b6141afb92f3683eab9568ba (diff) | |
download | linux-3bb869c8b3f1a11f1854cd74ebdeb60753614cf8.tar.bz2 |
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 This driver interacts with the "OMAP Control USB Driver" to power on/off the PHY. +config AM335X_CONTROL_USB + tristate + +config AM335X_PHY_USB + tristate "AM335x USB PHY Driver" + select USB_PHY + select AM335X_CONTROL_USB + select NOP_USB_XCEIV + help + This driver provides PHY support for that phy which part for the + AM335x SoC. + config SAMSUNG_USBPHY tristate help |