summaryrefslogtreecommitdiff
path: root/board/woomax/board.h
diff options
context:
space:
mode:
authorMichael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>2020-07-06 14:20:41 +0800
committerCommit Bot <commit-bot@chromium.org>2020-07-07 06:37:41 +0000
commitc9b9ebe60244a8ce591088e17aa8116f6c926a3c (patch)
treef79fad43a95481e823aef67132b0ba1c19240fb6 /board/woomax/board.h
parent94ff39b6e02e00882aeea8d2f5e1a417ffe00262 (diff)
downloadchrome-ec-c9b9ebe60244a8ce591088e17aa8116f6c926a3c.tar.gz
woomax: Implement the EC LED code.
Implement the EC LED code dependent on spec. BUG=b:160542345 BRANCH=master TEST=manual 1. Check battery LED on full charging / Charging / Discharging. 2. Check power LED on S0/suspend/S5. 3. Check "ectool led" command for battery and power LED control. Signed-off-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com> Change-Id: Ibbb5b97a368805267a28f0da6ec7c9684a2ce3bc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2280869 Reviewed-by: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'board/woomax/board.h')
-rw-r--r--board/woomax/board.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/woomax/board.h b/board/woomax/board.h
index 3152d09b78..13bc5da030 100644
--- a/board/woomax/board.h
+++ b/board/woomax/board.h
@@ -25,6 +25,8 @@
#define CONFIG_USBC_RETIMER_PI3DPX1207
#define CONFIG_MKBP_USE_GPIO
+#define CONFIG_LED_POWER_LED
+
/* Motion sensing drivers */
#define CONFIG_ACCELGYRO_BMI160
#define CONFIG_ACCELGYRO_BMI160_INT_EVENT \