Re: [PATCH v5 0/4] platform/x86: int3472: Add support for GPIO type 0x02 (strobe)
From: johannes . goede
Date: Wed Apr 01 2026 - 14:49:48 EST
Hi,
On 1-Apr-26 19:13, Marco Nenciarini wrote:
> On 01-Apr-26 15:38, johannes.goede@xxxxxxxxxxxxxxxx wrote:
>> TL;DR: my proposal is:
>>
>> 1. Name the new LED classdev ir_flood[_led] including
>> adding an "ir_flood" LED lookup with the sensor as
>> consuming device of the LED.
>>
>> 2. Make v4l2-core turn the ir_flood on automatically while
>> streaming, just like it does for a "privacy" LED currently
>> (mostly re-using the existing privacy LED code).
>>
>> 3. If in the future userspace needs more fine-grained control
>> at a ir_flood V4L2 menu control on the sensor with
>> auto/on/off values, defaulting to auto which preserves
>> the behavior from 2.
>
> This plan sounds good to me.
>
> I have a v8 ready that addresses your feedback on patch 4/4: the LED
> lookup is now always registered (for ir_flood too), removing the type
> parameter and the conditional switch-case. Shall I go ahead and send it?
Since Andy indicated he is ok with that approach, yes please
submit v8 and then this should be ready for merging.
Regards,
Hans