From: Kevin Hilman Subject: [PATCH 27/28] PM: Disable usb host HW save and restore Date: Thu, 1 Oct 2009 16:58:57 -0700 Message-ID: <1254441538-9257-28-git-send-email-khilman@deeprootsystems.com> References: <1254441538-9257-1-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-2-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-3-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-4-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-5-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-6-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-7-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-8-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-9-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-10-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-11-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-12-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-13-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-14-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-15-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-16-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-17-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-18-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-19-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-20-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-21-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-22-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-23-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-24-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-25-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-26-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-27-git-send-email-khilman@deeprootsystems.com> Return-path: Received: from mail-px0-f179.google.com ([209.85.216.179]:51872 "EHLO mail-px0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756631AbZJAX7l (ORCPT ); Thu, 1 Oct 2009 19:59:41 -0400 Received: by mail-px0-f179.google.com with SMTP id 9so694314pxi.4 for ; Thu, 01 Oct 2009 16:59:45 -0700 (PDT) In-Reply-To: <1254441538-9257-27-git-send-email-khilman@deeprootsystems.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: linux-omap@vger.kernel.org Cc: Kalle Jokiniemi , Kalle Jokiniemi From: Kalle Jokiniemi The hardware SAVEANDRESTORE mechanism seems to leave USB HOST power domain permanently into active state after one transition from off to active state. Disabling for now. Signed-off-by: Kalle Jokiniemi --- arch/arm/mach-omap2/powerdomains34xx.h | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/powerdomains34xx.h b/arch/arm/mach-omap2/powerdomains34xx.h index 4dcf94b..aa557b2 100644 --- a/arch/arm/mach-omap2/powerdomains34xx.h +++ b/arch/arm/mach-omap2/powerdomains34xx.h @@ -338,7 +338,13 @@ static struct powerdomain usbhost_pwrdm = { .sleepdep_srcs = dss_per_usbhost_sleepdeps, .pwrsts = PWRSTS_OFF_RET_ON, .pwrsts_logic_ret = PWRDM_POWER_RET, - .flags = PWRDM_HAS_HDWR_SAR, /* for USBHOST ctrlr only */ + /* + * REVISIT: Enabling usb host save and restore mechanism seems to + * leave the usb host domain permanently in ACTIVE mode after + * changing the usb host power domain state from OFF to active once. + * Disabling for now. + */ + /*.flags = PWRDM_HAS_HDWR_SAR,*/ /* for USBHOST ctrlr only */ .banks = 1, .pwrsts_mem_ret = { [0] = PWRDM_POWER_RET, /* MEMRETSTATE */ -- 1.6.4.3