diff mbox series

[v5,2/2] iio: accel: adxl372: Add additional trigger ABI docs

Message ID 20200810093257.65929-3-alexandru.tachici@analog.com (mailing list archive)
State New, archived
Headers show
Series iio: accel: adxl372: Add support for FIFO peak mode | expand

Commit Message

Alexandru Tachici Aug. 10, 2020, 9:32 a.m. UTC
From: Alexandru Tachici <alexandru.tachici@analog.com>

Document use of additional trigger supplied by driver.

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

Comments

Jonathan Cameron Aug. 29, 2020, 5:34 p.m. UTC | #1
On Mon, 10 Aug 2020 12:32:57 +0300
<alexandru.tachici@analog.com> wrote:

> From: Alexandru Tachici <alexandru.tachici@analog.com>
> 
> Document use of additional trigger supplied by driver.
> 
> Signed-off-by: Alexandru Tachici <alexandru.tachici@analog.com>
> ---
>  Documentation/ABI/testing/sysfs-bus-iio-accel-adxl372 | 7 +++++++
>  1 file changed, 7 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..47e34f865ca1
> --- /dev/null
> +++ b/Documentation/ABI/testing/sysfs-bus-iio-accel-adxl372
> @@ -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.

Innovative use of docs.  I was thinking about adding specific
docs for the event/* things that are tied up to this.

If you think that is useful, perhaps a follow up patch?
diff mbox series

Patch

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..47e34f865ca1
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-bus-iio-accel-adxl372
@@ -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.