From patchwork Mon Jul 28 21:16:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 34425 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f199.google.com (mail-ie0-f199.google.com [209.85.223.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A79A0202E4 for ; Mon, 28 Jul 2014 21:20:42 +0000 (UTC) Received: by mail-ie0-f199.google.com with SMTP id tr6sf57792937ieb.2 for ; Mon, 28 Jul 2014 14:20:42 -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:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=nXb2lXAbgQy5utk9pE+rqB732qvwXk5Fqcui9CMM3Iw=; b=kvPnm1L0yRwqaEVX2dz914zPtlmc2P/gIaDGD2+YuPtluwHH9OnupWg5rGfkOI9u7E Z7hQxCtfbX+4/DLHWRS41yH1yj0QW6sBfKFyCZa0flbMWmBRGJMMGG0TeqrRDcHhwPLY ncEC6hPN4I7no2dwTbDJ1maKOe2StqO0u20MVXoL9AaeUcoSNVxhj1ws5B7K4H0BTezx WeEbZVqo2+pOZLbiQ+yXi1VFoZIzQNoj0N0P/iHzL/5RvF2FfyF0DuNpXQtcnIJGDSsQ wbWlSe+lLFraDgQd/DrNJGSq0h/n3tu5SUciQsw8r1gMKFL+f8C4jzvNkVOutopKK9iv 7mBw== X-Gm-Message-State: ALoCoQnnjnP5ST5E5w++7F90cpf9eD+mBKVa/eOqJkhc4YxmRTnZmtKyPyUnmujOd13GRadU1T78 X-Received: by 10.182.119.129 with SMTP id ku1mr18381046obb.20.1406582442109; Mon, 28 Jul 2014 14:20:42 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.16.179 with SMTP id 48ls2218033qgb.10.gmail; Mon, 28 Jul 2014 14:20:42 -0700 (PDT) X-Received: by 10.220.144.10 with SMTP id x10mr3620211vcu.42.1406582441941; Mon, 28 Jul 2014 14:20:41 -0700 (PDT) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by mx.google.com with ESMTPS id y15si3495593vdi.53.2014.07.28.14.20.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Jul 2014 14:20:41 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.180 as permitted sender) client-ip=209.85.220.180; Received: by mail-vc0-f180.google.com with SMTP id ij19so12184173vcb.39 for ; Mon, 28 Jul 2014 14:20:41 -0700 (PDT) X-Received: by 10.52.244.81 with SMTP id xe17mr133529vdc.24.1406582441844; Mon, 28 Jul 2014 14:20:41 -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 tc5csp197160vcb; Mon, 28 Jul 2014 14:20:41 -0700 (PDT) X-Received: by 10.67.1.195 with SMTP id bi3mr41393608pad.74.1406582440739; Mon, 28 Jul 2014 14:20:40 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id nu1si18982869pbb.216.2014.07.28.14.20.35 for ; Mon, 28 Jul 2014 14:20:40 -0700 (PDT) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751777AbaG1VUf (ORCPT + 6 others); Mon, 28 Jul 2014 17:20:35 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:55585 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752446AbaG1VRy (ORCPT ); Mon, 28 Jul 2014 17:17:54 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s6SLH2nC003903; Mon, 28 Jul 2014 16:17:02 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s6SLH2mQ027432; Mon, 28 Jul 2014 16:17:02 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Mon, 28 Jul 2014 16:17:01 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s6SLH101018677; Mon, 28 Jul 2014 16:17:01 -0500 From: Felipe Balbi To: Tony Lindgren CC: Linux OMAP Mailing List , Linux ARM Kernel Mailing List , , , , , , , Linux Kernel Mailing List , Felipe Balbi Subject: [PATCH 16/35] arm: omap: irq: add specific compatibles for omap3 and am33xx devices Date: Mon, 28 Jul 2014 16:16:04 -0500 Message-ID: <1406582183-696-17-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 Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.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.180 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 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , with this, we can use a compatible flag to figure out how many irq lines are wired up, no need for our TI-specific ti,intc-size binding. Signed-off-by: Felipe Balbi --- arch/arm/mach-omap2/irq.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c index 465d725..97845df 100644 --- a/arch/arm/mach-omap2/irq.c +++ b/arch/arm/mach-omap2/irq.c @@ -320,7 +320,9 @@ static int __init intc_of_init(struct device_node *node, return 0; } -IRQCHIP_DECLARE(omap_intc, "ti,omap2-intc", intc_of_init); +IRQCHIP_DECLARE(omap2_intc, "ti,omap2-intc", intc_of_init); +IRQCHIP_DECLARE(omap3_intc, "ti,omap3-intc", intc_of_init); +IRQCHIP_DECLARE(am33xx_intc, "ti,am33xx-intc", intc_of_init); asmlinkage void __exception_irq_entry omap3_intc_handle_irq(struct pt_regs *regs) {