]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
Documentation: dt-bindings: tmp007: Add optional interrupt support
authorManivannan Sadhasivam <manivannanece23@gmail.com>
Mon, 23 Jan 2017 16:28:09 +0000 (21:58 +0530)
committerJonathan Cameron <jic23@kernel.org>
Sat, 28 Jan 2017 11:51:58 +0000 (11:51 +0000)
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>
Documentation/devicetree/bindings/iio/temperature/tmp007.txt

index 3b8f41fa670a8dc34b82fb19534850da6c5c5019..b63aba91ef0314408788e9aa282bd0f4ba4b77bc 100644 (file)
@@ -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>;
 };