summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iio/temperature
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannanece23@gmail.com>2017-01-23 21:58:09 +0530
committerJonathan Cameron <jic23@kernel.org>2017-01-28 11:51:58 +0000
commitba34b3a2df09ff44555f0b19c0c8f30ba748b9aa (patch)
treed93241197e2ad60d9a52eb624639200d633a50e1 /Documentation/devicetree/bindings/iio/temperature
parent059c53b3232960cfd38cc46de0a7bedd642021f5 (diff)
Documentation: dt-bindings: tmp007: Add optional interrupt support
This patch adds optional interrupt binding support for TI TMP007 - IR thermopiler sensor Signed-off-by: Manivannan Sadhasivam <manivannanece23@gmail.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/iio/temperature')
-rw-r--r--Documentation/devicetree/bindings/iio/temperature/tmp007.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/temperature/tmp007.txt b/Documentation/devicetree/bindings/iio/temperature/tmp007.txt
index 3b8f41fa670a..b63aba91ef03 100644
--- a/Documentation/devicetree/bindings/iio/temperature/tmp007.txt
+++ b/Documentation/devicetree/bindings/iio/temperature/tmp007.txt
@@ -18,10 +18,18 @@ Required properties:
1 SDA 0x46
1 SCL 0x47
+Optional properties:
+
+ - interrupt-parent: should be the phandle for the interrupt controller
+
+ - interrupts: interrupt mapping for GPIO IRQ (level active low)
+
Example:
tmp007@40 {
compatible = "ti,tmp007";
reg = <0x40>;
+ interrupt-parent = <&gpio0>;
+ interrupts = <5 0x08>;
};