aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/w1/w1-gpio.txt
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2012-10-30 03:09:18 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-10-30 03:09:18 -0400
commit68fe0f0a6dcd2ac1ace5da3647a6d1cf0f4d2fea (patch)
tree69d855c2e46d42ef8f23680cf3a1e6ff38de9ef4 /Documentation/devicetree/bindings/w1/w1-gpio.txt
parent88fd449e734a4264347e12b8ff74ccb33a9b9a35 (diff)
parent8f0d8163b50e01f398b14bcd4dc039ac5ab18d64 (diff)
Merge tag 'v3.7-rc3' into for-linus to sync up with recent USB 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 @@
1w1-gpio devicetree bindings
2
3Required properties:
4
5 - compatible: "w1-gpio"
6 - gpios: one or two GPIO specs:
7 - the first one is used as data I/O pin
8 - the second one is optional. If specified, it is used as
9 enable pin for an external pin pullup.
10
11Optional properties:
12
13 - linux,open-drain: if specified, the data pin is considered in
14 open-drain mode.
15
16Examples:
17
18 onewire@0 {
19 compatible = "w1-gpio";
20 gpios = <&gpio 126 0>, <&gpio 105 0>;
21 };
22