usb: phy: generic: Don't use regulator framework for RESET line
authorRoger Quadros <rogerq@ti.com>
Tue, 24 Sep 2013 08:53:48 +0000 (11:53 +0300)
committerFelipe Balbi <balbi@ti.com>
Fri, 4 Oct 2013 14:29:03 +0000 (09:29 -0500)
commitbd27fa44e13830d2baa278d5702e766380659cb3
tree2e5d979de074d710c507b2cf918a0a6974d00c5b
parent8e933359ee2c3a861d5022b83110ce88ba3a2dda
usb: phy: generic: Don't use regulator framework for RESET line

Modelling the RESET line as a regulator supply wasn't a good idea
as it kind of abuses the regulator framework and also makes adaptation
code more complex.

Instead, manage the RESET gpio line directly in the driver. Update
the device tree binding information.

This also makes us easy to migrate to a dedicated GPIO RESET controller
whenever it becomes available.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt
drivers/usb/phy/phy-am335x.c
drivers/usb/phy/phy-generic.c
drivers/usb/phy/phy-generic.h