usb: chipidea: add ci_hdrc_enter_lpm API
authorPeter Chen <peter.chen@freescale.com>
Tue, 24 Sep 2013 04:47:55 +0000 (12:47 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Oct 2013 01:54:07 +0000 (18:54 -0700)
commit864cf949981754c53de0a2efdc6c542c51d61328
tree2324e9276920606a4676c97ed0cf8da60ff8f747
parentaf59a8b120d18949f4f9166ccbe17348e3c9cd96
usb: chipidea: add ci_hdrc_enter_lpm API

This API is used to let the PHY enter/leave low power mode.
Before the controller going to work(at probe/resume), it needs to let
the PHY leave low power mode.
After the controller stopping working(at remove/suspend), it needs to
let the PHY enter low power mode to save power consumption.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/bits.h
drivers/usb/chipidea/core.c