Re: [PATCH v8 4/4] platform/x86: int3472: Add support for GPIO type 0x02 (IR flood LED)

From: Andy Shevchenko

Date: Thu Apr 02 2026 - 09:12:48 EST


On Wed, Apr 01, 2026 at 10:36:38PM +0200, Marco Nenciarini wrote:
> Add support for GPIO type 0x02, which controls an IR flood LED used
> for face authentication on some laptops (e.g. Dell Pro Max 16 Premium).
>
> Without this patch, the kernel logs "GPIO type 0x02 unknown; the sensor
> may not work" and IR sensors paired with a flood LED cannot function.
>
> The flood LED is registered through the LED subsystem like the existing
> privacy LED, including a lookup entry to allow future consumer drivers
> to find and control it via led_get().
>
> To support multiple LEDs per INT3472 device, convert the single led
> struct member to an array with a counter.

Started looking really nice, thanks for the work done!
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

--
With Best Regards,
Andy Shevchenko