From patchwork Fri May 12 19:13:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 9724819 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 5071B601E7 for ; Fri, 12 May 2017 19:15:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 477652886E for ; Fri, 12 May 2017 19:15:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3C0FE28870; Fri, 12 May 2017 19:15:21 +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_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM 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 EF3F92886E for ; Fri, 12 May 2017 19:15:20 +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:In-Reply-To:MIME-Version:Date: Message-ID:References:To:Subject:From:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MKyTAYQHNwUmI6lIVZsZj6My/fYS5S1Gcvyq9MoZm7Q=; b=mWi1LD++TpgAf7 bqmARLfQWgxhJK6HsFkCoLIZw1OM+lE5erXyk7CmqqQhj0FDQQ0mJlzdU2XguTE77B+u/fnelPput fuEGYoT5Bra/EpEVjHMBDIPuwIzq4SdGvYKSN87fo54+t0L4FRS5JLZSsvrAkT0/9lnMMXm6MdbKM /rhKK6M7LOAx3omSzXAJx6HUJ9IV3sTBKU79QYml+bCaFLVvWHhwWqf3BkUY7InPFPqaYTQjbG7I+ UFF9Rpe5+/YTwwMEwGeNOBZO3SQhssnX/tUWtqaEmKGEr2HBY8KgKAWhumKLgpzxhi/EmkjUupPkI 9412IC6YToWV86C0dtlw==; 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 1d9G1x-0001sl-1t; Fri, 12 May 2017 19:15:13 +0000 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d9G1p-0000WO-Lh for linux-amlogic@lists.infradead.org; Fri, 12 May 2017 19:15:08 +0000 Received: by mail-wr0-x242.google.com with SMTP id g12so8491646wrg.2 for ; Fri, 12 May 2017 12:14:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=E+oajLPCoxjb4aac+XL7WsFJR17knK99qRQVWAzmSj4=; b=WKttSzDp9FwoUTLfFoywXiHsC5Nqt2yZzoDMlzfourRkfK8CnZltC5Ghu+GaPcOiyk yVbmeUREMMvZJ2Fj0YGFtd08h6Whi2tkfccTv0q3eYUOtI8tKgFvcjbGsiOettkbCgoH w6xCNQ+EiO5Zj+0j98CCaNTOKpU/9eJiSfHaCnraoEJLIb68N8QNuPy99x5p69piNsSy n++d5S3v4Q5M1ehk/LnAvKanS6tYLbDbHQYVH+594T5NnUIiBCFQ/ti143Dgh2kAq1Fz 764EniyCPKRkjMbeerHIv001eH9fQY7zLXKKLCTW8RQpLDEZ3C/PbYZh0qr9f2bHmYmG 1u8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=E+oajLPCoxjb4aac+XL7WsFJR17knK99qRQVWAzmSj4=; b=VLUzpFdp3B3kUNON79tyedRXRduYmq9trwILhg/0JeWfPKG8WdFm27aw7utr4B4PjN wecGS6rsMya2LIDwZPlU2D6teoO26wgkJK2pqnqOCCLvulj/yjppyXM28VrbROsy+Vfj tXFpQ8H3rqiamcVEZkn5VvU60GztLhp6puEpA+efxDVwjjcmAhhyymyZcMA8y2E8vciI 8Ric8IdtxM6/ohHpDK96ut0Jt4Z3Xy1AnVAGz1bJz9lyBKPToy91m/4WYwB7BkxsUOxI YezrJ4EeZH9TiPPW2acIpW+FH9hqy1/8J8MHM5i6JiTuF20BRgKprpHQxww4Wr717n6U D/qw== X-Gm-Message-State: AODbwcD8pxc6GskRb1XPrkeNktzI0Ca+CuMqJ01+VvRAMZkWc2E0TaJx G9+9voojUgq+Tw== X-Received: by 10.223.160.219 with SMTP id n27mr3989113wrn.201.1494616483936; Fri, 12 May 2017 12:14:43 -0700 (PDT) Received: from ?IPv6:2003:c6:ebf6:4900:24d8:d7e8:4461:d553? (p200300C6EBF6490024D8D7E84461D553.dip0.t-ipconnect.de. [2003:c6:ebf6:4900:24d8:d7e8:4461:d553]) by smtp.googlemail.com with ESMTPSA id 4sm5008164wry.31.2017.05.12.12.14.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 May 2017 12:14:43 -0700 (PDT) From: Heiner Kallweit Subject: [PATCH v2 4/6] pintrl: meson: add DT node for GPIO IRQ on Meson 8 / 8b To: Jerome Brunet , Mark Rutland , Marc Zyngier , Linus Walleij , Kevin Hilman , Thomas Gleixner References: <36164ed8-aa59-2a77-b7fc-9adce03a2fc1@gmail.com> Message-ID: Date: Fri, 12 May 2017 21:13:47 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: <36164ed8-aa59-2a77-b7fc-9adce03a2fc1@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170512_121506_025150_1BD83BC6 X-CRM114-Status: UNSURE ( 7.40 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thierry Reding , devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, "thierry.reding@gmail.com" , linux-amlogic@lists.infradead.org Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the DT node for GPIO IRQ support on AMlogic Meson 8 and 8b. Signed-off-by: Heiner Kallweit --- v2: - remove syscon --- arch/arm/boot/dts/meson8.dtsi | 13 +++++++++++++ arch/arm/boot/dts/meson8b.dtsi | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/meson8.dtsi b/arch/arm/boot/dts/meson8.dtsi index ebc763ea..1962e16e 100644 --- a/arch/arm/boot/dts/meson8.dtsi +++ b/arch/arm/boot/dts/meson8.dtsi @@ -91,6 +91,19 @@ clock-frequency = <141666666>; }; + gpio_irq@c1109880 { + compatible = "amlogic,meson-gpio-interrupt"; + reg = <0xc1109880 0x10>; + interrupts = , + , + , + , + , + , + , + ; + }; + pinctrl_cbus: pinctrl@c1109880 { compatible = "amlogic,meson8-cbus-pinctrl"; reg = <0xc1109880 0x10>; diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi index 828aa49c..e48017be 100644 --- a/arch/arm/boot/dts/meson8b.dtsi +++ b/arch/arm/boot/dts/meson8b.dtsi @@ -183,6 +183,19 @@ status = "disabled"; }; + gpio_irq@c1109880 { + compatible = "amlogic,meson-gpio-interrupt"; + reg = <0xc1109880 0x10>; + interrupts = , + , + , + , + , + , + , + ; + }; + pinctrl_cbus: pinctrl@c1109880 { compatible = "amlogic,meson8b-cbus-pinctrl"; reg = <0xc1109880 0x10>;