Skip to content

Commit

Permalink
Documentation: dt-bindings: tmp007: Add optional interrupt support
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Manivannan Sadhasivam authored and Jonathan Cameron committed Jan 28, 2017
1 parent 059c53b commit ba34b3a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Documentation/devicetree/bindings/iio/temperature/tmp007.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
};

0 comments on commit ba34b3a

Please sign in to comment.