diff options
author | Brian Masney <masneyb@onstation.org> | 2016-10-28 06:00:12 -0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-11-01 18:50:03 +0000 |
commit | a3b6b4b63beda16f3e91fdd942bbaaaf6b1f8b25 (patch) | |
tree | 1b0d075eafb7561dac2aef739d03235de96bb72d /Documentation/devicetree/bindings/iio/light | |
parent | 1fbf148106326a457779934d00f55fc5417e35d9 (diff) |
staging: iio: tsl2583: add of_match table for device tree support
Add device tree support for the tsl2583 IIO driver with no custom
properties.
Signed-off-by: Brian Masney <masneyb@onstation.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/iio/light')
-rw-r--r-- | Documentation/devicetree/bindings/iio/light/tsl2583.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/light/tsl2583.txt b/Documentation/devicetree/bindings/iio/light/tsl2583.txt new file mode 100644 index 000000000000..8e2066c83f70 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/light/tsl2583.txt @@ -0,0 +1,26 @@ +* TAOS TSL 2580/2581/2583 ALS sensor + +Required properties: + + - compatible: Should be one of + "amstaos,tsl2580" + "amstaos,tsl2581" + "amstaos,tsl2583" + - reg: the I2C address of the device + +Optional properties: + + - interrupt-parent: should be the phandle for the interrupt controller + - interrupts: the sole interrupt generated by the device + + Refer to interrupt-controller/interrupts.txt for generic interrupt client + node bindings. + + - vcc-supply: phandle to the regulator that provides power to the sensor. + +Example: + +tsl2581@29 { + compatible = "amstaos,tsl2581"; + reg = <0x29>; +}; |