[kernel] arm: rockchip: rk3288w: usb: ehci: unset common_on at hw_init

Set ehci common_on 1'b0 to disable common block power-down
control, and PLL blocks remain powered in Suspend mode.

Change-Id: I705615c104ce218c0ee419eca0bac66ed5b7d7f5
Signed-off-by: Firefly <service@t-firefly.com>
(cherry picked from commit eba1a4b87498c36c52d5f225e202a712947c356f)
This commit is contained in:
Firefly
2015-09-24 11:43:53 +08:00
committed by cjp
parent 93abf7c8af
commit d915071094

View File

@ -475,7 +475,11 @@ struct rkehci_platform_data rkehci1_pdata_rk3288 = {
#ifdef CONFIG_USB_EHCI_RK
static void rk_ehci_hw_init(void)
{
/* usb phy config init */
/* usb phy config init
* set common_on = 0, in suspend mode,
* host0 PLL blocks remain powered.
*/
control_usb->grf_uoc1_base->CON0 = (1 << 16) | 0;
/* DRV_VBUS GPIO init */
if (gpio_is_valid(control_usb->host_gpios->gpio)) {