Re: [PATCH v5 1/7] iio: light: vcnl4000: Add proximity irq for vcnl4200

From: andy . shevchenko
Date: Sat Jun 03 2023 - 08:08:27 EST


Tue, May 30, 2023 at 04:23:59PM +0200, Astrid Rost kirjoitti:
> Add proximity interrupt support for vcnl4200 (similar to vcnl4040).
> Add support to configure proximity sensor interrupts and threshold
> limits. If an interrupt is detected an event will be pushed to the
> event interface.

> int (*set_power_state)(struct vcnl4000_data *data, bool on);
> irqreturn_t (*irq_thread)(int irq, void *priv);
> irqreturn_t (*trig_buffer_func)(int irq, void *priv);

+ Blank line?

> + u8 int_reg;


--
With Best Regards,
Andy Shevchenko