From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 92F801CF1CB for ; Wed, 16 May 2018 09:12:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 6661F868F8 for ; Wed, 16 May 2018 09:12:01 +0000 (UTC) Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sBSC8-qP9ONO for ; Wed, 16 May 2018 09:12:00 +0000 (UTC) Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by hemlock.osuosl.org (Postfix) with ESMTPS id 69EDB86EB0 for ; Wed, 16 May 2018 09:12:00 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id a8-v6so5596884wmg.5 for ; Wed, 16 May 2018 02:12:00 -0700 (PDT) From: Sergio Paracuellos Subject: [PATCH v3 06/11] staging: mt7621-dts: add interrupt device tree nodes for the gpio controller Date: Wed, 16 May 2018 11:11:45 +0200 Message-Id: <1526461910-20650-7-git-send-email-sergio.paracuellos@gmail.com> In-Reply-To: <1526461910-20650-1-git-send-email-sergio.paracuellos@gmail.com> References: <1526461910-20650-1-git-send-email-sergio.paracuellos@gmail.com> List-Id: Linux Driver Project Developer List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" To: gregkh@linuxfoundation.org Cc: neil@brown.name, driverdev-devel@linuxdriverproject.org The GPIO controller of mt7621 can receive interrupts on any of the GPIOs, either edge or level. It then interrupts the CPU using GIC INT12. Update device tree accordly. Signed-off-by: Sergio Paracuellos --- drivers/staging/mt7621-dts/mt7621.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/mt7621-dts/mt7621.dtsi b/drivers/staging/mt7621-dts/mt7621.dtsi index 115eb04..240d396 100644 --- a/drivers/staging/mt7621-dts/mt7621.dtsi +++ b/drivers/staging/mt7621-dts/mt7621.dtsi @@ -67,6 +67,9 @@ compatible = "mediatek,mt7621-gpio"; reg = <0x600 0x100>; + interrupt-parent = <&gic>; + interrupts = ; + gpio0: bank@0 { reg = <0>; compatible = "mediatek,mt7621-gpio-bank"; -- 2.7.4 _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel