devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: GPIO: Add TPIC2810 binding
@ 2016-08-23 11:45 Roger Quadros
  2016-08-24 12:21 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Roger Quadros @ 2016-08-23 11:45 UTC (permalink / raw)
  To: linus.walleij
  Cc: linux-gpio, robh+dt, devicetree, linux-kernel, Andrew F. Davis,
	Roger Quadros

From: "Andrew F. Davis" <afd@ti.com>

Add binding for TPIC2810 GPO device.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
---
 Documentation/devicetree/bindings/gpio/gpio-tpic2810.txt | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/gpio/gpio-tpic2810.txt

diff --git a/Documentation/devicetree/bindings/gpio/gpio-tpic2810.txt b/Documentation/devicetree/bindings/gpio/gpio-tpic2810.txt
new file mode 100644
index 0000000..1afc2de
--- /dev/null
+++ b/Documentation/devicetree/bindings/gpio/gpio-tpic2810.txt
@@ -0,0 +1,16 @@
+TPIC2810 GPIO controller bindings
+
+Required properties:
+ - compatible		: Should be "ti,tpic2810".
+ - reg			: The I2C address of the device
+ - gpio-controller	: Marks the device node as a GPIO controller.
+ - #gpio-cells		: Should be two. For consumer use see gpio.txt.
+
+Example:
+
+	gpio@60 {
+		compatible = "ti,tpic2810";
+		reg = <0x60>;
+		gpio-controller;
+		#gpio-cells = <2>;
+	};
-- 
2.7.4

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

* Re: [PATCH] dt-bindings: GPIO: Add TPIC2810 binding
  2016-08-23 11:45 [PATCH] dt-bindings: GPIO: Add TPIC2810 binding Roger Quadros
@ 2016-08-24 12:21 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2016-08-24 12:21 UTC (permalink / raw)
  To: Roger Quadros
  Cc: linux-gpio@vger.kernel.org, Rob Herring,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	Andrew F. Davis

On Tue, Aug 23, 2016 at 1:45 PM, Roger Quadros <rogerq@ti.com> wrote:

> From: "Andrew F. Davis" <afd@ti.com>
>
> Add binding for TPIC2810 GPO device.
>
> Signed-off-by: Andrew F. Davis <afd@ti.com>
> Signed-off-by: Roger Quadros <rogerq@ti.com>

Patch applied.

Yours,
Linus Walleij

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

end of thread, other threads:[~2016-08-24 12:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-23 11:45 [PATCH] dt-bindings: GPIO: Add TPIC2810 binding Roger Quadros
2016-08-24 12:21 ` 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).