From patchwork Thu Jul 7 13:32:20 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 952862 Received: from smtp1.linux-foundation.org (smtp1.linux-foundation.org [140.211.169.13]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p67DRq4c011566 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Thu, 7 Jul 2011 13:28:12 GMT Received: from daredevil.linux-foundation.org (localhost [127.0.0.1]) by smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with ESMTP id p67DQPoD021282; Thu, 7 Jul 2011 06:26:26 -0700 Received: from mail-pv0-f175.google.com (mail-pv0-f175.google.com [74.125.83.175]) by smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with ESMTP id p67DO9Zd021003 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for ; Thu, 7 Jul 2011 06:24:10 -0700 Received: by pvf24 with SMTP id 24so416117pvf.6 for ; Thu, 07 Jul 2011 06:24:09 -0700 (PDT) Received: by 10.142.223.8 with SMTP id v8mr476636wfg.26.1310045049165; Thu, 07 Jul 2011 06:24:09 -0700 (PDT) Received: from [127.0.0.1] (FLH1Ama088.tky.mesh.ad.jp [202.225.112.88]) by mx.google.com with ESMTPS id x2sm5618641pbn.13.2011.07.07.06.24.06 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 07 Jul 2011 06:24:07 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Thu, 07 Jul 2011 22:32:20 +0900 Message-Id: <20110707133220.22347.53762.sendpatchset@t400s> In-Reply-To: <20110707133212.22347.68775.sendpatchset@t400s> References: <20110707133212.22347.68775.sendpatchset@t400s> Received-SPF: pass (localhost is always allowed.) X-Spam-Status: No, hits=-3.812 required=5 tests=AWL, BAYES_00, OSDL_HEADER_SPF_PASS, OSDL_HEADER_SUBJECT_BRACKETED X-Spam-Checker-Version: SpamAssassin 3.2.4-osdl_revision__1.47__ X-MIMEDefang-Filter: lf$Revision: 1.188 $ X-Scanned-By: MIMEDefang 2.63 on 140.211.169.21 Cc: linux-pm@lists.linux-foundation.org Subject: [linux-pm] [PATCH 01/05] ARM: mach-shmobile: sh7372 D4 support X-BeenThere: linux-pm@lists.linux-foundation.org X-Mailman-Version: 2.1.9 Precedence: list List-Id: Linux power management List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Thu, 07 Jul 2011 13:28:12 +0000 (UTC) From: Magnus Damm Add support for the sh7372 D4 power domain. This power domain contains the Coresight-ETM hardware block. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/include/mach/sh7372.h | 1 + arch/arm/mach-shmobile/pm-sh7372.c | 4 ++++ arch/arm/mach-shmobile/setup-sh7372.c | 1 + 3 files changed, 6 insertions(+) --- 0002/arch/arm/mach-shmobile/include/mach/sh7372.h +++ work/arch/arm/mach-shmobile/include/mach/sh7372.h 2011-07-07 19:20:09.000000000 +0900 @@ -486,6 +486,7 @@ static inline struct sh7372_pm_domain *t #ifdef CONFIG_PM extern struct sh7372_pm_domain sh7372_a4lc; extern struct sh7372_pm_domain sh7372_a4mp; +extern struct sh7372_pm_domain sh7372_d4; extern struct sh7372_pm_domain sh7372_a3rv; extern struct sh7372_pm_domain sh7372_a3ri; extern struct sh7372_pm_domain sh7372_a3sg; --- 0002/arch/arm/mach-shmobile/pm-sh7372.c +++ work/arch/arm/mach-shmobile/pm-sh7372.c 2011-07-07 19:24:26.000000000 +0900 @@ -129,6 +129,10 @@ struct sh7372_pm_domain sh7372_a4mp = { .bit_shift = 2, }; +struct sh7372_pm_domain sh7372_d4 = { + .bit_shift = 3, +}; + struct sh7372_pm_domain sh7372_a3rv = { .bit_shift = 6, }; --- 0002/arch/arm/mach-shmobile/setup-sh7372.c +++ work/arch/arm/mach-shmobile/setup-sh7372.c 2011-07-07 19:20:33.000000000 +0900 @@ -843,6 +843,7 @@ void __init sh7372_add_standard_devices( { sh7372_init_pm_domain(&sh7372_a4lc); sh7372_init_pm_domain(&sh7372_a4mp); + sh7372_init_pm_domain(&sh7372_d4); sh7372_init_pm_domain(&sh7372_a3rv); sh7372_init_pm_domain(&sh7372_a3ri); sh7372_init_pm_domain(&sh7372_a3sg);