summaryrefslogtreecommitdiff
path: root/board/voxel/board.h
diff options
context:
space:
mode:
authorBen Chen <ben.chen2@quanta.corp-partner.google.com>2021-02-01 18:46:44 +0800
committerCommit Bot <commit-bot@chromium.org>2021-02-03 01:13:41 +0000
commit699a10d6818f2b8bb5eb8c918d9dd5f12d461a40 (patch)
tree6e7618ffcc94913946ae9f02110fba5654b1bf90 /board/voxel/board.h
parentefa46d4f82c9f59acad3d49e1a2901952fa1a75a (diff)
downloadchrome-ec-699a10d6818f2b8bb5eb8c918d9dd5f12d461a40.tar.gz
voxel: Add keyboard backlight support by FW_CONFIG
switch keyboard backlight enable/disable by fw_config BIT14 BUG=b:162632407 BRANCH=none TEST=Set FW_CONFIG to 0x4000 and make sure "ectool inventory" had keyboard backlight present. Change-Id: I766b5179340c155a98fb854bba66e93f820d1e6b Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2662935 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/voxel/board.h')
-rw-r--r--board/voxel/board.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/voxel/board.h b/board/voxel/board.h
index d0dbc111c2..f0ee8fe860 100644
--- a/board/voxel/board.h
+++ b/board/voxel/board.h
@@ -44,6 +44,10 @@
/* Keyboard features */
+/* Keyboard backliht */
+#define CONFIG_PWM
+#define CONFIG_PWM_KBLIGHT
+
/* Sensors */
#define CONFIG_DYNAMIC_MOTION_SENSOR_COUNT
/* BMI160 Base accel/gyro */