drm/log: select CONFIG_FONT_SUPPORT
[drm/drm-misc.git] / Documentation / iio / ad7625.rst
blob61761e3b75c39db67648389eeb4b2326d64ebc11
1 .. SPDX-License-Identifier: GPL-2.0-only
3 ====================
4 AD7625 driver
5 ====================
7 ADC driver for Analog Devices Inc. AD7625, AD7626, AD7960, and AD7961
8 devices. The module name is ``ad7625``.
10 Supported devices
11 =================
13 The following chips are supported by this driver:
15 * `AD7625 <https://www.analog.com/AD7625>`_
16 * `AD7626 <https://www.analog.com/AD7626>`_
17 * `AD7960 <https://www.analog.com/AD7960>`_
18 * `AD7961 <https://www.analog.com/AD7961>`_
20 The driver requires use of the Pulsar LVDS HDL project:
22 * `Pulsar LVDS HDL <http://analogdevicesinc.github.io/hdl/projects/pulsar_lvds/index.html>`_
24 To trigger conversions and enable subsequent data transfer, the devices
25 require coupled PWM signals with a phase offset.
27 Supported features
28 ==================
30 Conversion control modes
31 ------------------------
33 The driver currently supports one of two possible LVDS conversion control methods.
35 Echoed-Clock interface mode
36 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
38 .. code-block::
40                                                 +----------------+
41                      +xxxxxxxxxxxxxxxxxxxxxxxxxx| CNV            |
42                      X                          |                |
43                      v                          |    HOST        |
44           +----------------------------+        |                |
45           |      CNV+/CNV-   DCO+/DCO- |xxxxxxx>| CLK_IN         |
46           |                            |        |                |
47           |                            |        |                |
48           |       AD7625         D+/D- |xxxxxxx>| DATA_IN        |
49           |                            |        |                |
50           |                            |        |                |
51           |                  CLK+/CLK- |<xxxxxxx| CLK & CLK_GATE |
52           +----------------------------+        |                |
53                                                 +----------------+
55 Reference voltage
56 -----------------
58 Three possible reference voltage sources are supported:
60 - Internal reference (only available on AD7625 and AD7626)
61 - External reference and internal buffer
62 - External reference
64 The source is determined by the device tree. If ``ref-supply`` is present, then
65 the external reference is used. If ``refin-supply`` is present, then the internal
66 buffer is used. If neither is present, then the internal reference is used.
68 Unimplemented features
69 ----------------------
71 - Self-clocked mode
74 Device attributes
75 =================
77 The AD762x is a fully-differential ADC and has the following attributes:
79 +---------------------------------------+--------------------------------------------------------------+
80 | Attribute                             | Description                                                  |
81 +=======================================+==============================================================+
82 | ``scale``                             | Scale factor to convert raw value from buffered reads to mV. |
83 +---------------------------------------+--------------------------------------------------------------+
86 Device buffers
87 ==============
89 This driver supports IIO triggered buffers.
91 See :doc:`iio_devbuf` for more information.