Re: [PATCH v3 3/3] iio: ABI: document pressure event attributes

From: Jonathan Cameron

Date: Sun Nov 09 2025 - 11:43:24 EST


On Thu, 6 Nov 2025 23:32:07 -0300
Marcelo Schmitt <marcelo.schmitt1@xxxxxxxxx> wrote:

> On 11/05, Antoni Pokusinski wrote:
> > Add sysfs pressure event attributes exposed by the mpl3115 driver. These
> > allow controlling the threshold value and the enable state.
> >
> > Signed-off-by: Antoni Pokusinski <apokusinski01@xxxxxxxxx>
> > ---
> > Documentation/ABI/testing/sysfs-bus-iio | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
> > index 352ab7b8476c..5f87dcee78f7 100644
> > --- a/Documentation/ABI/testing/sysfs-bus-iio
> > +++ b/Documentation/ABI/testing/sysfs-bus-iio
> > @@ -898,6 +898,7 @@ What: /sys/.../iio:deviceX/events/in_tempY_thresh_rising_en
> > What: /sys/.../iio:deviceX/events/in_tempY_thresh_falling_en
> > What: /sys/.../iio:deviceX/events/in_capacitanceY_thresh_rising_en
> > What: /sys/.../iio:deviceX/events/in_capacitanceY_thresh_falling_en
> > +What: /sys/.../iio:deviceX/events/in_pressure_thresh_rising_en
> > KernelVersion: 2.6.37
> > Contact: linux-iio@xxxxxxxxxxxxxxx
> > Description:
> > @@ -1047,6 +1048,7 @@ What: /sys/.../events/in_capacitanceY_thresh_rising_value
> > What: /sys/.../events/in_capacitanceY_thresh_falling_value
> > What: /sys/.../events/in_capacitanceY_thresh_adaptive_rising_value
> > What: /sys/.../events/in_capacitanceY_thresh_falling_rising_value
> > +What: /sys/.../events/in_pressure_thresh_rising_value
> This is how it's currently appearing in sysfs, right?
> If so, IIO event sysfs entry generation might need a tweak.
Tell me more... Why might we need a tweak around this?