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: 9746023 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 B26B66032B for ; Wed, 24 May 2017 14:02:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9AC3D28914 for ; Wed, 24 May 2017 14:02:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8F6BA28979; Wed, 24 May 2017 14:02:29 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AE9A728970 for ; Wed, 24 May 2017 14:02:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761480AbdEXOCZ (ORCPT ); Wed, 24 May 2017 10:02:25 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:65006 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757366AbdEXOCY (ORCPT ); Wed, 24 May 2017 10:02:24 -0400 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: , CC: , , , , , , , , 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 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.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";