Thread (19 messages) flat view 19 messages, 2 authors, 11h ago

Re: (subset) [PATCH v7 00/13] leds: Add support for hardware-initiated hardware control trigger transition

From: Lee Jones <lee@kernel.org>
Date: 2026-09-24 12:25:34
Also in: chrome-platform, linux-doc, linux-leds, lkml, platform-driver-x86

On Mon, 21 Sep 2026 03:40:14 +0800, Rong Zhang wrote:
Some laptops can tune their keyboard backlight according to ambient
light sensors (auto mode). This capability is essentially a hardware
control trigger. Meanwhile, such laptops also offer a shrotcut for
cycling through brightness levels and auto mode. For example, on
ThinkBook, pressing Fn+Space ("shortcut") cycles keyboard backlight
levels in the following sequence:

[...]
Applied, thanks!

[01/13] leds: class: Always protect brightness_show() with led_access
        commit: 6887f40dadb5a263de1d9e4b5517400c08089d35
[02/13] leds: trigger: Move led_trigger_is_hw_controlled() to the right place
        commit: 7879d6277485697cf37eb3c1b89ce260d8c67e4f
[03/13] leds: class: Remove hardware control trigger when writing brightness
        commit: 96b4ddd6d2d8c645d672f1f26130685d9f40cf2f
[04/13] leds: trigger: Move led_trigger_group to the right place
        commit: 43b83e7462e8e9b96e14262c0b6aa739f01c38f7
[05/13] leds: trigger: Add hw_offloaded() callback and provide trigger_may_offload_to_hw attribute
        commit: 8e04e5382aa989ae9a36dc0cb3f3c90347d5607f
[06/13] leds: cros_ec: Implement hw_offloaded() trigger callback
        commit: b366a50d39d13f8230f959b457abcaeba1e7d121
[07/13] leds: turris-omnia: Implement hw_offloaded() trigger callback and declare hw_control_trigger
        commit: f5005c7cec7d4cff58f25442ed6dfca56e42b16d
[08/13] leds: trigger: netdev: Implement hw_offloaded() callback
        commit: 072e0e799bc6b3909afc8fd7fac750b31e37b438
[09/13] leds: trigger: Enforce strict checks in led_trigger_is_hw_controlled()
        commit: 7b9a609575615a3ba18a31a95282e756e34bd506
[10/13] leds: trigger: Add led_trigger_notify_hw_control_changed() interface
        commit: 05b4738b0078f7d6f154f68068a11c8a0635e9df

--
Lee Jones [李琼斯]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help