Message ID | 1406582183-696-18-git-send-email-balbi@ti.com |
---|---|
State | Accepted |
Commit | 470f30deaeb870dcc65d2357fbb675deb3e779de |
Headers | show
Return-Path: <patchwork-forward+bncBC5M7T4HYEKRBJH73KPAKGQENK4JNJQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f198.google.com (mail-pd0-f198.google.com [209.85.192.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 89C45202E4 for <linaro@patches.linaro.org>; Mon, 28 Jul 2014 21:24:53 +0000 (UTC) Received: by mail-pd0-f198.google.com with SMTP id fp1sf51790391pdb.9 for <linaro@patches.linaro.org>; Mon, 28 Jul 2014 14:24:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:mime-version:cc:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=Gv+an3r8F0+XKDoNRGxqoV6lTlQ+UO4CE5hFc70KEiw=; b=lWUNDJEWq2cdapJCwUEESbzI/qSbkh7xP9wfftnbPI731C2P9aOdtlVE+J/sxy/Zzu uLpeiZB7v/eO1vNWZYxFlmn63Otu9k50tfXbjuHB7FrTL8WT7QVoXLtCSDBCqQlHT/M/ 2Ul4r13tF4EmNeNVCiP6zyTVhzEBnrJNG8XG0/fNHUpgN4/aUCyGKdmtF4Law1x4KWUc 18HCmYtANlTobP6yoOIWqLx694O+qiW7GpaPYJ+BLMl+XjoynchgBV+LdNuflcmmeLBO IYDThugOrmJ1ZdARHNBG+jQ8qurh9kPCs0QY7n6rsdaCkvIzdX6qHU2Yb69pmMNrrGzz Ggxw== X-Gm-Message-State: ALoCoQlUTv3cNtPo3cVIZ/USzY/A5Krm006RD89nTz/mMWvMQKl+4LDLo8HaxCBYfndZd3p8lQkz X-Received: by 10.67.5.101 with SMTP id cl5mr6523152pad.41.1406582692746; Mon, 28 Jul 2014 14:24:52 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.91.199 with SMTP id z65ls161926qgd.94.gmail; Mon, 28 Jul 2014 14:24:52 -0700 (PDT) X-Received: by 10.52.244.138 with SMTP id xg10mr131775vdc.40.1406582692568; Mon, 28 Jul 2014 14:24:52 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id ua6si13374807vcb.14.2014.07.28.14.24.52 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Jul 2014 14:24:52 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id hy10so12286566vcb.18 for <patchwork-forward@linaro.org>; Mon, 28 Jul 2014 14:24:52 -0700 (PDT) X-Received: by 10.52.248.146 with SMTP id ym18mr168627vdc.8.1406582692410; Mon, 28 Jul 2014 14:24:52 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp197383vcb; Mon, 28 Jul 2014 14:24:52 -0700 (PDT) X-Received: by 10.68.95.225 with SMTP id dn1mr6783953pbb.126.1406582691653; Mon, 28 Jul 2014 14:24:51 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id gw6si19051914pac.208.2014.07.28.14.24.51 for <patch@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Jul 2014 14:24:51 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XBsOI-0002fj-Nf; Mon, 28 Jul 2014 21:23:30 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XBsIg-0003aq-Lq for linux-arm-kernel@bombadil.infradead.org; Mon, 28 Jul 2014 21:17:42 +0000 Received: from bear.ext.ti.com ([192.94.94.41]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XBsId-0005ox-LD for linux-arm-kernel@lists.infradead.org; Mon, 28 Jul 2014 21:17:41 +0000 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id s6SLH3eO003047; Mon, 28 Jul 2014 16:17:03 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s6SLH3h5014812; Mon, 28 Jul 2014 16:17:03 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.174.1; Mon, 28 Jul 2014 16:17:02 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s6SLH2i9012476; Mon, 28 Jul 2014 16:17:02 -0500 From: Felipe Balbi <balbi@ti.com> To: Tony Lindgren <tony@atomide.com> Subject: [PATCH 17/35] arm: omap: irq: use compatible flag to figure out number of IRQ lines Date: Mon, 28 Jul 2014 16:16:05 -0500 Message-ID: <1406582183-696-18-git-send-email-balbi@ti.com> X-Mailer: git-send-email 2.0.1.563.g66f467c In-Reply-To: <1406582183-696-1-git-send-email-balbi@ti.com> References: <1406582183-696-1-git-send-email-balbi@ti.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140728_221739_918082_4D60F8B5 X-CRM114-Status: GOOD ( 10.66 ) X-Spam-Score: -7.6 (-------) X-Spam-Report: SpamAssassin version 3.4.0 on casper.infradead.org summary: Content analysis details: (-7.6 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [192.94.94.41 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [192.94.94.41 listed in wl.mailspike.net] -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Cc: devicetree@vger.kernel.org, linux@arm.linux.org.uk, jason@lakedaemon.net, khilman@deeprootsystems.com, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Felipe Balbi <balbi@ti.com>, bcousson@baylibre.com, tglx@linutronix.de, Linux OMAP Mailing List <linux-omap@vger.kernel.org>, Linux ARM Kernel Mailing List <linux-arm-kernel@lists.infradead.org> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: balbi@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c index 97845df..7a4ead3 100644 --- a/arch/arm/mach-omap2/irq.c +++ b/arch/arm/mach-omap2/irq.c @@ -310,6 +310,9 @@ static int __init intc_of_init(struct device_node *node, return -EINVAL; } + if (of_device_is_compatible(node, "ti,am33xx-intc")) + nr_irq = 128; + if (of_property_read_u32(node, "ti,intc-size", &nr_irq)) pr_warn("unable to get intc-size, default to %d\n", nr_irq);
so far, only am33xx has 128 lines, all other devices have only 96. Signed-off-by: Felipe Balbi <balbi@ti.com> --- arch/arm/mach-omap2/irq.c | 3 +++ 1 file changed, 3 insertions(+)