Skip to content

Commit 795114e

Browse files
justephjic23
authored andcommitted
docs: iio: ad7380: fix supply for ad7380-4
ad7380-4 is the only device from ad738x family that doesn't have an internal reference. Moreover it's external reference is called REFIN in the datasheet while all other use REFIO as an optional external reference. Update documentation to highlight this. Fixes: 3e82dfc ("docs: iio: new docs for ad7380 driver") Reviewed-by: David Lechner <dlechner@baylibre.com> Signed-off-by: Julien Stephan <jstephan@baylibre.com> Link: https://patch.msgid.link/20241022-ad7380-fix-supplies-v3-5-f0cefe1b7fa6@baylibre.com Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
1 parent 05f9c67 commit 795114e

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

Documentation/iio/ad7380.rst

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,22 @@ supports only 1 SDO line.
4141
Reference voltage
4242
-----------------
4343

44-
2 possible reference voltage sources are supported:
44+
ad7380-4
45+
~~~~~~~~
46+
47+
ad7380-4 supports only an external reference voltage (2.5V to 3.3V). It must be
48+
declared in the device tree as ``refin-supply``.
49+
50+
All other devices from ad738x family
51+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
52+
53+
All other devices from ad738x support 2 possible reference voltage sources:
4554

4655
- Internal reference (2.5V)
4756
- External reference (2.5V to 3.3V)
4857

4958
The source is determined by the device tree. If ``refio-supply`` is present,
50-
then the external reference is used, else the internal reference is used.
59+
then it is used as external reference, else the internal reference is used.
5160

5261
Oversampling and resolution boost
5362
---------------------------------

0 commit comments

Comments
 (0)