From patchwork Fri Aug 26 09:48:01 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 1101742 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p7Q9lOut012297 for ; Fri, 26 Aug 2011 09:48:08 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754590Ab1HZJsH (ORCPT ); Fri, 26 Aug 2011 05:48:07 -0400 Received: from kirsty.vergenet.net ([202.4.237.240]:59780 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751306Ab1HZJsG (ORCPT ); Fri, 26 Aug 2011 05:48:06 -0400 Received: from joe.akashicho.tokyo.vergenet.net (joe.akashicho.tokyo.vergenet.net [IPv6:2001:470:f44f:403:1ec1:deff:fe98:754d]) by kirsty.vergenet.net (Postfix) with ESMTP id 4A89624062; Fri, 26 Aug 2011 19:48:04 +1000 (EST) Received: by joe.akashicho.tokyo.vergenet.net (Postfix, from userid 7100) id CE88228A035; Fri, 26 Aug 2011 18:48:01 +0900 (JST) Date: Fri, 26 Aug 2011 18:48:01 +0900 From: Simon Horman To: Guennadi Liakhovetski Cc: linux-mmc@vger.kernel.org, linux-sh@vger.kernel.org, Chris Ball , Paul Mundt , Magnus Damm Subject: Re: [PATCH v8 4/4] ARM: shmobile: ag5evm, ap4: Named SDHI IRQ sources Message-ID: <20110826094801.GC5380@verge.net.au> References: <1314235648-8959-1-git-send-email-horms@verge.net.au> <1314235648-8959-5-git-send-email-horms@verge.net.au> <20110826091407.GB5380@verge.net.au> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Organisation: Horms Solutions Ltd. User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Fri, 26 Aug 2011 09:48:08 +0000 (UTC) On Fri, Aug 26, 2011 at 11:22:00AM +0200, Guennadi Liakhovetski wrote: > On Fri, 26 Aug 2011, Simon Horman wrote: > > > On Fri, Aug 26, 2011 at 10:44:16AM +0200, Guennadi Liakhovetski wrote: > > > On Thu, 25 Aug 2011, Simon Horman wrote: > > > > > > > This allows specific (non-multiplexed) IRQ handlers to be used. > > > > > > Could you also prepare a similar patch for g4evm and ap4evb? No need to > > > change this one, just prepare another one, please. > > > > Sure, though I do not have access to those boards to test > > (as far as I know). > > Ok, I've got an ap4evb, so, I'll prepare that patch myself. I can give you this to test: From 18f06d15a1b08861b06727e9a429201b19e4323a Mon Sep 17 00:00:00 2001 From: Simon Horman Date: Fri, 26 Aug 2011 18:44:53 +0900 Subject: [PATCH] ARM: shmobile: ap4evb: Name SDHI IRQ sources This allows specific (non-multiplexed) IRQ handlers to be used Signed-off-by: Simon Horman --- arch/arm/mach-shmobile/board-ap4evb.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c index 9e0856b..ef5c7ca 100644 --- a/arch/arm/mach-shmobile/board-ap4evb.c +++ b/arch/arm/mach-shmobile/board-ap4evb.c @@ -339,14 +339,17 @@ static struct resource sdhi0_resources[] = { .flags = IORESOURCE_MEM, }, [1] = { + .name = SH_MOBILE_SDHI_IRQ_CARD_DETECT, .start = evt2irq(0x0e00) /* SDHI0_SDHI0I0 */, .flags = IORESOURCE_IRQ, }, [2] = { + .name = SH_MOBILE_SDHI_IRQ_SDCARD, .start = evt2irq(0x0e20) /* SDHI0_SDHI0I1 */, .flags = IORESOURCE_IRQ, }, [3] = { + .name = SH_MOBILE_SDHI_IRQ_SDIO, .start = evt2irq(0x0e40) /* SDHI0_SDHI0I2 */, .flags = IORESOURCE_IRQ, }, @@ -380,14 +383,17 @@ static struct resource sdhi1_resources[] = { .flags = IORESOURCE_MEM, }, [1] = { + SH_MOBILE_SDHI_IRQ_CARD_DETECT, .start = evt2irq(0x0e80), /* SDHI1_SDHI1I0 */ .flags = IORESOURCE_IRQ, }, [2] = { + .name = SH_MOBILE_SDHI_IRQ_SDCARD, .start = evt2irq(0x0ea0), /* SDHI1_SDHI1I1 */ .flags = IORESOURCE_IRQ, }, [3] = { + .name = SH_MOBILE_SDHI_IRQ_SDIO, .start = evt2irq(0x0ec0), /* SDHI1_SDHI1I2 */ .flags = IORESOURCE_IRQ, },