Skip to content

Commit 8dbeb41

Browse files
spectrum70jic23
authored andcommitted
doc: iio: ad7380: describe offload support
Add a section to the ad7380 documentation describing how to use the driver with SPI offloading. Signed-off-by: Angelo Dureghello <adureghello@baylibre.com> Link: https://patch.msgid.link/20250310-wip-bl-spi-offload-ad7380-v4-2-b184b37b7c72@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
1 parent bbeaec8 commit 8dbeb41

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Documentation/iio/ad7380.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,24 @@ Unimplemented features
178178
- Power down mode
179179
- CRC indication
180180

181+
SPI offload support
182+
===================
183+
184+
To be able to achieve the maximum sample rate, the driver can be used with the
185+
`AXI SPI Engine`_ to provide SPI offload support.
186+
187+
.. _AXI SPI Engine: http://analogdevicesinc.github.io/hdl/projects/pulsar_adc/index.html
188+
189+
When SPI offload is being used, some attributes will be different.
190+
191+
* ``trigger`` directory is removed.
192+
* ``in_voltage0_sampling_frequency`` attribute is added for setting the sample
193+
rate.
194+
* ``in_voltage0_sampling_frequency_available`` attribute is added for querying
195+
the max sample rate.
196+
* ``timestamp`` channel is removed.
197+
* Buffer data format may be different compared to when offload is not used,
198+
e.g. the ``in_voltage0_type`` attribute.
181199

182200
Device buffers
183201
==============

0 commit comments

Comments
 (0)