]> 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)
commitd5a777237c462323f6de23a05e7c6d3f4341e930
tree2e5d979de074d710c507b2cf918a0a6974d00c5b
parente852f22fe9e4f0031c9e6280da44177cdfec62da
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