[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251107092646.qaeocpvux4kjfu3i@antoni-VivoBook-ASUSLaptop-X512FAY-K512FA>
Date: Fri, 7 Nov 2025 10:26:46 +0100
From: Antoni Pokusinski <apokusinski01@...il.com>
To: Marcelo Schmitt <marcelo.schmitt1@...il.com>
Cc: jic23@...nel.org, dlechner@...libre.com, nuno.sa@...log.com,
andy@...nel.org, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 3/3] iio: ABI: document pressure event attributes
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@...il.com>
> > ---
> > 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@...r.kernel.org
> > 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@...il.com>
>
> > KernelVersion: 2.6.37
> > Contact: linux-iio@...r.kernel.org
> > Description:
> > --
> > 2.25.1
> >
Kind regards,
Antoni Pokusinski
Powered by blists - more mailing lists