On Fri, 2016-01-08 at 11:49 -0800, Simon Que wrote: > Some Chrome OS devices use ACPI-based keyboard backlight LEDs. > > Signed-off-by: Simon Que <sque@xxxxxxxxxxxx> > --- > drivers/leds/Kconfig | 7 +++ > drivers/leds/Makefile | 1 + > drivers/leds/leds-chromeos-keyboard.c | 115 > ++++++++++++++++++++++++++++++++++ > 3 files changed, 123 insertions(+) > create mode 100644 drivers/leds/leds-chromeos-keyboard.c > > diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig > index 72156c1..4b64e80 100644 > --- a/drivers/leds/Kconfig > +++ b/drivers/leds/Kconfig > @@ -5,6 +5,13 @@ config LEDS_GPIO_REGISTER > As this function is used by arch code it must not be > compiled as a > module. > > +config LEDS_CHROMEOS_KEYBOARD > + tristate "LED support for Chrome OS keyboards" > + depends on LEDS_CLASS && ACPI > + help > + This option enables support for the LEDs on Chrome OS > keyboards. > + Say Y to enable keyboard LEDs on Chrome OS systems. > + > menuconfig NEW_LEDS > bool "LED Support" > help This config option should be in the NEW_LEDS menu. And it probably shouldn't get merged until: https://chromium.googlesource.com/chromiumos/third_party/kernel/+/85142 c8507ec367b2283ad2398aa7fc6d8ec1765 is also submitted. Thanks -- Evan McClain https://keybase.io/aeroevan
Attachment:
signature.asc
Description: This is a digitally signed message part