]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: phy: Add AM335x PHY driver
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 30 Jul 2013 19:43:45 +0000 (21:43 +0200)
committerFelipe Balbi <balbi@ti.com>
Fri, 9 Aug 2013 14:34:15 +0000 (17:34 +0300)
commit3bb869c8b3f1a11f1854cd74ebdeb60753614cf8
tree124ca4bdf85a58f980e9f00913063191103c6070
parent53b6fc28ea8e9857b6141afb92f3683eab9568ba
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>
drivers/usb/phy/Kconfig
drivers/usb/phy/Makefile
drivers/usb/phy/am35x-phy-control.h [new file with mode: 0644]
drivers/usb/phy/phy-am335x-control.c [new file with mode: 0644]
drivers/usb/phy/phy-am335x.c [new file with mode: 0644]