From patchwork Fri Jul 31 07:48:29 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 38465 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n6V7qUid018909 for ; Fri, 31 Jul 2009 07:52:39 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751447AbZGaHwi (ORCPT ); Fri, 31 Jul 2009 03:52:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751480AbZGaHwi (ORCPT ); Fri, 31 Jul 2009 03:52:38 -0400 Received: from wa-out-1112.google.com ([209.85.146.179]:51195 "EHLO wa-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751447AbZGaHwh (ORCPT ); Fri, 31 Jul 2009 03:52:37 -0400 Received: by wa-out-1112.google.com with SMTP id j5so307844wah.21 for ; Fri, 31 Jul 2009 00:52:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:date:message-id :in-reply-to:references:subject; bh=26/qV8WHg1CxL3ygI7dbacs5LUEIdS0ikCYqzkFeYps=; b=C7vrd3WwfnLpFEY+PB4HSLAn1N4evaEL+vvzh6cy2Ah62/tZWCYtBxJBLSQ2fwlo1q 1HkO6ic7GNZ1R9xEy2v/E6E3tSrhGy4WfU9dkhEB1LCKT2n7RWuHxpSeWMl1Fp3bgrd6 2+B74T9obB+SEEcvbBEKYCb4TdXbz6XGu21tc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:in-reply-to:references:subject; b=hpjhvU0uP1QJIvm3uZEWBFvzSjK9iJedCV58V49ol9ILry8TCRGFLEYDUN5mtFFE9b joT/904xo7xc534dbEqeiSsZGbqIUPAxzAb7v4YpNS9VoJFLZzmKTpuoMcpJjeDtSc2j M7SumMehGInIB5cT64CdnFFNnpPscOwYbdFxk= Received: by 10.114.234.20 with SMTP id g20mr1990075wah.203.1249026758380; Fri, 31 Jul 2009 00:52:38 -0700 (PDT) Received: from rx1.opensource.se (210-225-125-011.jp.fiberphone.net [210.225.125.11]) by mx.google.com with ESMTPS id j15sm4666012waf.51.2009.07.31.00.52.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 31 Jul 2009 00:52:37 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: rjw@sisk.pl, Magnus Damm , lethal@linux-sh.org Date: Fri, 31 Jul 2009 16:48:29 +0900 Message-Id: <20090731074829.29009.65668.sendpatchset@rx1.opensource.se> In-Reply-To: <20090731074705.29009.33769.sendpatchset@rx1.opensource.se> References: <20090731074705.29009.33769.sendpatchset@rx1.opensource.se> Subject: [PATCH 09/09] sh: Runtime PM pdev hwblk - Solution Engine 7724 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org From: Magnus Damm Add hwblk_id to Solution Engine 7724 board specific on-chip sh7724 platform devices. Signed-off-by: Magnus Damm --- arch/sh/boards/mach-se/7724/setup.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0001/arch/sh/boards/mach-se/7724/setup.c +++ work/arch/sh/boards/mach-se/7724/setup.c 2009-07-31 15:19:58.000000000 +0900 @@ -174,6 +174,9 @@ static struct platform_device lcdc_devic .dev = { .platform_data = &lcdc_info, }, + .archdata = { + .hwblk_id = HWBLK_LCDC, + }, }; /* CEU0 */ @@ -205,6 +208,9 @@ static struct platform_device ceu0_devic .dev = { .platform_data = &sh_mobile_ceu0_info, }, + .archdata = { + .hwblk_id = HWBLK_CEU0, + }, }; /* CEU1 */ @@ -236,6 +242,9 @@ static struct platform_device ceu1_devic .dev = { .platform_data = &sh_mobile_ceu1_info, }, + .archdata = { + .hwblk_id = HWBLK_CEU1, + }, }; /* KEYSC */ @@ -273,6 +282,9 @@ static struct platform_device keysc_devi .dev = { .platform_data = &keysc_info, }, + .archdata = { + .hwblk_id = HWBLK_KEYSC, + }, }; /* SH Eth */ @@ -301,6 +313,9 @@ static struct platform_device sh_eth_dev }, .num_resources = ARRAY_SIZE(sh_eth_resources), .resource = sh_eth_resources, + .archdata = { + .hwblk_id = HWBLK_ETHER, + }, }; static struct r8a66597_platdata sh7724_usb0_host_data = { @@ -330,6 +345,9 @@ static struct platform_device sh7724_usb }, .num_resources = ARRAY_SIZE(sh7724_usb0_host_resources), .resource = sh7724_usb0_host_resources, + .archdata = { + .hwblk_id = HWBLK_USB0, + }, }; static struct platform_device *ms7724se_devices[] __initdata = {