aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/w1/omap-hdq.txt
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2014-11-08 10:30:32 +1100
committerTony Lindgren <tony@atomide.com>2014-11-10 15:58:47 -0800
commit126e31faa12c0d40c3b603adb9ac6d72dd424860 (patch)
tree71e335bd684c2aab62824dd34194ef8ee644faa1 /Documentation/devicetree/bindings/w1/omap-hdq.txt
parentLinux 3.18-rc2 (diff)
downloadlinux-dev-126e31faa12c0d40c3b603adb9ac6d72dd424860.tar.xz
linux-dev-126e31faa12c0d40c3b603adb9ac6d72dd424860.zip
w1: omap-hdq: support device probing with device-tree
This driver has no 'compatible' string and so is not found when using device-tree. Add one with value to match hdqw1w: 1w@480b2000 { device in omap3.dtsi. Signed-off-by: NeilBrown <neilb@suse.de> Acked-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'Documentation/devicetree/bindings/w1/omap-hdq.txt')
-rw-r--r--Documentation/devicetree/bindings/w1/omap-hdq.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/w1/omap-hdq.txt b/Documentation/devicetree/bindings/w1/omap-hdq.txt
new file mode 100644
index 000000000000..fef794741bd1
--- /dev/null
+++ b/Documentation/devicetree/bindings/w1/omap-hdq.txt
@@ -0,0 +1,17 @@
+* OMAP HDQ One wire bus master controller
+
+Required properties:
+- compatible : should be "ti,omap3-1w"
+- reg : Address and length of the register set for the device
+- interrupts : interrupt line.
+- ti,hwmods : "hdq1w"
+
+Example:
+
+- From omap3.dtsi
+ hdqw1w: 1w@480b2000 {
+ compatible = "ti,omap3-1w";
+ reg = <0x480b2000 0x1000>;
+ interrupts = <58>;
+ ti,hwmods = "hdq1w";
+ };