lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 14 Feb 2020 11:32:23 +0200
From:   Alexandru Tachici <alexandru.tachici@...log.com>
To:     <linux-iio@...r.kernel.org>, <linux-kernel@...r.kernel.org>
CC:     <jic23@...nel.org>
Subject: [PATCH 5/5] iio: accel: adxl372: Update sysfs docs

This patch adds entries in the syfs docs of ADXL372.

Signed-off-by: Stefan Popa <stefan.popa@...log.com>
Signed-off-by: Alexandru Tachici <alexandru.tachici@...log.com>
---
 .../ABI/testing/sysfs-bus-iio-accel-adxl372   | 40 +++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-accel-adxl372

diff --git a/Documentation/ABI/testing/sysfs-bus-iio-accel-adxl372 b/Documentation/ABI/testing/sysfs-bus-iio-accel-adxl372
new file mode 100644
index 000000000000..1d74fc2ea0ac
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-bus-iio-accel-adxl372
@@ -0,0 +1,40 @@
+What:		/sys/bus/iio/devices/iio:deviceX/peak_fifo_mode_enable
+KernelVersion:
+Contact:	linux-iio@...r.kernel.org
+Description:
+		This attribute allows to configure the FIFO to store sample
+		sets of impact event peak (x, y, z). As a precondition, all
+		three channels (x, y, z) need to be enabled.
+		Writing 1, peak fifo mode will be enabled, if cleared and
+		all three channels are enabled, sample sets of concurrent
+		3-axis data will be stored in the FIFO.
+
+What:		/sys/bus/iio/devices/iio:deviceX/time_activity
+KernelVersion:
+Contact:	linux-iio@...r.kernel.org
+Description:
+		This attribute allows to set the activity timer in ms,
+		the minimum time measured acceleration needs to overcome
+		the set threshold in order to detect activity.
+
+What:		/sys/bus/iio/devices/iio:deviceX/time_inactivity
+KernelVersion:
+Contact:	linux-iio@...r.kernel.org
+Description:
+		This attribute allows to set the inactivity timer in ms,
+		the minimum time measured acceleration needs to be lower
+		than set threshold in order to detect inactivity.
+
+What:		/sys/bus/iio/devices/iio:deviceX/in_accel_x_threshold_activity
+KernelVersion:
+Contact:	linux-iio@...r.kernel.org
+Description:
+		This attribute allows to set the activity threshold in 100 mg
+		(0.1 m/s^2 SI).
+
+What:		/sys/bus/iio/devices/iio:deviceX/in_accel_x_threshold_inactivity
+KernelVersion:
+Contact:	linux-iio@...r.kernel.org
+Description:
+		This attribute allows to set the inactivity threshold in 100 mg
+		(0.1 m/s^2 SI).
-- 
2.20.1

Powered by blists - more mailing lists