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

From: Antoni Pokusinski

Date: Fri Nov 07 2025 - 04:27:07 EST


On Thu, Nov 06, 2025 at 11:32:07PM -0300, Marcelo Schmitt 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?
Yes, that's right.

> If so, IIO event sysfs entry generation might need a tweak.
>
> For what matters to mpl3115 event support patch set, I think this is okay.
>
> Reviewed-by: Marcelo Schmitt <marcelo.schmitt1@xxxxxxxxx>
>
> > KernelVersion: 2.6.37
> > Contact: linux-iio@xxxxxxxxxxxxxxx
> > Description:
> > --
> > 2.25.1
> >
Kind regards,
Antoni Pokusinski