mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-13 23:34:05 +08:00
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>
This commit is contained in:
parent
059c53b323
commit
ba34b3a2df
@ -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>;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user