summaryrefslogtreecommitdiff
path: root/board/drawcia/board.h
diff options
context:
space:
mode:
authorDevin Lu <Devin.Lu@quantatw.com>2020-07-07 11:37:30 +0800
committerCommit Bot <commit-bot@chromium.org>2020-07-21 06:53:47 +0000
commita557e434e3748d2febcf6de9acccfb8ec520289e (patch)
treefd8193d06b25fc2fbcca232bff4476cb83b4272c /board/drawcia/board.h
parenteda8f40a9886eb209cf93c5f959ab0e46594e620 (diff)
downloadchrome-ec-a557e434e3748d2febcf6de9acccfb8ec520289e.tar.gz
drawcia: implement leds
Charging: Amber. Discharging: Off. Fully: White. Battery Error: Blinking white (0.5 sec on, 0.5 sec off) Fuel <10%: Blinking white (1 sec on, 1 sec off) Force idle for factory: Blinking amber (1 sec on, 1 sec off) System suspend without charging (Clamshell SKU): Blinking white (1 sec on, 1 sec off) BUG=none BRANCH=none TEST=make sure led is showing amber while battery is charging. make sure led is showing white while battery is fully charged. make sure led is blinking white while battery low. make sure led is blinking white on suspend without charging. make sure led is blinking white quickly while battery error. Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: Iaba98c96bec1c1b9c0c66b01ba99c2c07e50008e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2289330 Reviewed-by: Marco Chen <marcochen@chromium.org>
Diffstat (limited to 'board/drawcia/board.h')
-rw-r--r--board/drawcia/board.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/board/drawcia/board.h b/board/drawcia/board.h
index 5386b518c9..5352fc6cb8 100644
--- a/board/drawcia/board.h
+++ b/board/drawcia/board.h
@@ -31,10 +31,6 @@
#define CONFIG_CHARGER_OTG
#undef CONFIG_CHARGER_SINGLE_CHIP
-/* LED */
-#define CONFIG_LED_PWM
-#define CONFIG_LED_PWM_COUNT 1
-
/* Sensors */
#define CONFIG_ACCEL_LIS2DE /* Lid accel */
#define CONFIG_ACCELGYRO_LSM6DSM /* Base accel */
@@ -94,9 +90,6 @@ enum chg_id {
enum pwm_channel {
PWM_CH_KBLIGHT,
- PWM_CH_LED_RED,
- PWM_CH_LED_GREEN,
- PWM_CH_LED_BLUE,
PWM_CH_COUNT,
};