summaryrefslogtreecommitdiff
path: root/drivers/platform/chrome/wilco_ec/Kconfig
diff options
context:
space:
mode:
authorDaniel Campello <campello@chromium.org>2019-11-06 09:33:19 -0700
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>2019-11-19 18:12:19 +0100
commit119a3cb6d687259f2be333351c1c5d634204e68b (patch)
tree89b13f1f278e731f16dd953e406ce0796aa00fe2 /drivers/platform/chrome/wilco_ec/Kconfig
parent3c4d77b68928df6c2bf07f4c3ba8e5d5e490bf4e (diff)
platform/chrome: wilco_ec: Add keyboard backlight LED support
The EC is in charge of controlling the keyboard backlight on the Wilco platform. We expose a standard LED class device named platform::kbd_backlight. Since the EC will never change the backlight level of its own accord, we don't need to implement a brightness_get() method. Signed-off-by: Nick Crews <ncrews@chromium.org> Signed-off-by: Daniel Campello <campello@chromium.org> Reviewed-by: Daniel Campello <campello@chromium.org> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Diffstat (limited to 'drivers/platform/chrome/wilco_ec/Kconfig')
-rw-r--r--drivers/platform/chrome/wilco_ec/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/chrome/wilco_ec/Kconfig b/drivers/platform/chrome/wilco_ec/Kconfig
index 89007b0bc743..365f30e116ee 100644
--- a/drivers/platform/chrome/wilco_ec/Kconfig
+++ b/drivers/platform/chrome/wilco_ec/Kconfig
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
config WILCO_EC
tristate "ChromeOS Wilco Embedded Controller"
- depends on ACPI && X86 && CROS_EC_LPC
+ depends on ACPI && X86 && CROS_EC_LPC && LEDS_CLASS
help
If you say Y here, you get support for talking to the ChromeOS
Wilco EC over an eSPI bus. This uses a simple byte-level protocol