Lines Matching +full:common +full:- +full:mode +full:- +full:channel

1 .. SPDX-License-Identifier: GPL-2.0-only
26 ----------------
30 4-wire mode
33 In this mode, CNV and CS are tied together and there is a single SDO line.
35 .. code-block::
37 +-------------+ +-------------+
38 | CS |<-+------| CS |
39 | CNV |<-+ | |
42 | SDI |<--------| SDO |
43 | SDO |-------->| SDI |
44 | SCLK |<--------| SCLK |
45 +-------------+ +-------------+
47 To use this mode, in the device tree, omit the ``cnv-gpios`` and
48 ``spi-rx-bus-width`` properties.
50 Channel configuration
51 ---------------------
53 Since the chip supports multiple ways to configure each channel, this must be
64 Each ``INx`` pin can be used as a pseudo-differential input in conjunction with
67 .. code-block::
69 channel@0 {
73 If no other channel properties are needed (e.g. ``adi,no-high-z``), the channel
76 This will appear on the IIO bus as the ``voltage0`` channel. The processed value
83 Each ``INx`` pin can be used as a pseudo-differential input in conjunction with
86 .. code-block::
88 com-supply = <&vref_div_2>;
90 channel@1 {
92 common-mode-channel = <AD4695_COMMON_MODE_COM>;
96 This will appear on the IIO bus as the ``voltage1`` channel. The processed value
98 relative to ``REFGND``. (The offset is determined by the ``com-supply`` voltage.)
102 .. code-block::
104 #include <dt-bindings/iio/adi,ad4695.h>
109 An even-numbered ``INx`` pin and the following odd-numbered ``INx`` pin can be
110 used as a pseudo-differential input. The device tree for using ``IN2`` as the
113 .. code-block::
115 in3-supply = <&vref_div_2>;
117 channel@2 {
119 common-mode-channel = <3>; /* IN3 */
123 This will appear on the IIO bus as the ``voltage2`` channel. The processed value
125 relative to ``REFGND``. (Offset is determined by the ``in3-supply`` voltage.)
128 ----------
132 determine which is being used. If ``ldo-supply`` is present, then the internal
133 LDO is used. If ``vcc-supply`` is present, then the external LDO is used and
137 -----------------
141 at the device tree to determine which is being used. If ``ref-supply`` is
143 disabled. If ``refin-supply`` is present, then the internal buffered reference
147 -----------------------
149 System calibration is supported using the channel gain and offset registers via
153 ----------------------
155 - Additional wiring modes
156 - Threshold events
157 - Oversampling
158 - GPIO support
159 - CRC support