USB: OTG: msm: Add support for power management
authorPavankumar Kondeti <pkondeti@codeaurora.org>
Tue, 7 Dec 2010 12:23:58 +0000 (17:53 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 10 Dec 2010 22:23:32 +0000 (14:23 -0800)
commit87c0104af742af2acfcbd685f2b9a40f33770dc0
treef17e999013e443ec70bb4c05a79a44c6ae52054f
parent8bb6a164b906bb7ca319202f85b30e3ef096cd65
USB: OTG: msm: Add support for power management

Implement runtime and system pm ops to put hardware into low power
mode (LPM). As part of LPM, USB clocks are turned off, PHY is put
into suspend state and PHY comparators are turned off if VBUS/Id
notifications are not required from PHY.

Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/otg/Kconfig
drivers/usb/otg/msm72k_otg.c
include/linux/usb/msm_hsusb.h
include/linux/usb/msm_hsusb_hw.h