diff options
author | Manivannan Sadhasivam <manivannanece23@gmail.com> | 2017-01-23 21:58:09 +0530 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-01-28 11:51:58 +0000 |
commit | ba34b3a2df09ff44555f0b19c0c8f30ba748b9aa (patch) | |
tree | d93241197e2ad60d9a52eb624639200d633a50e1 /Documentation/devicetree/bindings/iio/temperature | |
parent | 059c53b3232960cfd38cc46de0a7bedd642021f5 (diff) | |
download | lwn-ba34b3a2df09ff44555f0b19c0c8f30ba748b9aa.tar.gz lwn-ba34b3a2df09ff44555f0b19c0c8f30ba748b9aa.zip |
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.txt | 8 |
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>; }; |