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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 10 Aug 2020 12:32:57 +0300
<alexandru.tachici@xxxxxxxxxx> wrote:

> From: Alexandru Tachici <alexandru.tachici@xxxxxxxxxx>
> 
> Document use of additional trigger supplied by driver.
> 
> Signed-off-by: Alexandru Tachici <alexandru.tachici@xxxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxxxx
> +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?





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux