summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-api/iio
diff options
context:
space:
mode:
authorLuca Ceresoli <luca@lucaceresoli.net>2021-02-15 15:35:09 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-03-11 20:47:08 +0000
commitbd9a013d2988321ef1122e41874f9cbd141e480a (patch)
tree8619e1d50876b5c95682ba5b889b7ea1bf540120 /Documentation/driver-api/iio
parentf2163c1e365bef19bb371933272f2327d286fbbb (diff)
downloadlinux-stable-bd9a013d2988321ef1122e41874f9cbd141e480a.tar.gz
linux-stable-bd9a013d2988321ef1122e41874f9cbd141e480a.tar.bz2
linux-stable-bd9a013d2988321ef1122e41874f9cbd141e480a.zip
docs: iio: document the 'index' attribute too
Two out of three attributes are documented, document the third one too. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Link: https://lore.kernel.org/r/20210215143511.25471-4-luca@lucaceresoli.net Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/driver-api/iio')
-rw-r--r--Documentation/driver-api/iio/buffers.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/driver-api/iio/buffers.rst b/Documentation/driver-api/iio/buffers.rst
index 9f7dc245d37a..9dad7c94034b 100644
--- a/Documentation/driver-api/iio/buffers.rst
+++ b/Documentation/driver-api/iio/buffers.rst
@@ -34,6 +34,7 @@ attributes of the following form:
* :file:`enable`, used for enabling a channel. If and only if its attribute
is non *zero*, then a triggered capture will contain data samples for this
channel.
+* :file:`index`, the scan_index of the channel.
* :file:`type`, description of the scan element data storage within the buffer
and hence the form in which it is read from user space.
Format is [be|le]:[s|u]bits/storagebitsXrepeat[>>shift] .