]> git.ipfire.org Git - thirdparty/linux.git/commit
mfd: cros_ec: Register keyboard backlight subdevice
authorThomas Weißschuh <linux@weissschuh.net>
Sun, 26 May 2024 18:17:18 +0000 (20:17 +0200)
committerLee Jones <lee@kernel.org>
Fri, 14 Jun 2024 09:09:40 +0000 (10:09 +0100)
commit970c3a6b7aa3c68ccdf5af2562c3d39533dd62a9
tree530d821f8138ffa89560060964badf9957762236
parentbaa19b650794d58d01ec3ea03c63eb4ae0fa9d84
mfd: cros_ec: Register keyboard backlight subdevice

Load cros_kbd_led_backlight when the EC reports EC_FEATURE_PWM_KEYB.
This makes cros_kbd_led_backlight work on machines without specific
ACPI or OF support for the keyboard backlight.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20240526-cros_ec-kbd-led-framework-v3-4-ee577415a521@weissschuh.net
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/cros_ec_dev.c