diff mbox

dt-bindings: GPIO: Add TPIC2810 binding

Message ID 1471952715-20749-1-git-send-email-rogerq@ti.com
State New
Headers show

Commit Message

Roger Quadros Aug. 23, 2016, 11:45 a.m. UTC
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

Comments

Linus Walleij Aug. 24, 2016, 12:21 p.m. UTC | #1
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
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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>;
+	};