]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: phy: omap: Add new device types and remove omap_control_usb3_phy_power()
authorRoger Quadros <rogerq@ti.com>
Thu, 3 Oct 2013 15:12:31 +0000 (18:12 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Oct 2013 22:47:30 +0000 (15:47 -0700)
commit6cb9310a3290beb8c0d31703a2e76b90a10b4ca0
treec748ea598aa00e38474a483281fee7093e1efd59
parent4fd06af96b9397fc54eb6b1a013a60c34693eef0
usb: phy: omap: Add new device types and remove omap_control_usb3_phy_power()

Add support for new device types and in the process rid of "ti,type"
device tree property. The correct type of device will be determined
from the compatible string instead.

Introduce a compatible string for each device type. At the moment
we support 4 types OTGHS, USB2, PIPE3 (e.g. USB3) and DRA7USB2.

Update DT binding information to reflect these changes.

Also get rid of omap_control_usb3_phy_power(). Just one function
i.e. omap_control_usb_phy_power() will now take care of all PHY types.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/omap-usb.txt
drivers/usb/phy/phy-omap-control.c
drivers/usb/phy/phy-omap-usb3.c
include/linux/usb/omap_control_usb.h