Skip to content

platform/chrome: cros_kbd_led_backlight: Automatically enable keyboard backlight control if feature present in EC

Stephen Horvath chrome-platform lkml 1 version New

Get series with b4
b4 am SY4P282MB3063CE4FBC166A68EDA40054C5312@SY4P282MB3063.AUSP282.PROD.OUTLOOK.COM

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] platform/chrome: cros_kbd_led_backlight: Automatically enable keyboard backlight control if feature present in EC

The keyboard backlight control is not enabled by default on all devices with a Chromium EC, e.g. my Framework 13. This patch series enables it if the feature is present in the EC, instead of relying on of_match_tables or whatever.

These patches are tested and working on my Framework 13, and KDE's keyboard brightness slider even works. It's also gone though a couple of reboot & sleep cycles without issue.

Also this is my first time submitting a patch to the kernel, and I'm keen to do more, so please let me know if I've done anything wrong.

Thanks,
Steve

Stephen Horvath (2):
platform/chrome: cros_kbd_led_backlight: Automatically enable keyboard
backlight control if feature present in EC
platform/chrome: cros_kbd_led_backlight: Remove obsolete commands
(EC_CMD_PWM_*_KEYBOARD_BACKLIGHT)

 drivers/mfd/cros_ec_dev.c                     |  9 +++
 .../platform/chrome/cros_kbd_led_backlight.c  | 62 ++++++++++---------
 2 files changed, 43 insertions(+), 28 deletions(-)
Signature · 1 line
2.43.0