From: Alexandru Ardelean <ardeleanalex@gmail.com>
To: Pedro Sousa <pedroteosousa@gmail.com>
Cc: linux-iio@vger.kernel.org,
Alexandru Ardelean <alexandru.ardelean@analog.com>
Subject: Re: Question about ADIS162XX low voltage status bit
Date: Mon, 20 May 2019 14:57:07 +0300 [thread overview]
Message-ID: <CA+U=DspSs3xnYwyT_JUgJiYLzWW=d+qOAwg_rryRq7upew_1JA@mail.gmail.com> (raw)
In-Reply-To: <CAMyZ8d4ya5VpgnQBS-8isgQP5RcoDbxyRGnxYWhjtL1b2RagwQ@mail.gmail.com>
On Sat, May 18, 2019 at 11:51 PM Pedro Sousa <pedroteosousa@gmail.com> wrote:
>
> Hi everyone,
>
> I saw that all iio drivers ADIS162XX have a comment on the low voltage
> status bit specifying 3.15V as a safe lower bound, but this value does
> not match the ones in the datasheet, which are all lower. What is the
> reason for this discrepancy?
Good find.
You are correct. The values should be 2.975V in the driver.
This is a bit hard-to-tell (why it happened to be 3.15 in the driver).
Sometimes, drivers are written before the part is released, and the
specs sometimes change from Rev A to Rev E.
Or the docs get corrected.
Or, sometimes copies a base driver from somewhere else, and forgets to
update things; no idea if that was the case here.
In any case, feel free to send a patch to fix the driver.
If not, we can send to fix them.
Thanks
Alex
prev parent reply other threads:[~2019-05-20 11:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-18 20:49 Question about ADIS162XX low voltage status bit Pedro Sousa
2019-05-20 11:57 ` Alexandru Ardelean [this message]
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='CA+U=DspSs3xnYwyT_JUgJiYLzWW=d+qOAwg_rryRq7upew_1JA@mail.gmail.com' \
--to=ardeleanalex@gmail.com \
--cc=alexandru.ardelean@analog.com \
--cc=linux-iio@vger.kernel.org \
--cc=pedroteosousa@gmail.com \
/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).