From patchwork Tue Dec 1 16:24:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 7738761 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 004ACBEEE1 for ; Tue, 1 Dec 2015 16:28:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2314E2065D for ; Tue, 1 Dec 2015 16:28:09 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5A387204EB for ; Tue, 1 Dec 2015 16:28:08 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1a3nkl-0001tV-Sx; Tue, 01 Dec 2015 16:26:07 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a3njp-00086C-No for linux-arm-kernel@lists.infradead.org; Tue, 01 Dec 2015 16:25:11 +0000 Received: by wmww144 with SMTP id w144so3438555wmw.1 for ; Tue, 01 Dec 2015 08:24:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=z1/cL6qIebwiIRQtkCvZHUd8EPVYxlvzROxrLmih5w8=; b=B78i3PuDqNWp+GZxTGUQA+AZ1cVE5VvJ1/16r+JdQGkkwhgRu3P9UndXmkywonSKTe uP7C8kAk/LueUOzrljYALKNLEnBvu1Us7qlgBN7LaoPdaiCE99Fd141yGGfzDb2oCa4Y pkVM5wfqRFopWoI+LqxoRa+1HVJCfLceleACU512XM5S4xOJw7NCSmcanhXTg3btPQKA OJuNhBLH5OoQbDAw2LbKDFAGXWPt977Sdt/JBfzH+SNaY58OwnVrqyvgNxzMzDdvPOHc xPcBYjg2N1SJY4mNZhG13CT7UzWF63vtI1q3noXhhTPadtnHddRJZubB/i2glRfCbB+y NCBw== X-Received: by 10.194.173.102 with SMTP id bj6mr79704538wjc.180.1448987087821; Tue, 01 Dec 2015 08:24:47 -0800 (PST) Received: from localhost.localdomain ([212.91.95.170]) by smtp.gmail.com with ESMTPSA id u4sm52078451wjz.4.2015.12.01.08.24.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 01 Dec 2015 08:24:47 -0800 (PST) From: Carlo Caione To: robh+dt@kernel.org, devicetree@vger.kernel.org, jiang.liu@linux.intel.com, marc.zyngier@arm.com, tglx@linutronix.de, linus.walleij@linaro.org, b.galvani@gmail.com, linux-arm-kernel@lists.infradead.org, linux-meson@googlegroups.com, drake@endlessm.com, jerry.cao@amlogic.com, victor.wan@amlogic.com Subject: [PATCH v3 5/6] pinctrl: dt-binding: Extend meson documentation with GPIO IRQs support Date: Tue, 1 Dec 2015 17:24:21 +0100 Message-Id: <1448987062-31225-6-git-send-email-carlo@caione.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1448987062-31225-1-git-send-email-carlo@caione.org> References: <1448987062-31225-1-git-send-email-carlo@caione.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151201_082510_038880_4FC39BD0 X-CRM114-Status: GOOD ( 11.15 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Carlo Caione MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Carlo Caione Extend the pinctrl binding documentation with the support for external GPIO interrupts. Signed-off-by: Carlo Caione Signed-off-by: Beniamino Galvani --- Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt index 3f6a524..de669ce 100644 --- a/Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt +++ b/Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt @@ -3,6 +3,12 @@ Required properties for the root node: - compatible: "amlogic,meson8-pinctrl" or "amlogic,meson8b-pinctrl" - reg: address and size of registers controlling irq functionality + - reg-names: should be "irq" + - interrupt-controller: marks the device node as an interrupt controller + - #interrupt-cells: should be 2. The first cell is the GPIO number. The + second cell is used to specify trigger type. + - amlogic,irqs-gpio: specifies the GPIO IRQ numbers on the GIC (GPIO_IRQ#) + - interrupt-parent: specifies the parent interrupt controller. === GPIO sub-nodes === @@ -46,7 +52,12 @@ pinctrl-bindings.txt pinctrl: pinctrl@c1109880 { compatible = "amlogic,meson8-pinctrl"; + reg-names = "irq"; reg = <0xc1109880 0x10>; + interrupt-parent = <&gic>; + amlogic,irqs-gpio = <64 65 66 67 68 69 70 71>; + interrupt-controller; + #interrupt-cells = <2>; #address-cells = <1>; #size-cells = <1>; ranges;