Messages in this thread | | | Date | Sat, 29 Aug 2020 18:34:11 +0100 | From | Jonathan Cameron <> | Subject | Re: [PATCH v5 2/2] iio: accel: adxl372: Add additional trigger ABI docs |
| |
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?
| |