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

From: Waqar Hameed
Date: Fri May 16 2025 - 13:15:06 EST


On Fri, May 09, 2025 at 17:09 +0200 Krzysztof Kozlowski <krzk@xxxxxxxxxx> wrote:

> 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.

I figured that since it was a complete rewrite (and from another
author), I'd start a new series. But I also understand your point.

To not confuse others, I'll mark the next one as V2 instead (if that's
fine with you).

>
>> 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.

I'm really sorry! I actually completely missed your response there.

Thank you again for reviewing! I know it's a lot of work sometimes...