Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

docs: iio: new docs for ad7625 driver

Add documentation for the AD7625/AD7626/AD7960/AD7961 ADCs.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Link: https://patch.msgid.link/20240909-ad7625_r1-v5-3-60a397768b25@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Trevor Gamblin and committed by
Jonathan Cameron
78134832 b7ffd0fa

+93
+91
Documentation/iio/ad7625.rst
··· 1 + .. SPDX-License-Identifier: GPL-2.0-only 2 + 3 + ==================== 4 + AD7625 driver 5 + ==================== 6 + 7 + ADC driver for Analog Devices Inc. AD7625, AD7626, AD7960, and AD7961 8 + devices. The module name is ``ad7625``. 9 + 10 + Supported devices 11 + ================= 12 + 13 + The following chips are supported by this driver: 14 + 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>`_ 19 + 20 + The driver requires use of the Pulsar LVDS HDL project: 21 + 22 + * `Pulsar LVDS HDL <http://analogdevicesinc.github.io/hdl/projects/pulsar_lvds/index.html>`_ 23 + 24 + To trigger conversions and enable subsequent data transfer, the devices 25 + require coupled PWM signals with a phase offset. 26 + 27 + Supported features 28 + ================== 29 + 30 + Conversion control modes 31 + ------------------------ 32 + 33 + The driver currently supports one of two possible LVDS conversion control methods. 34 + 35 + Echoed-Clock interface mode 36 + ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 37 + 38 + .. code-block:: 39 + 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 + +----------------+ 54 + 55 + Reference voltage 56 + ----------------- 57 + 58 + Three possible reference voltage sources are supported: 59 + 60 + - Internal reference (only available on AD7625 and AD7626) 61 + - External reference and internal buffer 62 + - External reference 63 + 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. 67 + 68 + Unimplemented features 69 + ---------------------- 70 + 71 + - Self-clocked mode 72 + 73 + 74 + Device attributes 75 + ================= 76 + 77 + The AD762x is a fully-differential ADC and has the following attributes: 78 + 79 + +---------------------------------------+--------------------------------------------------------------+ 80 + | Attribute | Description | 81 + +=======================================+==============================================================+ 82 + | ``scale`` | Scale factor to convert raw value from buffered reads to mV. | 83 + +---------------------------------------+--------------------------------------------------------------+ 84 + 85 + 86 + Device buffers 87 + ============== 88 + 89 + This driver supports IIO triggered buffers. 90 + 91 + See :doc:`iio_devbuf` for more information.
+1
Documentation/iio/index.rst
··· 21 21 ad4000 22 22 ad4695 23 23 ad7380 24 + ad7625 24 25 ad7944 25 26 adis16475 26 27 adis16480
+1
MAINTAINERS
··· 1335 1335 W: https://ez.analog.com/linux-software-drivers 1336 1336 W: http://analogdevicesinc.github.io/hdl/projects/pulsar_lvds/index.html 1337 1337 F: Documentation/devicetree/bindings/iio/adc/adi,ad7625.yaml 1338 + F: Documentation/iio/ad7625.rst 1338 1339 F: drivers/iio/adc/ad7625.c 1339 1340 1340 1341 ANALOG DEVICES INC AD7768-1 DRIVER