Re: [PATCH 0/3] Add driver for Nicera D3-323-AA PIR sensor

From: Krzysztof Kozlowski
Date: Fri May 09 2025 - 11:11:05 EST


On 09/05/2025 17:03, Waqar Hameed wrote:
> Nicera D3-323-AA is a PIR sensor for human detection. It has support for
> raw data measurements and detection notification. The communication
> protocol is custom made and therefore needs to be GPIO bit banged.
>
> Previously, there has been an attempt to add a driver for this device
> [1]. However, that driver was written for the wrong sub-system. `hwmon`

So that's a v2. Mark your patches correctly.

> is clearly not a suitable framework for a proximity device.
>
> In this series, we add a driver for support for event notification for
> detections through IIO (the more appropriate sub-system!). The various
> settings have been mapped to existing `sysfs` ABIs in the IIO framework.
>
> The public datasheet [2] is quite sparse. A more detailed version can be
> obtained through the company.
>
> [1] https://lore.kernel.org/lkml/20241212042412.702044-2-Hermes.Zhang@xxxxxxxx/
Read the comments given in that review:
https://lore.kernel.org/lkml/wy7nyg3cztixe5y5rg4kbsbbly32h547hwumwwvrfme4fdgsj5@znfpypleebrb/

You repeated same mistakes, which means I did same review second time
which is waste of my time.

Best regards,
Krzysztof