[PATCH v2 3/4] iio: accel: wsen-itds accel documentation

From: Saravanan Sekar
Date: Wed Apr 29 2020 - 09:40:35 EST


Add documentation about device operating mode and output data range
supported according to operating mode

Signed-off-by: Saravanan Sekar <saravanan@xxxxxxxxxxx>
---
.../ABI/testing/sysfs-bus-iio-wsen-itds | 23 +++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-wsen-itds

diff --git a/Documentation/ABI/testing/sysfs-bus-iio-wsen-itds b/Documentation/ABI/testing/sysfs-bus-iio-wsen-itds
new file mode 100644
index 000000000000..5979f2b8aa1a
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-bus-iio-wsen-itds
@@ -0,0 +1,23 @@
+What: /sys/bus/iio/devices/iio\:device0/in_accel_samp_freq_available
+KernelVersion: 5.7
+Contact: linux-iio@xxxxxxxxxxxxxxx
+Description:
+ Reading gives range of sample frequencies available for current operating mode
+ after one data has generated.
+
+ Access: Read
+ Valid values: represented in Hz
+ - range [12.5, 1600] for high permormance mode
+ - range [1.6, 200] for normal/low power mode
+
+What: /sys/bus/iio/devices/iio\:device0/operating_mode
+KernelVersion: 5.7
+Contact: linux-iio@xxxxxxxxxxxxxxx
+Description:
+ Represents the device operating mode. High performance mode gives high output
+ data rate and low noise compared to normal mode. Normal mode consumes less
+ current. In single shot device enters to lowpower after one data has
+ generated.
+
+ Access: Read, Write
+ Valid values: "lowpower", "normal", "high_perf", "single_shot"
--
2.17.1