@@ -46,6 +46,8 @@ CS mode, 3-wire, without busy indicator
46
46
To select this mode in the device tree, set the ``adi,spi-mode `` property to
47
47
``"single" `` and omit the ``cnv-gpios `` property.
48
48
49
+ This is the only wiring configuration supported when using `SPI offload support `_.
50
+
49
51
CS mode, 4-wire, without busy indicator
50
52
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
51
53
@@ -106,7 +108,6 @@ Unimplemented features
106
108
----------------------
107
109
108
110
- ``BUSY `` indication
109
- - ``TURBO `` mode
110
111
111
112
112
113
Device attributes
@@ -147,6 +148,27 @@ AD7986 is a fully-differential ADC and has the following attributes:
147
148
In "chain" mode, additional chips will appear as additional voltage input
148
149
channels, e.g. ``in_voltage2-voltage3_raw ``.
149
150
151
+ SPI offload support
152
+ ===================
153
+
154
+ To be able to achieve the maximum sample rate, the driver can be used with the
155
+ `AXI SPI Engine `_ to provide SPI offload support.
156
+
157
+ .. _AXI SPI Engine : http://analogdevicesinc.github.io/hdl/projects/pulsar_adc/index.html
158
+
159
+ When SPI offload is being used, some attributes will be different.
160
+
161
+ * ``trigger `` directory is removed.
162
+ * ``in_voltage0_sampling_frequency `` attribute is added for setting the sample
163
+ rate.
164
+ * ``in_voltage0_sampling_frequency_available `` attribute is added for querying
165
+ the max sample rate.
166
+ * ``timestamp `` channel is removed.
167
+ * Buffer data format may be different compared to when offload is not used,
168
+ e.g. the ``in_voltage0_type `` attribute.
169
+
170
+ If the ``turbo-gpios `` property is present in the device tree, the driver will
171
+ turn on TURBO during buffered reads and turn it off otherwise.
150
172
151
173
Device buffers
152
174
==============
0 commit comments