From: carlo@caione.org (Carlo Caione)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] pinctrl: dt-binding: Extend meson documentation with GPIO IRQs support
Date: Mon, 25 May 2015 13:00:41 +0200 [thread overview]
Message-ID: <1432551641-3256-3-git-send-email-carlo@caione.org> (raw)
In-Reply-To: <1432551641-3256-1-git-send-email-carlo@caione.org>
From: Beniamino Galvani <b.galvani@gmail.com>
Extend the pinctrl binding documentation with the support for external
GPIO interrupts.
Signed-off-by: Carlo Caione <carlo@endlessm.com>
Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
---
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 at 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;
--
1.9.1
next prev parent reply other threads:[~2015-05-25 11:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-25 11:00 [PATCH 0/2] pinctrl: Enable support for external GPIO interrupts Carlo Caione
2015-05-25 11:00 ` [PATCH 1/2] pinctrl: meson: Enable GPIO IRQs Carlo Caione
2015-06-01 14:30 ` Linus Walleij
2015-06-02 9:33 ` Carlo Caione
2015-06-04 8:45 ` Linus Walleij
2015-06-13 15:35 ` Carlo Caione
2015-06-17 8:26 ` Linus Walleij
2015-06-22 17:33 ` Carlo Caione
2015-07-16 8:07 ` Linus Walleij
2015-05-25 11:00 ` Carlo Caione [this message]
2015-06-01 14:04 ` [PATCH 2/2] pinctrl: dt-binding: Extend meson documentation with GPIO IRQs support Linus Walleij
2015-06-02 9:34 ` Carlo Caione
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1432551641-3256-3-git-send-email-carlo@caione.org \
--to=carlo@caione.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox