From patchwork Mon May 25 11:00:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 6473261 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 56086C0020 for ; Mon, 25 May 2015 11:07:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 916F02045B for ; Mon, 25 May 2015 11:07:53 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C07172024D for ; Mon, 25 May 2015 11:07:52 +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 1Ywq8Q-00027M-AE; Mon, 25 May 2015 11:01:30 +0000 Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ywq8B-00020Y-Cw for linux-arm-kernel@lists.infradead.org; Mon, 25 May 2015 11:01:19 +0000 Received: by wghq2 with SMTP id q2so70187959wgh.1 for ; Mon, 25 May 2015 04:00:47 -0700 (PDT) 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=n5fszK7JDVfFD0410lbZ+pbkf8nE/ng+5AyG7NHT01w=; b=Zu4SwAhTrLC60IUP2SzGxIpQlkE9SlXonw0saft5QpZsWIc5xTJ5djDrSLMKnllYki Si+hGSmG2v4jU9R4r5Xziv6D32o/nocqH/EeOVKck8pCl/zFriFVDRRIpcn/HPkM/Bbm I8/iPY1BXcXnDfPCrfpBDpx4sgSxnmH7F1n8Zhf7ve9olBiv1DAIkTBQ7VUa2TDTnSKx azYLsNjePbOoRCB077eAEBbXiZVZPH4eWuxHkZGAMz2IdpBIdkaIHBnq0gimiPr/GdnP /KwWEC681qlHCfD9cgWEOGXYzDZpyq+obBfVzJXCx5SRginACdrm+L8Sbrn4tv13gkjk iz7Q== X-Received: by 10.194.91.176 with SMTP id cf16mr38020950wjb.141.1432551647941; Mon, 25 May 2015 04:00:47 -0700 (PDT) Received: from localhost.localdomain ([212.91.95.170]) by mx.google.com with ESMTPSA id em17sm11338099wid.11.2015.05.25.04.00.46 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 May 2015 04:00:47 -0700 (PDT) From: Carlo Caione To: linus.walleij@linaro.org, b.galvani@gmail.com, linux-arm-kernel@lists.infradead.org, drake@endlessm.com, jstpierre@mecheye.net, jerry.cao@amlogic.com, victor.wan@amlogic.com Subject: [PATCH 2/2] pinctrl: dt-binding: Extend meson documentation with GPIO IRQs support Date: Mon, 25 May 2015 13:00:41 +0200 Message-Id: <1432551641-3256-3-git-send-email-carlo@caione.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1432551641-3256-1-git-send-email-carlo@caione.org> References: <1432551641-3256-1-git-send-email-carlo@caione.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150525_040115_576953_33724AFD X-CRM114-Status: GOOD ( 10.96 ) X-Spam-Score: -0.7 (/) Cc: Carlo Caione X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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: Beniamino Galvani 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 | 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;