From: Joachim Eastwood <manabian@gmail.com>
To: linus.walleij@linaro.org, gnurou@gmail.com,
linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Cc: arnd@arndb.de, devicetree@vger.kernel.org,
ariel.dalessandro@gmail.com, ezequiel@vanguardiasur.com.ar,
Joachim Eastwood <manabian@gmail.com>
Subject: [PATCH 4/6] doc: dt: add documentation for lpc1850-gpio driver
Date: Fri, 3 Apr 2015 23:16:05 +0200 [thread overview]
Message-ID: <1428095767-6286-5-git-send-email-manabian@gmail.com> (raw)
In-Reply-To: <1428095767-6286-1-git-send-email-manabian@gmail.com>
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
---
.../devicetree/bindings/gpio/nxp,lpc1850-gpio.txt | 23 ++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 Documentation/devicetree/bindings/gpio/nxp,lpc1850-gpio.txt
diff --git a/Documentation/devicetree/bindings/gpio/nxp,lpc1850-gpio.txt b/Documentation/devicetree/bindings/gpio/nxp,lpc1850-gpio.txt
new file mode 100644
index 000000000000..9326873c887f
--- /dev/null
+++ b/Documentation/devicetree/bindings/gpio/nxp,lpc1850-gpio.txt
@@ -0,0 +1,23 @@
+NXP LPC18xx/43xx GPIO controller Device Tree Bindings
+-----------------------------------------------------
+
+Required properties:
+- compatible : Should be "nxp,lpc1850-gpio"
+- reg : Address and length of the register set for the device
+- clocks : Clock specifier (see clock bindings for details)
+- gpio-controller : Marks the device node as a GPIO controller.
+- #gpio-cells : Should be two
+ - First cell is the GPIO line number
+ - Second cell is used to specify polarity
+
+Optional properties:
+- gpio-ranges : Mapping between GPIO and logic pin for pinctrl
+
+Examples:
+gpio: gpio@400f4000 {
+ compatible = "nxp,lpc1850-gpio";
+ reg = <0x400f4000 0x4000>;
+ clocks = <&ccu1 CLK_CPU_GPIO>;
+ gpio-controller;
+ #gpio-cells = <2>;
+}
--
1.8.0
next prev parent reply other threads:[~2015-04-03 21:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-03 21:16 [PATCH 0/6] pinctrl and gpio drivers for NXP LPC18xx family Joachim Eastwood
2015-04-03 21:16 ` [PATCH 1/6] pinctrl: add lpc18xx pinctrl driver Joachim Eastwood
2015-05-05 15:24 ` Linus Walleij
2015-04-03 21:16 ` [PATCH 2/6] doc: dt: add documentation for lpc1850-scu " Joachim Eastwood
2015-05-05 15:25 ` Linus Walleij
2015-04-03 21:16 ` [PATCH 3/6] gpio: add lpc18xx gpio driver Joachim Eastwood
2015-05-05 15:30 ` Linus Walleij
2015-04-03 21:16 ` Joachim Eastwood [this message]
2015-04-03 21:16 ` [PATCH 5/6] ARM: dts: lpc18xx: add pinctrl and gpio nodes Joachim Eastwood
2015-05-05 15:33 ` Linus Walleij
[not found] ` <1428095767-6286-1-git-send-email-manabian-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-03 21:16 ` [PATCH 6/6] ARM: dts: lpc4357-ea4357: add pinctrl and uart0 muxing Joachim Eastwood
2015-05-05 15:33 ` Linus Walleij
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=1428095767-6286-5-git-send-email-manabian@gmail.com \
--to=manabian@gmail.com \
--cc=ariel.dalessandro@gmail.com \
--cc=arnd@arndb.de \
--cc=devicetree@vger.kernel.org \
--cc=ezequiel@vanguardiasur.com.ar \
--cc=gnurou@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).