[PATCH v4 0/4] platform/x86: int3472: Add support for strobe LED (GPIO type 0x02)
From: Marco Nenciarini
Date: Fri Mar 27 2026 - 05:11:40 EST
Some ACPI INT3472 devices include a GPIO with DSM type 0x02, used for
IR flood (strobe) illumination, which is currently unhandled.
This series incrementally refactors the LED code and then adds strobe
support:
1/4: Rename pled to led (pure rename, no functional change)
2/4: Introduce local variable for LED struct access
3/4: Add LED type enum, lookup tables, and multi-LED support
4/4: Add strobe LED type (GPIO 0x02)
Changes in v4:
- Split into 4 patches as requested by Ilpo Jarvinen and Andy
Shevchenko (v3 was 2 patches)
- Patch 2/4: new patch extracting local variable refactor
- Patch 3/4: new patch for enum/multi-LED infrastructure
- Replaced switch-case with lookup tables for LED names and con_ids
as suggested by Andy Shevchenko
Changes in v3:
- Split into 2 patches as requested by Andy Shevchenko
- Patch 1/2: pure rename of pled to led (no functional change)
- Patch 2/2: add strobe type with enum, convert single LED member to
array to support devices with both privacy and strobe GPIOs
Marco Nenciarini (4):
platform/x86: int3472: Rename pled to led in LED registration code
platform/x86: int3472: Use local variable for LED struct access
platform/x86: int3472: Introduce LED type enum and multi-LED support
platform/x86: int3472: Add support for GPIO type 0x02 (strobe LED)
drivers/platform/x86/intel/int3472/discrete.c | 20 ++++-
drivers/platform/x86/intel/int3472/led.c | 76 ++++++++++++-------
include/linux/platform_data/x86/int3472.h | 19 ++++-
3 files changed, 82 insertions(+), 33 deletions(-)
--
2.47.3