[PATCH v2 0/4] leds: flash: LM3643 dual LED flash driver
From: Rillian Grant
Date: Mon Sep 28 2026 - 05:49:28 EST
This series adds a flash LED driver for the Texas Instruments
LM3643. I wrote it to support the Windows Hello NIR illuminator on my
ThinkPad X9-15 Gen 1, which has a single LED connected to both current
sources. The driver has also been tested by Ruslan Koreev on a ThinkPad
X1 Carbon Gen 14.
On both ThinkPad models the chip is described by ACPI but has no _DSD.
The original RFC asked how to supply the missing child nodes. This
series includes DMI-matched software nodes for both laptop models.
1/4 DT binding
2/4 driver
3/4 DMI match table and values for the X1 Carbon
4/4 DMI entry for the X9-15 Gen 1
Changes in v2:
- Rebased onto leds/for-leds-next
- dt-bindings: make flash-max-microamp, led-max-microamp and
flash-max-timeout-us required
- driver: return device to standby state when the last output is
switched off (squashed fix provided by Ruslan Koreev)
- New 3/4: DMI mechanism and entry for the X1 Carbon developed by
Ruslan. Plus a minor update to provide a reg property for consistency
with the DT bindings.
- New 4/4: DMI entry for the X9-15 Gen 1 and update struct names to be
model-specific.
v1: https://lore.kernel.org/all/20260821083620.68324-1-rillian.grant@xxxxxxxxx/
Rillian Grant (3):
dt-bindings: leds: Document TI LM3643 dual LED flash driver
leds: flash: Add support for the TI LM3643 dual LED flash driver
leds: flash: lm3643: Describe the LED on the Lenovo ThinkPad X9-15 Gen
1
Ruslan Koreev (1):
leds: flash: lm3643: Describe the LED of ACPI boards without LED nodes
.../devicetree/bindings/leds/ti,lm3643.yaml | 129 +++
MAINTAINERS | 7 +
drivers/leds/flash/Kconfig | 12 +
drivers/leds/flash/Makefile | 1 +
drivers/leds/flash/leds-lm3643.c | 919 ++++++++++++++++++
5 files changed, 1068 insertions(+)
create mode 100644 Documentation/devicetree/bindings/leds/ti,lm3643.yaml
create mode 100644 drivers/leds/flash/leds-lm3643.c
base-commit: 05b4738b0078f7d6f154f68068a11c8a0635e9df
--
2.55.0