]> git.baikalelectronics.ru Git - kernel.git/commit
usb: phy: nop: Handle RESET for the PHY
authorRoger Quadros <rogerq@ti.com>
Tue, 12 Mar 2013 11:24:23 +0000 (13:24 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:14:53 +0000 (11:14 +0200)
commit88019875c50b077ed95f4dde390f808565369a7e
treef17e75e4422172392d4be8b1934733681d7984bf
parentd264b361ca3e84cb6c2ebf4d2bd59b1a77dfd8ce
usb: phy: nop: Handle RESET for the PHY

We expect the RESET line to be modeled as a regulator with supply
name "reset". The regulator should be modeled such that enabling
the regulator brings the PHY device out of RESET and disabling the
regulator holds the device in RESET.

They PHY will be held in RESET in .shutdown() and brought out of
RESET in .init().

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/otg/nop-usb-xceiv.c