[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZHtGAn8ZF_fhgNQn@surfacebook>
Date: Sat, 3 Jun 2023 16:54:10 +0300
From: andy.shevchenko@...il.com
To: Astrid Rost <astrid.rost@...s.com>
Cc: Jonathan Cameron <jic23@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel@...s.com,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>,
Mathieu Othacehe <m.othacehe@...il.com>
Subject: Re: [PATCH v5 0/7] iio: light: vcnl4000: Add features for
vncl4040/4200
Tue, May 30, 2023 at 04:23:58PM +0200, Astrid Rost kirjoitti:
> Add a more complete support for vncl4040 and vcnl4200, which allows to
> change the distance of proximity detection and interrupt support for the
> illuminance sensor.
>
> Proximity functionality:
> - Interrupt support (new on vcnl4200).
>
> Proximity reduce the amount of interrupts:
> - Adaptable integration time (new on vcnl4200) - the sampling rate
> changes according to this value.
> - Period - interrupt is asserted if the value is above or
> below a certain threshold.
>
> Proximity change the activity distance:
> - Oversampling ratio - Amount of LED pulses per measured raw value.
> - Calibration bias - LED current calibration of the sensor.
>
> Illuminance functionality:
> - Interrupt support.
>
> Illuminance reduce the amount of interrupts:
> - Adaptable integration time - the sampling rate and scale changes
> according to this value.
> - Period – interrupt is asserted if the value is above or
> below a certain threshold.
It's a good work, thank you for doing it!
But it has a lot of small style and inconsistent issues. They are not major
per se, but since there is more than 3, it makes sense to address. Also check
if you can split your patches to two or three where it makes sense.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists