]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit388517a81e839ba7842d8d8bcde4d6d6616c8e30
tree2e5d979de074d710c507b2cf918a0a6974d00c5b
parent5fa378b8ae6f04ec987c76c0c15c546c33818c31
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