Skip to contentSkip to conversation

LEDs for v7.2

GIT PULL Merged Lee Jones 2 participants 2 messages Jun 17 – Jun 18

lore
Share & tools
lore

Lee Jones

author
#0 lore raw

Good afternoon, Linus,

The following changes since commit 254f49634ee16a731174d2ae34bc50bd5f45e731:

Linux 7.1-rc1 (2026-04-26 14:19:00 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds.git leds-next-7.2

for you to fetch changes up to d43f1d792902ba0a53fd311bff2cf96095c7606d:

leds: tps6131x: Increase overvoltage protection threshold to 6V (2026-06-17 11:30:17 +0100)

----------------------------------------------------------------
LEDs for v7.2

- New Support & Features
- Samsung S2MU005: Add support for the Samsung S2MU005 PMIC which includes flash and RGB LED controllers
- Texas Instruments LP5812: Add support for the TI LP5812 LED driver
- Texas Instruments LP5860: Add support for the Texas Instruments LP5860 LED matrix driver via SPI

- Improvements & Fixes
- Core: Adjust the brightness sysfs node documentation to clarify that only decimal values are accepted
- Core: Fix a race condition in the software blink logic when stopping blinking and setting brightness simultaneously
- Core: Introduce the multi_max_intensity sysfs attribute for multicolor LEDs to support hardware-based global brightness control
- Core: Replace OF-based device lookup with firmware node equivalents to support ACPI and software nodes
- Core: Return ENODATA when reading brightness from hardware-controlled LEDs
- Core: Set the coherent DMA mask to zero for the Samsung PMIC device to suppress unnecessary "DMA mask not set" messages
- ams OSRAM AS3668: Fix a Kconfig symbol name mismatch in the Makefile that prevented the driver from being built
- BlinkM: Fix spelling and comment style issues in the driver
- DAC124S085: Declare the SPI command word as __le16 to ensure correct endianness and pass sparse checks
- GPIO Trigger: Use GPIOD_FLAGS_BIT_NONEXCLUSIVE to allow sharing GPIOs between the LED trigger and other drivers
- NXP PCA9532: Fix an issue where the LED would stop blinking when changing brightness to a non-zero value
- Qualcomm: Unify the user-visible company name to "Qualcomm" across flash LED config options
- Qualcomm LPG: Optimize memory allocation by combining main structure and channels into a single allocation using flexible array members
- Texas Instruments LP5860: Add missing CONFIG_OF dependency to prevent build warnings
- TI TPS6131x: Increase the overvoltage protection threshold to 6V to avoid false triggers with 5V input supplies
- Userspace LEDs (uLEDs): Fix a potential buffer overread by using strnchr() for name string validation
- Userspace LEDs (uLEDs): Return -EFAULT on copy_to_user() failure to properly handle read errors

- Cleanups & Refactoring
- Core: Convert various i2c_device_id arrays to use named initializers for improved robustness and readability
- Multi-color Core: Fix incorrect KernelVersion and Date tags for the multi_max_intensity ABI
- Broadcom BCM63138 / ChromeOS EC: Move MODULE_DEVICE_TABLE declarations next to the ID tables for consistency
- LP5812: Fix a sysfs ABI reference in the documentation
- ST1202: Remove an unused legacy GPIO header include

- Device Tree Binding Updates
- Class: Document the keyboard backlight LED class naming conventions, including a new scheme for zoned backlights
- Core: Dual-license the common LED bindings header under GPLv2 and BSD-2-Clause
- IR SPI LED: Add a new 30% duty-cycle value for the IR transmitter used in Xiaomi Redmi Note 8
- Samsung S2M series: Document the flash LED device bindings for Samsung S2M series PMICs
- Samsung S2M series: Document the pattern behavior for Samsung S2M series PMIC RGB LEDs
- Samsung S2MU005: Add device tree bindings for the S2MU005 PMIC, including its flash and RGB LED sub-devices
- TI LM3560: Document the TI LM3559 and LM3560 synchronous boost flash drivers

----------------------------------------------------------------
Alban Bedel (1):
leds: class: Use firmware nodes for device lookup

Andy Shevchenko (1):
leds: Adjust documentation of brightness sysfs node

Armin Wolf (3):
leds: Introduce the multi_max_intensity sysfs attribute
leds: uleds: Fix potential buffer overread
leds: Fix sysfs ABI date

Arnd Bergmann (1):
leds: Fix CONFIG_OF dependency for LEDS_LP5860_CORE

Biswapriyo Nath (1):
dt-bindings: leds: irled: ir-spi-led: Add new duty-cycle value

Carlos Ferreira (1):
Documentation: leds: leds-class: Document keyboard backlight LED class naming

Corvin Köhne (1):
dt-binding: leds: Publish common bindings under dual license

Craig McQueen (1):
leds: core: Fix race condition for software blink

Kaustabh Chakraborty (7):
dt-bindings: mfd: Add documentation for S2MU005 PMIC
mfd: sec: Add support for S2MU005 PMIC
mfd: sec: Set DMA coherent mask
dt-bindings: leds: Document Samsung S2M series PMIC flash LED device
leds: flash: Add support for Samsung S2M series PMIC flash LED device
leds: rgb: Add support for Samsung S2M series PMIC RGB LED device
Documentation: leds: Document pattern behavior of Samsung S2M series PMIC RGB LEDs

Krzysztof Kozlowski (2):
leds: qcom: Unify user-visible "Qualcomm" name
leds: bcm63138/cros_ec: Move MODULE_DEVICE_TABLE next to the table itself

Linus Walleij (1):
leds: st1202: Drop unused include

Matthias Fend (1):
leds: tps6131x: Increase overvoltage protection threshold to 6V

Piotr Kubik (1):
leds: trigger: gpio: Use GPIOD_FLAGS_BIT_NONEXCLUSIVE

Rosen Penev (1):
leds: qcom-lpg: Allocate channels with main struct

Sasha Levin (1):
leds: as3668: Fix Kconfig symbol name mismatch in Makefile

Steffen Trumtrar (1):
leds: Add support for TI LP5860 LED driver chip

Stepan Ionichev (2):
leds: blinkm: Fix spelling and comment style above lock acquire
leds: dac124s085: Declare SPI command word as __le16

Svyatoslav Ryhel (1):
dt-bindings: leds: Document TI LM3560 Synchronous Boost Flash Driver

Thomas Weißschuh (1):
leds: core: Report ENODATA for brightness of hardware controlled LED

Tobias Deiminger (1):
leds: pca9532: Don't stop blinking for non-zero brightness

Uwe Kleine-König (The Capable Hub) (1):
leds: Use named initializers for arrays of i2c_device_data

Xinhong Hu (1):
docs: leds: Fix sysfs ABI reference in lp5812.rst

Yousef Alhouseen (1):
leds: uleds: Return -EFAULT on copy_to_user() failure

 Documentation/ABI/testing/sysfs-class-led          |   4 +-
 .../ABI/testing/sysfs-class-led-multicolor         |  19 +-
 .../devicetree/bindings/leds/irled/ir-spi-led.yaml |   2 +-
 .../bindings/leds/samsung,s2mu005-flash.yaml       |  52 +++
 .../devicetree/bindings/leds/ti,lm3560.yaml        | 163 ++++++++
 .../bindings/mfd/samsung,s2mu005-pmic.yaml         | 120 ++++++
 Documentation/leds/index.rst                       |   1 +
 Documentation/leds/leds-class-multicolor.rst       |  21 +-
 Documentation/leds/leds-class.rst                  |  63 +++
 Documentation/leds/leds-lp5812.rst                 |   2 +-
 Documentation/leds/leds-s2m-rgb.rst                |  60 +++
 drivers/leds/Makefile                              |   2 +-
 drivers/leds/blink/leds-bcm63138.c                 |   2 +-
 drivers/leds/flash/Kconfig                         |  13 +-
 drivers/leds/flash/Makefile                        |   1 +
 drivers/leds/flash/leds-as3645a.c                  |   2 +-
 drivers/leds/flash/leds-lm3601x.c                  |   4 +-
 drivers/leds/flash/leds-s2m-flash.c                | 350 +++++++++++++++++
 drivers/leds/flash/leds-tps6131x.c                 |   2 +-
 drivers/leds/led-class-multicolor.c                |  47 ++-
 drivers/leds/led-class.c                           |  43 ++-
 drivers/leds/led-core.c                            |  33 +-
 drivers/leds/leds-an30259a.c                       |   2 +-
 drivers/leds/leds-as3668.c                         |   2 +-
 drivers/leds/leds-aw200xx.c                        |  10 +-
 drivers/leds/leds-bd2802.c                         |   2 +-
 drivers/leds/leds-blinkm.c                         |   7 +-
 drivers/leds/leds-cros_ec.c                        |   2 +-
 drivers/leds/leds-dac124s085.c                     |   2 +-
 drivers/leds/leds-is31fl319x.c                     |  22 +-
 drivers/leds/leds-is31fl32xx.c                     |  18 +-
 drivers/leds/leds-lm3530.c                         |   4 +-
 drivers/leds/leds-lm3532.c                         |   4 +-
 drivers/leds/leds-lm355x.c                         |   6 +-
 drivers/leds/leds-lm3642.c                         |   4 +-
 drivers/leds/leds-lm3692x.c                        |   4 +-
 drivers/leds/leds-lm3697.c                         |   2 +-
 drivers/leds/leds-lp3944.c                         |   4 +-
 drivers/leds/leds-lp3952.c                         |   4 +-
 drivers/leds/leds-lp50xx.c                         |  13 +-
 drivers/leds/leds-lp5521.c                         |   2 +-
 drivers/leds/leds-lp5523.c                         |   4 +-
 drivers/leds/leds-lp5562.c                         |   2 +-
 drivers/leds/leds-lp5569.c                         |   2 +-
 drivers/leds/leds-lp8501.c                         |   2 +-
 drivers/leds/leds-lp8860.c                         |   2 +-
 drivers/leds/leds-lp8864.c                         |   4 +-
 drivers/leds/leds-pca9532.c                        |  16 +-
 drivers/leds/leds-pca955x.c                        |  12 +-
 drivers/leds/leds-pca963x.c                        |   8 +-
 drivers/leds/leds-pca995x.c                        |   8 +-
 drivers/leds/leds-st1202.c                         |   3 +-
 drivers/leds/leds-tca6507.c                        |   2 +-
 drivers/leds/leds-tlc591xx.c                       |   6 +-
 drivers/leds/leds-turris-omnia.c                   |   2 +-
 drivers/leds/rgb/Kconfig                           |  36 ++
 drivers/leds/rgb/Makefile                          |   3 +
 drivers/leds/rgb/leds-ktd202x.c                    |   6 +-
 drivers/leds/rgb/leds-lp5860-core.c                | 234 +++++++++++
 drivers/leds/rgb/leds-lp5860-spi.c                 |  98 +++++
 drivers/leds/rgb/leds-lp5860.h                     | 268 +++++++++++++
 drivers/leds/rgb/leds-ncp5623.c                    |   4 +-
 drivers/leds/rgb/leds-qcom-lpg.c                   | 120 +++---
 drivers/leds/rgb/leds-s2m-rgb.c                    | 426 +++++++++++++++++++++
 drivers/leds/trigger/ledtrig-gpio.c                |   3 +-
 drivers/leds/uleds.c                               |  14 +-
 drivers/mfd/sec-common.c                           |  37 +-
 drivers/mfd/sec-i2c.c                              |  29 ++
 drivers/mfd/sec-irq.c                              |  73 ++++
 include/dt-bindings/leds/common.h                  |   2 +-
 include/linux/led-class-multicolor.h               |  30 +-
 include/linux/mfd/samsung/core.h                   |   1 +
 include/linux/mfd/samsung/irq.h                    |  66 ++++
 include/linux/mfd/samsung/s2mu005.h                | 332 ++++++++++++++++
 74 files changed, 2758 insertions(+), 217 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/leds/samsung,s2mu005-flash.yaml
 create mode 100644 Documentation/devicetree/bindings/leds/ti,lm3560.yaml
 create mode 100644 Documentation/devicetree/bindings/mfd/samsung,s2mu005-pmic.yaml
 create mode 100644 Documentation/leds/leds-s2m-rgb.rst
 create mode 100644 drivers/leds/flash/leds-s2m-flash.c
 create mode 100644 drivers/leds/rgb/leds-lp5860-core.c
 create mode 100644 drivers/leds/rgb/leds-lp5860-spi.c
 create mode 100644 drivers/leds/rgb/leds-lp5860.h
 create mode 100644 drivers/leds/rgb/leds-s2m-rgb.c
 create mode 100644 include/linux/mfd/samsung/s2mu005.h
Signature · 1 line
Lee Jones