Skip to contentSkip to conversation

Documentation: dt-bindings: tmp007: Add optional interrupt support

PATCH In review Manivannan Sadhasivam 3 participants 4 messages Jan 23, 2017 – Jan 28, 2017 2 messages not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: dt-bindings: tmp007: Add optional interrupt support

This patch adds optional interrupt binding support for TI TMP007 - IR thermopiler sensor

---

Created separate patch for devicetree and driver.

 Documentation/devicetree/bindings/iio/temperature/tmp007.txt | 8 ++++++++
 1 file changed, 8 insertions(+)
Documentation/devicetree/bindings/iio/temperature/tmp007.txt +8 -0
index 3b8f41f..b63aba9 100644
@@ -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>;
 };
 
Signature · 6 lines
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

Acked-by
#2 lore raw
Quoted 9 lines · Manivannan Sadhasivam

This patch adds optional interrupt binding support for TI TMP007 - IR thermopiler sensor

---

Created separate patch for devicetree and driver.

 Documentation/devicetree/bindings/iio/temperature/tmp007.txt | 8 ++++++++
 1 file changed, 8 insertions(+)

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 6 lines · Rob Herring
Quoted 5 lines · Manivannan Sadhasivam

This patch adds optional interrupt binding support for TI TMP007 - IR thermopiler sensor

---

Quoted 7 lines
Quoted 4 lines

Created separate patch for devicetree and driver.

 Documentation/devicetree/bindings/iio/temperature/tmp007.txt | 8 ++++++++
 1 file changed, 8 insertions(+)

Applied to the togreg branch of iio.git - shortly to be pushed out as testing for the autobuilders to play with it.

Please cc [email protected] even when you are only touching the bindings. Makes it less likely a patch will fall through the cracks!

Jonathan

A message that is not in the archive (sent off-list or not yet received): 4176fa77-a935-72ce-a61f-f91f4c24ed63-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org

#5 lore raw
Quoted 17 lines · Jonathan Cameron
Quoted 1 line · Rob Herring

On Mon, Jan 23, 2017 at 09:58:09PM +0530, Manivannan Sadhasivam

Quoted 1 line · wrote:
Quoted 1 line

This patch adds optional interrupt binding support for TI TMP007 -

IR thermopiler sensor

Quoted 7 lines
Quoted 7 lines

---

Created separate patch for devicetree and driver.

 Documentation/devicetree/bindings/iio/temperature/tmp007.txt | 8

++++++++

Quoted 4 lines
Quoted 1 line
 1 file changed, 8 insertions(+)
Quoted 7 lines

Applied to the togreg branch of iio.git - shortly to be pushed out as testing
for the autobuilders to play with it.

Please cc [email protected] even when you are only touching the bindings.
Makes it less likely a patch will fall through the cracks!

Noted. Thanks Jonathan.

-Mani

Quoted 2 lines

Jonathan

Signature · 1 line
Sent from my Android device with K-9 Mail. Please excuse my brevity.