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