aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorFabien Lahoudere <fabien.lahoudere@collabora.com>2019-05-23 11:07:37 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-06-08 12:33:36 +0100
commit26207c7e787248bba8b8cee8bb6db36ecc7c0a13 (patch)
treedb4d05fa398dbc453f90bac36e56cdbefd716b59 /Documentation/ABI
parentiio: dps310: Add pressure sensing capability (diff)
downloadlinux-dev-26207c7e787248bba8b8cee8bb6db36ecc7c0a13.tar.xz
linux-dev-26207c7e787248bba8b8cee8bb6db36ecc7c0a13.zip
docs: iio: add precision about sampling_frequency_available
The documentation give some exemple on what format can be expected from sampling_frequency_available sysfs attribute Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r--Documentation/ABI/testing/sysfs-bus-iio7
1 files changed, 5 insertions, 2 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
index 6aef7dbbde44..680451695422 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
@@ -61,8 +61,11 @@ What: /sys/bus/iio/devices/triggerX/sampling_frequency_available
KernelVersion: 2.6.35
Contact: linux-iio@vger.kernel.org
Description:
- When the internal sampling clock can only take a small
- discrete set of values, this file lists those available.
+ When the internal sampling clock can only take a specific set of
+ frequencies, we can specify the available values with:
+ - a small discrete set of values like "0 2 4 6 8"
+ - a range with minimum, step and maximum frequencies like
+ "[min step max]"
What: /sys/bus/iio/devices/iio:deviceX/oversampling_ratio
KernelVersion: 2.6.38