Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Manivannan Sadhasivam and committed by
Jonathan Cameron
ba34b3a2 059c53b3

+8
+8
Documentation/devicetree/bindings/iio/temperature/tmp007.txt
··· 18 18 1 SDA 0x46 19 19 1 SCL 0x47 20 20 21 + Optional properties: 22 + 23 + - interrupt-parent: should be the phandle for the interrupt controller 24 + 25 + - interrupts: interrupt mapping for GPIO IRQ (level active low) 26 + 21 27 Example: 22 28 23 29 tmp007@40 { 24 30 compatible = "ti,tmp007"; 25 31 reg = <0x40>; 32 + interrupt-parent = <&gpio0>; 33 + interrupts = <5 0x08>; 26 34 }; 27 35