summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/w1/w1-gpio.txt
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2012-10-30 08:20:56 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-10-30 08:20:56 +0100
commit53279f36dccffc26ff536003fd6bb97cc21c3b82 (patch)
tree9d16e497c0e4158c7c054c479bd0e9ff0388d7bb /Documentation/devicetree/bindings/w1/w1-gpio.txt
parentInput: qt2160 - fix qt2160_write() implementation (diff)
parentLinux 3.7-rc3 (diff)
downloadlinux-53279f36dccffc26ff536003fd6bb97cc21c3b82.tar.xz
linux-53279f36dccffc26ff536003fd6bb97cc21c3b82.zip
Merge tag 'v3.7-rc3' into next to sync up with recent USB and MFD changes
Diffstat (limited to 'Documentation/devicetree/bindings/w1/w1-gpio.txt')
-rw-r--r--Documentation/devicetree/bindings/w1/w1-gpio.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/w1/w1-gpio.txt b/Documentation/devicetree/bindings/w1/w1-gpio.txt
new file mode 100644
index 000000000000..6e09c35d9f1a
--- /dev/null
+++ b/Documentation/devicetree/bindings/w1/w1-gpio.txt
@@ -0,0 +1,22 @@
+w1-gpio devicetree bindings
+
+Required properties:
+
+ - compatible: "w1-gpio"
+ - gpios: one or two GPIO specs:
+ - the first one is used as data I/O pin
+ - the second one is optional. If specified, it is used as
+ enable pin for an external pin pullup.
+
+Optional properties:
+
+ - linux,open-drain: if specified, the data pin is considered in
+ open-drain mode.
+
+Examples:
+
+ onewire@0 {
+ compatible = "w1-gpio";
+ gpios = <&gpio 126 0>, <&gpio 105 0>;
+ };
+