Linux-IIO Archive on lore.kernel.org
 help / color / Atom feed
* Question about ADIS162XX low voltage status bit
@ 2019-05-18 20:49 Pedro Sousa
  2019-05-20 11:57 ` Alexandru Ardelean
  0 siblings, 1 reply; 2+ messages in thread
From: Pedro Sousa @ 2019-05-18 20:49 UTC (permalink / raw)
  To: linux-iio

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?

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

* Re: Question about ADIS162XX low voltage status bit
  2019-05-18 20:49 Question about ADIS162XX low voltage status bit Pedro Sousa
@ 2019-05-20 11:57 ` Alexandru Ardelean
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandru Ardelean @ 2019-05-20 11:57 UTC (permalink / raw)
  To: Pedro Sousa; +Cc: linux-iio, Alexandru Ardelean

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

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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-18 20:49 Question about ADIS162XX low voltage status bit Pedro Sousa
2019-05-20 11:57 ` Alexandru Ardelean

Linux-IIO Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-iio/0 linux-iio/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-iio linux-iio/ https://lore.kernel.org/linux-iio \
		linux-iio@vger.kernel.org linux-iio@archiver.kernel.org
	public-inbox-index linux-iio


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-iio


AGPL code for this site: git clone https://public-inbox.org/ public-inbox