mbox series

[0/2] iio: light: vcnl4000: Add vcnl4040 interrupt support

Message ID 20221220214959.2289330-1-marten.lindahl@axis.com (mailing list archive)
Headers show
Series iio: light: vcnl4000: Add vcnl4040 interrupt support | expand

Message

Mårten Lindahl Dec. 20, 2022, 9:49 p.m. UTC
Hi!

I'm sending two patches to add support for proximity sensor
interrupts with the vcnl4040 sensor.

The first patch is a minor restructuring of the current setup for
interrupts since the probe function hardcodes it for vcnl4010 only.

The second patch adds support to configure proximity sensor
interrupts and threshold limits for vcnl4040.

Kind regards
Mårten Lindahl

Mårten Lindahl (2):
  iio: light: vcnl4000: Make irq handling more generic
  iio: light: vcnl4000: Add interrupt support for vcnl4040

 drivers/iio/light/vcnl4000.c | 229 ++++++++++++++++++++++++++++++-----
 1 file changed, 201 insertions(+), 28 deletions(-)