From patchwork Wed May 24 14:01:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "J, KEERTHY" X-Patchwork-Id: 9746021 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 894696032B for ; Wed, 24 May 2017 14:02:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6F9A528914 for ; Wed, 24 May 2017 14:02:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 62F442897C; Wed, 24 May 2017 14:02:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3E27928914 for ; Wed, 24 May 2017 14:02:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=A3PZ2JC2UVpCZC/miah66/n9wUZjJCaIOk/1auo9YxI=; b=sL7Whn8mP0QazF 2xo/hAu5rkZW7IaW9Apd5m8YVtoa+B7D90yUqsPDNaXtm2jVos+sei+i/Ln8fI/4N20i4sfLfY52r qbberslkKk60/446JyKgj/rd/t0QNpqkUpAjqGb9N2lRSORGjR76HJazYcirWO+RzYekup4nMUccx bVneyX7fiIEmS9E27ENE53DZknsla271w+p8peZAik+rj4rb9NrFoWe12IGdXELp+JFynocpV5Vbe cowfq8dyiGsLo/qFvd6cuYcRVLpF+AxPlSeUvnVdVJJhCwHj00Re7i6N81EXiWc4O0LEUBDLOWk0F zpXacW8HQIuEGAUfgt0A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dDWro-0003wX-UM; Wed, 24 May 2017 14:02:24 +0000 Received: from lelnx193.ext.ti.com ([198.47.27.77]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dDWrm-0003ur-3r for linux-arm-kernel@lists.infradead.org; Wed, 24 May 2017 14:02:23 +0000 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id v4OE1qhS013225; Wed, 24 May 2017 09:01:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1495634512; bh=serWHY7gV2+y4n5Q5GrpUyTX2VvBKsuyYWJ0dO39eFE=; h=From:To:CC:Subject:Date; b=f3K2O3LXO9Ibs49OgO5jBxAbZ6dJv378/4Fm0q/psuA43Yui09hfqNw1mydsW3pmx gTWNdfSBGbyNI+ajI9GRItgKK1hz9AC5tW86hLqDmd0mWTjH8kxRG/anNJYt8R0RZh js/TZZvJo6QnMBFSdIMWKw9dKtIM4aBEvWu9hT9g= 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 v4OE1q0r017115; Wed, 24 May 2017 09:01:52 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.294.0; Wed, 24 May 2017 09:01:52 -0500 Received: from ula0393675.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v4OE1mxT008983; Wed, 24 May 2017 09:01:49 -0500 From: Keerthy To: , Subject: [PATCH v2] ARM: dts: da850: Add interrupt-controller property to gpio node Date: Wed, 24 May 2017 19:31:41 +0530 Message-ID: <1495634501-3246-1-git-send-email-j-keerthy@ti.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170524_070222_269829_0AF2AAD3 X-CRM114-Status: UNSURE ( 6.31 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, tony@atomide.com, j-keerthy@ti.com, linux-kernel@vger.kernel.org, t-kristo@ti.com, robh+dt@kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The gpio node has 144 gpios. Each gpio is capable of generating an interrupt. Hence add interrupt-controller property to the gpio node. With this in place one can use interrupts property in device tree to request for the gpio interrupts. Signed-off-by: Keerthy --- Changes in v2: * Added LAKML list. * Chaned arm to upper case in $Subject arch/arm/boot/dts/da850.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 941d455..2693bd2 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -503,6 +503,8 @@ ti,ngpio = <144>; ti,davinci-gpio-unbanked = <0>; status = "disabled"; + interrupt-controller; + #interrupt-cells = <2>; }; pinconf: pin-controller@22c00c { compatible = "ti,da850-pupd";