iio: accel: adxl372: Add additional trigger ABI docs
authorAlexandru Tachici <alexandru.tachici@analog.com>
Mon, 10 Aug 2020 09:32:57 +0000 (12:32 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 3 Sep 2020 18:40:56 +0000 (19:40 +0100)
Document use of additional trigger supplied by driver.

Signed-off-by: Alexandru Tachici <alexandru.tachici@analog.com>
Link: https://lore.kernel.org/r/20200810093257.65929-3-alexandru.tachici@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/ABI/testing/sysfs-bus-iio-accel-adxl372 [new file with mode: 0644]

diff --git a/Documentation/ABI/testing/sysfs-bus-iio-accel-adxl372 b/Documentation/ABI/testing/sysfs-bus-iio-accel-adxl372
new file mode 100644 (file)
index 0000000..47e34f8
--- /dev/null
@@ -0,0 +1,7 @@
+What:          /sys/bus/iio/devices/triggerX/name = "adxl372-devX-peak"
+KernelVersion:
+Contact:       linux-iio@vger.kernel.org
+Description:
+               The adxl372 accelerometer kernel module provides an additional trigger,
+               which sets the device in a mode in which it will record only the peak acceleration
+               sensed over the set period of time in the events sysfs.