Re: [PATCH] platform/chrome: Add Chrome OS keyboard backlight LEDs support

From: Evan McClain
Date: Sat Mar 05 2016 - 11:49:21 EST


On Fri, 2016-03-04 at 17:23 -0800, Dmitry Torokhov wrote:
> This is a driver for ACPI-based keyboard backlight LEDs found on
> Chromebooks. The driver locates \\_SB.KBLT ACPI device and exports
> backlight as "chromeos::kbd_backlight" LED class device in sysfs.
>
> Signed-off-by: Simon Que <sque@xxxxxxxxxxxx>
> Signed-off-by: Duncan Laurie <dlaurie@xxxxxxxxxxxx>
> Signed-off-by: Dmitry Torokhov <dtor@xxxxxxxxxxxx>
> ---
>
> Changes form previous submission:
>
> - moved from drivers/leds to drivers/platform/chrome
> - added method to retrieve brightness from ACPI
> - renamed to cros_kbd_led_backlight
> - config option renamed to CROS_KBD_LED_BACKLIGHT
> - no longer setting initial brightness to max brightness (although on
> Â Pixel 1 - Link - ACPI initially reports 100 as brightness anyway)
>
> I ran this on Pixel 1; Evan, could you give it a spin on your Pixel
> 2?

Works fine here.

Thanks
--
Evan McClain
https://keybase.io/aeroevan

Attachment: signature.asc
Description: This is a digitally signed message part