diff options
Diffstat (limited to 'kernel/Documentation/devicetree/bindings/w1')
3 files changed, 58 insertions, 0 deletions
diff --git a/kernel/Documentation/devicetree/bindings/w1/fsl-imx-owire.txt b/kernel/Documentation/devicetree/bindings/w1/fsl-imx-owire.txt new file mode 100644 index 000000000..ecf42c076 --- /dev/null +++ b/kernel/Documentation/devicetree/bindings/w1/fsl-imx-owire.txt @@ -0,0 +1,19 @@ +* Freescale i.MX One wire bus master controller + +Required properties: +- compatible : should be "fsl,imx21-owire" +- reg : Address and length of the register set for the device + +Optional properties: +- clocks : phandle of clock that supplies the module (required if platform + clock bindings use device tree) + +Example: + +- From imx53.dtsi: +owire: owire@63fa4000 { + compatible = "fsl,imx53-owire", "fsl,imx21-owire"; + reg = <0x63fa4000 0x4000>; + clocks = <&clks 159>; + status = "disabled"; +}; diff --git a/kernel/Documentation/devicetree/bindings/w1/omap-hdq.txt b/kernel/Documentation/devicetree/bindings/w1/omap-hdq.txt new file mode 100644 index 000000000..fef794741 --- /dev/null +++ b/kernel/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"; + }; diff --git a/kernel/Documentation/devicetree/bindings/w1/w1-gpio.txt b/kernel/Documentation/devicetree/bindings/w1/w1-gpio.txt new file mode 100644 index 000000000..6e09c35d9 --- /dev/null +++ b/kernel/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>; + }; + |