usb: gadget: mv_udc: add clock gating support
authorNeil Zhang <zhangwm@marvell.com>
Wed, 12 Oct 2011 08:49:39 +0000 (16:49 +0800)
committerFelipe Balbi <balbi@ti.com>
Thu, 13 Oct 2011 17:42:09 +0000 (20:42 +0300)
commit1aec033b955ba358dbf365aa7d0bbd49079c8559
tree1796c80b618df076cd800dbd8e9f20290513b9be
parentfb22cbac8242e92d643e5d5cb81bc6307fa6fc9c
usb: gadget: mv_udc: add clock gating support

This patch is going to support clock gating when vbus detection is
posible. Clock and phy will be on only when usb gadget is used(vbus valid).

Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/mv_udc.h
drivers/usb/gadget/mv_udc_core.c