Lines Matching +full:trigger +full:- +full:sources

1 .. SPDX-License-Identifier: GPL-2.0-only
24 ----------------
30 ------------------
33 .. code-block::
35 +-------------+ +-------------+
36 | BUSY |-------->| TRIGGER |
37 | CS |<--------| CS |
41 | SDI |<--------| SDO |
42 | DOUTA |-------->| SDI |
43 | SCLK |<--------| SCLK |
45 | | +-------------+
46 | CONVST |<--------| PWM |
47 +-------------+ +-------------+
50 The ``#trigger-source-cells = <1>`` property is also required to connect back
51 to the SPI offload. The SPI offload will have ``trigger-sources`` property
59 --------------------
63 platform in the device tree (with no io-backends node defined, see below).
65 IIO-backend mode
66 ----------------
70 The backend mode is enabled when through the definition of the "io-backends"
73 The reference configuration for the current implementation of IIO-backend mode
75 https://wiki.analog.com/resources/eval/user-guides/ad7606x-fmc/hdl
77 This implementation embeds an IIO-backend compatible IP (adi-axi-adc) and a PWM
78 connected to the conversion trigger pin.
80 .. code-block::
82 +---+ +----------------------------
83 | | +-------+ |AD76xx
85 | D |-------------->| PWM |-------------->| cnvst
87 | 6 | +-------+ |
88 | 0 | controls +-----------+-----------+ |
89 | 6 |---------->| | |<--| frstdata
90 | | | Backend | Backend |<--| busy
92 | R | | | |-->| clk
93 | I | requests |+---------+| DMA | |
94 | V |----------->| Buffer ||<---- |<=>| DATA
95 | E | |+---------+| | |
96 | R | +-----------+-----------+ |
97 | |-------------------------------------->| reset/configuration gpios
98 +---+ +-----------------------------
102 ---------------------------
112 - Scale
117 ---------------------
121 - A GPIO is connected to the conversion trigger pin, and this GPIO is controlled
123 conversion trigger pin to high as soon as it has read all the conversions.
125 - An external source is connected to the conversion trigger pin. In the
127 does not control directly the conversion trigger pin. Instead, it can
128 control the PWM's frequency. This trigger is enabled only for iio-backend.
131 -----------------
133 2 possible reference voltage sources are supported:
135 - Internal reference (2.5V)
136 - External reference (2.5V)
138 The source is determined by the device tree. If ``refin-supply`` is present,
142 ------------
149 ----------------------
151 - 2/4/8 SDO lines
152 - CRC indication
153 - Calibration
165 * ``trigger`` directory is removed.
175 --------------------
177 This driver supports IIO triggered buffers, with a "built in" trigger, i.e the
178 trigger is allocated and linked by the driver, and a new conversion is triggered
183 ------------------
185 When IIO backend is used, the trigger is not needed, and the sample rate is