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