From patchwork Tue Feb 5 19:48:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 14572 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id C9BE923E92 for ; Tue, 5 Feb 2013 19:49:30 +0000 (UTC) Received: from mail-ve0-f176.google.com (mail-ve0-f176.google.com [209.85.128.176]) by fiordland.canonical.com (Postfix) with ESMTP id 80D55A1883C for ; Tue, 5 Feb 2013 19:49:30 +0000 (UTC) Received: by mail-ve0-f176.google.com with SMTP id cz10so463907veb.35 for ; Tue, 05 Feb 2013 11:49:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:mime-version:content-type:x-gm-message-state; bh=gqyitQJ38xk5/7+v+lR72c155wsLWE6TfXPge5WQ0WQ=; b=mmd1QesZ/4yj8fu2tsRIvGJlvZhLRkm4kZsJEHLYRgZxesgi5rrTvtxri9CJVBwpY1 BvahraRuRMcOyAMmsmxc49OYIm/zKm3/g1HXiG/5eH/jueqaZYiG0uO3EmolPqDufPKM wAsaRax7dwWDbErFaNu1GWAcSGStDrTB5RWAGgeM1wdRGDXLGDRPxAYtnQ/PYFI2Eanb DTJujrTzrhskuYSCuA1xp2R2S8ZvLHd2eysnHLOF4FefeRrtSfH7uzDkyMLYDt7e7rF6 FhQzzbkOxvAJnT3Ifc7pxiIha2F2Lj384cbXeg3BFCboUrV6a1VidjPrh6e2OS/lx7wf XaTA== X-Received: by 10.52.24.98 with SMTP id t2mr22335923vdf.69.1360093770060; Tue, 05 Feb 2013 11:49:30 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.252.8 with SMTP id zo8csp143972vec; Tue, 5 Feb 2013 11:49:29 -0800 (PST) X-Received: by 10.14.176.66 with SMTP id a42mr87560847eem.34.1360093767028; Tue, 05 Feb 2013 11:49:27 -0800 (PST) Received: from eu1sys200aog115.obsmtp.com (eu1sys200aog115.obsmtp.com [207.126.144.139]) by mx.google.com with SMTP id u9si36921842eep.188.2013.02.05.11.49.19 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 05 Feb 2013 11:49:27 -0800 (PST) Received-SPF: neutral (google.com: 207.126.144.139 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.139; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.139 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) smtp.mail=linus.walleij@stericsson.com Received: from beta.dmz-ap.st.com ([138.198.100.35]) (using TLSv1) by eu1sys200aob115.postini.com ([207.126.147.11]) with SMTP ID DSNKURFiPaXiOHbZOvEYZ/jqzbv+7mwsMus5@postini.com; Tue, 05 Feb 2013 19:49:26 UTC Received: from zeta.dmz-ap.st.com (ns6.st.com [138.198.234.13]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id E30CAB5; Tue, 5 Feb 2013 19:41:04 +0000 (GMT) Received: from relay2.stm.gmessaging.net (unknown [10.230.100.18]) by zeta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 21B08D42; Tue, 5 Feb 2013 19:49:14 +0000 (GMT) Received: from exdcvycastm022.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm022", Issuer "exdcvycastm022" (not verified)) by relay2.stm.gmessaging.net (Postfix) with ESMTPS id EBCCDA8072; Tue, 5 Feb 2013 20:49:05 +0100 (CET) Received: from steludxu4075.lud.stericsson.com (10.230.100.153) by smtp.stericsson.com (10.230.100.30) with Microsoft SMTP Server (TLS) id 8.3.83.0; Tue, 5 Feb 2013 20:49:13 +0100 From: Linus Walleij To: , Cc: Stephen Warren , Anmar Oueja , Lee Jones , , Linus Walleij Subject: [PATCH 12/14] ARM: ux500: use real AB8500 IRQ numbers instead of virtual ones Date: Tue, 5 Feb 2013 20:48:33 +0100 Message-ID: <1360093715-6348-13-git-send-email-linus.walleij@stericsson.com> X-Mailer: git-send-email 1.7.11.3 In-Reply-To: <1360093715-6348-1-git-send-email-linus.walleij@stericsson.com> References: <1360093715-6348-1-git-send-email-linus.walleij@stericsson.com> MIME-Version: 1.0 X-Gm-Message-State: ALoCoQkaOgijESGwxIYmQf9FhIhux7KK7iFKoX0qlod74biwzRXLmo6zHsA+hjeGD+tgOQqjaog4 From: Lee Jones Any devices wishing to use the AB8500's GPIO IRQs were forced to request virtual IRQs from the gpio-ab8500 driver. Now that responsibility has been passed back to the AB8500 core driver, devices can request real IRQ numbers instead. This patch removes any traces of the old virtual IRQ conversion handlers, which will force any drivers requesting IRQs to use real IRQS. Cc: arm@kernel.org Signed-off-by: Lee Jones Signed-off-by: Linus Walleij --- Requesting an ACK from the ARM SoC maintainers on this patch. --- arch/arm/mach-ux500/include/mach/irqs-board-mop500.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/arch/arm/mach-ux500/include/mach/irqs-board-mop500.h b/arch/arm/mach-ux500/include/mach/irqs-board-mop500.h index 7d34c52..d526dd8 100644 --- a/arch/arm/mach-ux500/include/mach/irqs-board-mop500.h +++ b/arch/arm/mach-ux500/include/mach/irqs-board-mop500.h @@ -38,15 +38,7 @@ #define MOP500_STMPE1601_IRQ_END \ MOP500_STMPE1601_IRQ(STMPE_NR_INTERNAL_IRQS) -/* AB8500 virtual gpio IRQ */ -#define AB8500_VIR_GPIO_NR_IRQS 16 - -#define MOP500_AB8500_VIR_GPIO_IRQ_BASE \ - MOP500_STMPE1601_IRQ_END -#define MOP500_AB8500_VIR_GPIO_IRQ_END \ - (MOP500_AB8500_VIR_GPIO_IRQ_BASE + AB8500_VIR_GPIO_NR_IRQS) - -#define MOP500_NR_IRQS MOP500_AB8500_VIR_GPIO_IRQ_END +#define MOP500_NR_IRQS MOP500_STMPE1601_IRQ_END #define MOP500_IRQ_END MOP500_NR_IRQS