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 |
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 --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.