|
|
Log in / Subscribe / Register

platform/x86: int3472: Add support for strobe LED (GPIO type 0x02)

From:  Marco Nenciarini <mnencia-AT-kcore.it>
To:  Daniel Scally <dan.scally-AT-ideasonboard.com>, Sakari Ailus <sakari.ailus-AT-linux.intel.com>, Hans de Goede <hansg-AT-kernel.org>, Ilpo Järvinen <ilpo.jarvinen-AT-linux.intel.com>
Subject:  [PATCH v3 0/2] platform/x86: int3472: Add support for strobe LED (GPIO type 0x02)
Date:  Wed, 25 Mar 2026 23:38:21 +0100
Message-ID:  <cover.1774477895.git.mnencia@kcore.it>
Cc:  Andy Shevchenko <andriy.shevchenko-AT-linux.intel.com>, platform-driver-x86-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, Marco Nenciarini <mnencia-AT-kcore.it>
Archive-link:  Article

Some ACPI INT3472 devices include a GPIO with DSM type 0x02, used for
IR flood (strobe) illumination, which is currently unhandled.

This series first renames the privacy LED code to generic LED naming,
then adds strobe support with an enum-driven switch that controls both
the LED name and whether a lookup is registered.

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 (2):
  platform/x86: int3472: Rename pled to led in LED registration code
  platform/x86: int3472: Add support for GPIO type 0x02 (strobe LED)

 drivers/platform/x86/intel/int3472/discrete.c | 18 ++++-
 drivers/platform/x86/intel/int3472/led.c      | 79 +++++++++++++------
 include/linux/platform_data/x86/int3472.h     | 19 ++++-
 3 files changed, 84 insertions(+), 32 deletions(-)

-- 
2.47.3




Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds