]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/chrome: cros_kbd_led_backlight: allow binding through MFD
authorThomas Weißschuh <linux@weissschuh.net>
Sun, 26 May 2024 18:17:17 +0000 (20:17 +0200)
committerLee Jones <lee@kernel.org>
Fri, 14 Jun 2024 09:09:40 +0000 (10:09 +0100)
commitbaa19b650794d58d01ec3ea03c63eb4ae0fa9d84
tree2ff30a4204254f052ed08a077342e7d1144f4994
parent6b0d3355e5a58fd73529fa6f930a877caca3f75d
platform/chrome: cros_kbd_led_backlight: allow binding through MFD

The ChromeOS EC used in Framework laptops supports the standard CrOS EC
keyboard backlight protocol.
However the firmware on these laptops doesn't implement the ACPI ID
GOOG0002 that is recognized by cros_kbd_led_backlight and they also
don't use device tree.

Prepare the existing cros_kbd_led_backlight driver to be probed through
the CrOS EC MFD device which works without ACPI or OF support.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Tzung-Bi Shih <tzungbi@kernel.org>
Link: https://lore.kernel.org/r/20240526-cros_ec-kbd-led-framework-v3-3-ee577415a521@weissschuh.net
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/platform/chrome/Kconfig
drivers/platform/chrome/cros_kbd_led_backlight.c