Re: [PATCH 2/2] platform/x86: int3472: Handle GPIO types 0x02 and 0x12 for Lunar Lake

Andy Shevchenko
2026-04-04T19:55:44Z

On Sun, Apr 05, 2026 at 12:32:36AM +0530, Vasu wrote:

> Intel Lunar Lake platforms (Core Ultra 200V series) use two GPIO types
> in their INT3472 ACPI tables that are not handled by the discrete driver:
>
> - Type 0x02: Strobe GPIO, used for IR LED/flash control. Map to sensor.
> - Type 0x12: AVDD/sensor-supply GPIO, used on Lunar Lake to control
> sensor power. Treat like RESET/POWERDOWN and map to sensor.
>
> Without these handlers the driver logs:
>
> int3472-discrete INT3472:00: GPIO type 0x02 unknown; the sensor may not work
> int3472-discrete INT3472:00: GPIO type 0x12 unknown; the sensor may not work
>
> Type 0x12 handling was confirmed by inspecting the OEM kernel module for
> Ubuntu 24.04 (6.11.0-1016-oem) which handles this type by mapping it
> directly to the sensor via skl_int3472_fill_gpiod_lookup().
>
> Tested on: Dell Pro 14 Premium PA14250, Intel Core Ultra 7 266V
> (Lunar Lake), Ubuntu 24.04, kernel 6.11.0-1016-oem
> Camera confirmed working at 1280x720 30fps after fix.

STROBE is about to be added by another series. The 0x12 needs a proper define.

--
With Best Regards,
Andy Shevchenko