usb: host: ehci: adding regulator framework in ehci-omap.c driver.
authorAjay Kumar Gupta <ajay.gupta@ti.com>
Mon, 28 Dec 2009 11:40:46 +0000 (13:40 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:53:49 +0000 (14:53 -0800)
commit881142660697bba0f3ef44f070d80632082c978f
treee2c6cd69cd0331523e74ed95a385ca2a0c405fcf
parentd3ae8562d43fe2b97d605dd67dc67bf8fa9b956a
usb: host: ehci: adding regulator framework in ehci-omap.c driver.

OMAP3 has three HS USB ports so it can have three different regulator
for each PHY connected to each port.

Currently these regulators are assumed to be optional and driver doesn't
fail but continue with the initialization if it doesn't get any regulators.

Regulator supply names has to be mapped in board files as 'hsusbN' where
'N' is port number and can be {0, 1 ,2}.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-omap.c