]> 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)
commit142688aa5a63c910d1b83f88ba48cbee74fa52bd
treef17e75e4422172392d4be8b1934733681d7984bf
parent3f2875990a1a36e7ea0b8d554f5bee17dbe3ef3c
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