On Mon, 10 Aug 2020 12:32:57 +0300 <alexandru.tach...@analog.com> wrote:
> From: Alexandru Tachici <alexandru.tach...@analog.com> > > Document use of additional trigger supplied by driver. > > Signed-off-by: Alexandru Tachici <alexandru.tach...@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-...@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?