summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo-Tsai <leocx_tsai@compal.corp-partner.google.com>2019-08-26 09:54:02 +0800
committerCommit Bot <commit-bot@chromium.org>2019-08-27 17:24:28 +0000
commit86a0c5470620179f56d83a21e56c8c4db60bfdcc (patch)
treee4ddf3ea1c2944e828af203ccc608c5fc79a254d
parent3b56f0b080711a9180f21af730be836c0628441c (diff)
downloadchrome-ec-86a0c5470620179f56d83a21e56c8c4db60bfdcc.tar.gz
nami: add implicitly defined to support kblight
Sona support Keyboard backlight, So add implicitly defined to config.h BUG=b:139723503 TEST=Verify Sona can use keyboard backlight hotkey to change the brightness Change-Id: Iffd093e5ef0ea900961a0d1cb6a8992a2f0faf14 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1771097 Tested-by: LeoCX Tsai <leocx_tsai@compal.corp-partner.google.com> Tested-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-by: Elmo Lan <elmo_lan@compal.corp-partner.google.com> Commit-Queue: Daisuke Nojiri <dnojiri@chromium.org>
-rw-r--r--include/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index b04abeb07c..443f93d738 100644
--- a/include/config.h
+++ b/include/config.h
@@ -3912,6 +3912,10 @@
#undef CONFIG_CMD_ADC
#endif
+#ifdef CONFIG_PWM_KBLIGHT
+#define CONFIG_KEYBOARD_BACKLIGHT
+#endif
+
/*****************************************************************************/
/* Define derived Chipset configs */
#if defined(CONFIG_CHIPSET_APOLLOLAKE) || \