From: Jonathan Cameron <jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Andreas Dannenberg <dannenberg-l0cyMroinI0@public.gmane.org>
Cc: linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Alexander Koch
<mail-y2PnNNZjvYd4VEKF+Mn3m16hYfS7NtTn@public.gmane.org>,
knaack.h-Mmb7MZpHnFY@public.gmane.org,
lars-Qo5EllUWu/uELgA04lAiVw@public.gmane.org,
"pmeerw-jW+XmwGofnusTnJN9+BGXg@public.gmane.org >> Peter
Meerwald" <pmeerw-jW+XmwGofnusTnJN9+BGXg@public.gmane.org>,
mhornung.linux-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org
Subject: Re: [PATCH] iio: light: opt3001: Add device tree binding documentation
Date: Mon, 1 Feb 2016 19:56:04 +0000 [thread overview]
Message-ID: <56AFB854.70705@kernel.org> (raw)
In-Reply-To: <20160201151848.GA11967@rob-hp-laptop>
On 01/02/16 15:18, Rob Herring wrote:
> On Fri, Jan 29, 2016 at 01:03:00PM -0600, Andreas Dannenberg wrote:
>> Signed-off-by: Andreas Dannenberg <dannenberg-l0cyMroinI0@public.gmane.org>
>> ---
>> .../devicetree/bindings/iio/light/opt3001.txt | 26 ++++++++++++++++++++++
>> 1 file changed, 26 insertions(+)
>> create mode 100644 Documentation/devicetree/bindings/iio/light/opt3001.txt
>>
>> diff --git a/Documentation/devicetree/bindings/iio/light/opt3001.txt b/Documentation/devicetree/bindings/iio/light/opt3001.txt
>> new file mode 100644
>> index 0000000..55b9cb3
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/iio/light/opt3001.txt
>> @@ -0,0 +1,26 @@
>> +* Texas Instruments OPT3001 Ambient Light Sensor
>> +
>> +The driver supports interrupt-driven and interrupt-less operation, depending
>> +on whether an interrupt property has been populated into the DT. Note that
>> +the optional generation of IIO events on rising/falling light threshold changes
>> +requires the use of interrupts. Without interrupts, only the simple reading
>> +of the current light value is supported through the IIO API.
>
> Seems like you could poll and do the threshold changes in s/w. Anyway,
> that's all irrelevant to the DT binding.
>
> Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Oddity occurred during a merge or patch application at some point as I actually had
some docs in my local tree copy for this, but they weren't being tracked by git.
Checking back, the original patch series did have docs so not sure what rabbit
hole these dropped down. Anyhow, easiest option for me is to just apply this
patch and not chase down where the original went!
Have added a note to the commit to this effect. Applied to the togreg
branch of iio.git.
Thanks,
Jonathan
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2016-02-01 19:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-29 19:03 [PATCH] iio: light: opt3001: Add device tree binding documentation Andreas Dannenberg
[not found] ` <1454094180-2688-1-git-send-email-dannenberg-l0cyMroinI0@public.gmane.org>
2016-01-30 16:30 ` Jonathan Cameron
2016-02-01 15:18 ` Rob Herring
2016-02-01 19:56 ` Jonathan Cameron [this message]
2016-02-01 20:01 ` Andreas Dannenberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56AFB854.70705@kernel.org \
--to=jic23-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
--cc=dannenberg-l0cyMroinI0@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=knaack.h-Mmb7MZpHnFY@public.gmane.org \
--cc=lars-Qo5EllUWu/uELgA04lAiVw@public.gmane.org \
--cc=linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mail-y2PnNNZjvYd4VEKF+Mn3m16hYfS7NtTn@public.gmane.org \
--cc=mhornung.linux-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=pmeerw-jW+XmwGofnusTnJN9+BGXg@public.gmane.org \
--cc=robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).