devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation: dt-bindings: tmp007: Add optional interrupt support
@ 2017-01-23 16:28 Manivannan Sadhasivam
       [not found] ` <20170123162809.GA16800-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Manivannan Sadhasivam @ 2017-01-23 16:28 UTC (permalink / raw)
  To: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, jic23-DgEjT+Ai2ygdnm+yROfE0A,
	pmeerw-jW+XmwGofnusTnJN9+BGXg
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA

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

Signed-off-by: Manivannan Sadhasivam <manivannanece23-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---

Created separate patch for devicetree and driver.

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

diff --git a/Documentation/devicetree/bindings/iio/temperature/tmp007.txt b/Documentation/devicetree/bindings/iio/temperature/tmp007.txt
index 3b8f41f..b63aba9 100644
--- a/Documentation/devicetree/bindings/iio/temperature/tmp007.txt
+++ b/Documentation/devicetree/bindings/iio/temperature/tmp007.txt
@@ -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>;
 };
 
-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] Documentation: dt-bindings: tmp007: Add optional interrupt support
       [not found] ` <20170123162809.GA16800-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2017-01-27 20:30   ` Rob Herring
  2017-01-28 11:53     ` Jonathan Cameron
  0 siblings, 1 reply; 4+ messages in thread
From: Rob Herring @ 2017-01-27 20:30 UTC (permalink / raw)
  To: Manivannan Sadhasivam
  Cc: jic23-DgEjT+Ai2ygdnm+yROfE0A, pmeerw-jW+XmwGofnusTnJN9+BGXg,
	devicetree-u79uwXL29TY76Z2rM5mHXA

On Mon, Jan 23, 2017 at 09:58:09PM +0530, Manivannan Sadhasivam wrote:
> This patch adds optional interrupt binding support for TI TMP007 - IR thermopiler sensor
> 
> Signed-off-by: Manivannan Sadhasivam <manivannanece23-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> ---
> 
> Created separate patch for devicetree and driver.
> 
>  Documentation/devicetree/bindings/iio/temperature/tmp007.txt | 8 ++++++++
>  1 file changed, 8 insertions(+)

Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Documentation: dt-bindings: tmp007: Add optional interrupt support
  2017-01-27 20:30   ` Rob Herring
@ 2017-01-28 11:53     ` Jonathan Cameron
       [not found]       ` <4176fa77-a935-72ce-a61f-f91f4c24ed63-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Cameron @ 2017-01-28 11:53 UTC (permalink / raw)
  To: Rob Herring, Manivannan Sadhasivam
  Cc: pmeerw-jW+XmwGofnusTnJN9+BGXg, devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

On 27/01/17 20:30, Rob Herring wrote:
> On Mon, Jan 23, 2017 at 09:58:09PM +0530, Manivannan Sadhasivam wrote:
>> This patch adds optional interrupt binding support for TI TMP007 - IR thermopiler sensor
>>
>> Signed-off-by: Manivannan Sadhasivam <manivannanece23-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>> ---
>>
>> Created separate patch for devicetree and driver.
>>
>>  Documentation/devicetree/bindings/iio/temperature/tmp007.txt | 8 ++++++++
>>  1 file changed, 8 insertions(+)
> 
> Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
> 
Applied to the togreg branch of iio.git - shortly to be pushed out as testing
for the autobuilders to play with it.

Please cc linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org even when you are only touching the bindings.
Makes it less likely a patch will fall through the cracks!

Jonathan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Documentation: dt-bindings: tmp007: Add optional interrupt support
       [not found]       ` <4176fa77-a935-72ce-a61f-f91f4c24ed63-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
@ 2017-01-28 12:04         ` Mani Sadhasivam
  0 siblings, 0 replies; 4+ messages in thread
From: Mani Sadhasivam @ 2017-01-28 12:04 UTC (permalink / raw)
  To: Jonathan Cameron, Rob Herring
  Cc: pmeerw-jW+XmwGofnusTnJN9+BGXg, devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org



On January 28, 2017 5:23:22 PM GMT+05:30, Jonathan Cameron <jic23@kernel.org> wrote:
>On 27/01/17 20:30, Rob Herring wrote:
>> On Mon, Jan 23, 2017 at 09:58:09PM +0530, Manivannan Sadhasivam
>wrote:
>>> This patch adds optional interrupt binding support for TI TMP007 -
>IR thermopiler sensor
>>>
>>> Signed-off-by: Manivannan Sadhasivam <manivannanece23@gmail.com>
>>> ---
>>>
>>> Created separate patch for devicetree and driver.
>>>
>>>  Documentation/devicetree/bindings/iio/temperature/tmp007.txt | 8
>++++++++
>>>  1 file changed, 8 insertions(+)
>> 
>> Acked-by: Rob Herring <robh@kernel.org>
>> 
>Applied to the togreg branch of iio.git - shortly to be pushed out as
>testing
>for the autobuilders to play with it.
>
>Please cc linux-iio@vger.kernel.org even when you are only touching the
>bindings.
>Makes it less likely a patch will fall through the cracks!
Noted.  Thanks Jonathan. 

-Mani
>
>Jonathan

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-01-28 12:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-23 16:28 [PATCH] Documentation: dt-bindings: tmp007: Add optional interrupt support Manivannan Sadhasivam
     [not found] ` <20170123162809.GA16800-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-01-27 20:30   ` Rob Herring
2017-01-28 11:53     ` Jonathan Cameron
     [not found]       ` <4176fa77-a935-72ce-a61f-f91f4c24ed63-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-01-28 12:04         ` Mani Sadhasivam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).