From patchwork Fri Jul 10 12:43:53 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Hunter X-Patchwork-Id: 35013 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 n6ACgeDB014201 for ; Fri, 10 Jul 2009 12:42:45 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755719AbZGJMkZ (ORCPT ); Fri, 10 Jul 2009 08:40:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755607AbZGJMkZ (ORCPT ); Fri, 10 Jul 2009 08:40:25 -0400 Received: from smtp.nokia.com ([192.100.122.230]:37364 "EHLO mgw-mx03.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755771AbZGJMkW (ORCPT ); Fri, 10 Jul 2009 08:40:22 -0400 Received: from esebh106.NOE.Nokia.com (esebh106.ntc.nokia.com [172.21.138.213]) by mgw-mx03.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n6ACe8DR002193; Fri, 10 Jul 2009 15:40:13 +0300 Received: from esebh102.NOE.Nokia.com ([172.21.138.183]) by esebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 10 Jul 2009 15:40:17 +0300 Received: from mgw-sa02.ext.nokia.com ([147.243.1.48]) by esebh102.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Fri, 10 Jul 2009 15:40:16 +0300 Received: from [127.0.1.1] (esdhcp042131.research.nokia.com [172.21.42.131]) by mgw-sa02.ext.nokia.com (Switch-3.2.6/Switch-3.2.6) with ESMTP id n6ACeE35002531; Fri, 10 Jul 2009 15:40:15 +0300 From: Adrian Hunter To: Pierre Ossman Cc: Jarkko Lavinen , Denis Karpov , Adrian Hunter , lkml , linux-omap Mailing List Date: Fri, 10 Jul 2009 15:43:53 +0300 Message-Id: <20090710124353.1262.22788.sendpatchset@ahunter-tower> In-Reply-To: <20090710124004.1262.10422.sendpatchset@ahunter-tower> References: <20090710124004.1262.10422.sendpatchset@ahunter-tower> Subject: [PATCH 32/32] ARM: OMAP: RX51: set MMC capabilities and power-saving flag X-OriginalArrivalTime: 10 Jul 2009 12:40:16.0432 (UTC) FILETIME=[93A6E300:01CA015B] X-Nokia-AV: Clean Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From 3865867159f25cf706480236f6d4f0e4adde5dac Mon Sep 17 00:00:00 2001 From: Adrian Hunter Date: Fri, 10 Jul 2009 10:32:44 +0300 Subject: [PATCH] ARM: OMAP: RX51: set MMC capabilities and power-saving flag Specify MMC capabilities and set the power-saving flag for RX51. Signed-off-by: Adrian Hunter --- arch/arm/mach-omap2/board-rx51-peripherals.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index 9a0bf67..5cc815b 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include @@ -102,6 +103,8 @@ static struct twl4030_hsmmc_info mmc[] = { .cover_only = true, .gpio_cd = 160, .gpio_wp = -EINVAL, + .power_saving = true, + .caps = MMC_CAP_SD_ONLY, }, { .name = "internal", @@ -109,6 +112,8 @@ static struct twl4030_hsmmc_info mmc[] = { .wires = 8, .gpio_cd = -EINVAL, .gpio_wp = -EINVAL, + .power_saving = true, + .caps = MMC_CAP_MMC_ONLY | MMC_CAP_NONREMOVABLE, }, {} /* Terminator */ };