From patchwork Mon Nov 23 10:16:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 7679591 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A96C39F1D3 for ; Mon, 23 Nov 2015 10:21:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D6115205FC for ; Mon, 23 Nov 2015 10:21:10 +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 0B0C3205EB for ; Mon, 23 Nov 2015 10:21:10 +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 1a0oDS-0007Fd-9x; Mon, 23 Nov 2015 10:19:22 +0000 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a0oCf-0006ze-VE for linux-arm-kernel@lists.infradead.org; Mon, 23 Nov 2015 10:18:35 +0000 Received: by wmww144 with SMTP id w144so89439630wmw.1 for ; Mon, 23 Nov 2015 02:18:12 -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=OrWYK2TiiZFMMRVTe3YWeUnEhPJ3gZzC7FRM4MhA3Hg=; b=c/w9G0j7LaZTl+Kxu6xrJzYbzBag5kDl+Ud/UHLrMOsiKUE/W5Y8QTx8U5M1RMIeco y5E5PWilnrF54Ox7GvFHpDn8KM7qxLxE78M4q6KYlcOOmhDdk3aqdJX48O/BScaw24q9 STN1/96Agx6/amJOSG19AzyL5wqP+Z7e+vYSim+UuoMQnLfi/+1Ks8mP5pWrtLGxqAz6 Qge1I1Qlu52ic5N7L6D10cH4OwJx1YPgfYWLd2aIMeC1/id9fit4/7AiczJuOwtY7gSa AlGTlMcjvZVCzvRS/FgxwKIirdoFrrfWZyGW1HkLNndruAABOWe5xETHMb4dADJ15Pn/ Yyow== X-Received: by 10.194.90.50 with SMTP id bt18mr29375576wjb.118.1448273892372; Mon, 23 Nov 2015 02:18:12 -0800 (PST) Received: from localhost.localdomain ([212.91.95.170]) by smtp.gmail.com with ESMTPSA id kw2sm9114299wjb.42.2015.11.23.02.18.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 23 Nov 2015 02:18:11 -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 v2 4/5] pinctrl: dt-binding: Extend meson documentation with GPIO IRQs support Date: Mon, 23 Nov 2015 11:16:55 +0100 Message-Id: <1448273816-11290-5-git-send-email-carlo@caione.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1448273816-11290-1-git-send-email-carlo@caione.org> References: <1448273816-11290-1-git-send-email-carlo@caione.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151123_021834_297197_511BD34C X-CRM114-Status: GOOD ( 11.13 ) X-Spam-Score: -2.4 (--) 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.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,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 Acked-by: Rob Herring --- Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt index 3f6a524..56743eb 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. + - interrupts: specifies the GPIO IRQ numbers on the GIC (GPIO_IRQ#) + - interrupt-parent: specifies the parent interrupt controller. === GPIO sub-nodes === @@ -46,7 +52,13 @@ pinctrl-bindings.txt pinctrl: pinctrl@c1109880 { compatible = "amlogic,meson8-pinctrl"; + reg-names = "irq"; reg = <0xc1109880 0x10>; + interrupt-parent = <&gic>; + interrupts = <0 64 1>, <0 65 1>, <0 66 1>, <0 67 1>, + <0 68 1>, <0 69 1>, <0 70 1>, <0 71 1>; + interrupt-controller; + #interrupt-cells = <2>; #address-cells = <1>; #size-cells = <1>; ranges;