diff mbox series

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

Message ID 20200429133943.18298-4-saravanan@linumiz.com
State New
Headers show
Series Add driver for wsen-itds accelerometer sensor | expand

Commit Message

Saravanan Sekar April 29, 2020, 1:39 p.m. UTC
Add documentation about device operating mode and output data range
supported according to operating mode

Signed-off-by: Saravanan Sekar <saravanan@linumiz.com>
---
 .../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 mbox series

Patch

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@vger.kernel.org
+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@vger.kernel.org
+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"