usb: gadget: s3c-hsudc: Add regulator handling
authorHeiko Stübner <heiko@sntech.de>
Mon, 19 Dec 2011 18:42:19 +0000 (19:42 +0100)
committerFelipe Balbi <balbi@ti.com>
Wed, 21 Dec 2011 11:24:40 +0000 (13:24 +0200)
commitbab7d037c84f74449a510841ad03707f7e6609a5
tree321fdd951388e7192efc0d35cec18aa5de21db17
parentd93e2600d80fc41ccf339b4a2843a3007d479907
usb: gadget: s3c-hsudc: Add regulator handling

The udc has three supplies: vdda (3.3V), vddi (1.2V) and vddosc (1.8-3.3V).
Turn these on and off on start and stop calls.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/s3c-hsudc.c