| From: |
| Antoni Pokusinski <apokusinski01-AT-gmail.com> |
| To: |
| jic23-AT-kernel.org, dlechner-AT-baylibre.com, nuno.sa-AT-analog.com, andy-AT-kernel.org, marcelo.schmitt1-AT-gmail.com |
| Subject: |
| [PATCH 0/2] iio: mpl3115: support for events |
| Date: |
| Tue, 28 Oct 2025 22:33:50 +0100 |
| Message-ID: |
| <20251028213351.77368-1-apokusinski01@gmail.com> |
| Cc: |
| linux-iio-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, Antoni Pokusinski <apokusinski01-AT-gmail.com> |
| Archive-link: |
| Article |
Hello,
The mpl3115 device can raise interrupts when a pressure or temperature
threshold is crossed, this patchset adds support for them using IIO's
events interface.
Patch 1/2 is a small cleanup, while the events support is added in
patch 2/2.
Kind regards,
Antoni Pokusinski
Antoni Pokusinski (2):
iio: mpl3115: add ctrl_reg4 to mpl3115_data
iio: mpl3115: add threshold events support
drivers/iio/pressure/mpl3115.c | 226 +++++++++++++++++++++++++++++++--
1 file changed, 216 insertions(+), 10 deletions(-)
base-commit: 1d09cf18cc91d29f650ad9811ed4868d9304d6c7
--
2.25.1