linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] gpio: add bindings for TS-4800 gpio controller
@ 2016-01-13 16:57 Julien Grossholtz
  2016-01-13 16:57 ` [PATCH 2/2] gpio: add TS-4800 fpga GPIO support Julien Grossholtz
  2016-02-05 14:06 ` [PATCH 1/2] gpio: add bindings for TS-4800 gpio controller Linus Walleij
  0 siblings, 2 replies; 6+ messages in thread
From: Julien Grossholtz @ 2016-01-13 16:57 UTC (permalink / raw)
  To: linus.walleij, gnurou; +Cc: linux-gpio, linux-kernel, kernel, Julien Grossholtz

Device tree binding documentation for the TS-4800
GPIO controller.

Signed-off-by: Julien Grossholtz <julien.grossholtz@savoirfairelinux.com>
---
 .../devicetree/bindings/gpio/gpio-ts4800.txt        | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/gpio/gpio-ts4800.txt

diff --git a/Documentation/devicetree/bindings/gpio/gpio-ts4800.txt b/Documentation/devicetree/bindings/gpio/gpio-ts4800.txt
new file mode 100644
index 0000000..57749f6
--- /dev/null
+++ b/Documentation/devicetree/bindings/gpio/gpio-ts4800.txt
@@ -0,0 +1,21 @@
+* TS-4800 FPGA's GPIO controller bindings
+
+Required properties:
+- compatible: Must be "technologic,ts4800-gpio".
+- #gpio-cells: Should be two. The first cell is the pin number.
+- reg: Physical base address of the controller and length
+       of memory mapped region.
+
+Optional property:
+- ngpios: Number of gpios this controller has. If not set,
+	  the default value (16) is used.
+
+Example:
+
+gpio1: gpio {
+	compatible = "technologic,ts4800-gpio";
+	reg = <0x10020 0x6>;
+	ngpios = <8>;
+	gpio-controller;
+	#gpio-cells = <2>;
+};
-- 
2.5.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-02-05 14:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-13 16:57 [PATCH 1/2] gpio: add bindings for TS-4800 gpio controller Julien Grossholtz
2016-01-13 16:57 ` [PATCH 2/2] gpio: add TS-4800 fpga GPIO support Julien Grossholtz
2016-02-01 14:55   ` Julien Grossholtz
2016-02-04  0:16     ` Alexandre Courbot
2016-02-05 14:14   ` Linus Walleij
2016-02-05 14:06 ` [PATCH 1/2] gpio: add bindings for TS-4800 gpio controller Linus Walleij

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).