diff options
author | Sue <sue.chen@quanta.corp-partner.google.com> | 2020-06-09 11:38:57 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-06-23 02:45:23 +0000 |
commit | baceadc0e81945b1ca0e58ae09d3d4724a991d40 (patch) | |
tree | be3303d6b9b802d8cafc45badef40b16cb73f648 /board/lazor/gpio.inc | |
parent | 01705adbfa51d14e986c76605c995b9ec2d42170 (diff) | |
download | chrome-ec-baceadc0e81945b1ca0e58ae09d3d4724a991d40.tar.gz |
Lazor: Modify LED behavior.
LED behavior:
Charging | Amber on (S0/S3/S5)
Full Charged | Blue on (S0/S3/S5)
Discharging S3 | Amber on 1 sec, off 3 sec
Discharging S5 | off
Error | Amber on 1 sec, off 1 sec
Discharging S0 | Blue on
Factory mode | Blue on 2 sec, Amber on 2 sec
BUG=b:158226994
BRANCH=none
TEST=make buildall -j; check led behavior in every state on Lazor
Change-Id: Ie654c64f8bb6bb6e364edc1b61009f97638e8f1a
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2235233
Reviewed-by: Alexandru M Stan <amstan@chromium.org>
Tested-by: Alexandru M Stan <amstan@chromium.org>
Commit-Queue: Alexandru M Stan <amstan@chromium.org>
Diffstat (limited to 'board/lazor/gpio.inc')
-rw-r--r-- | board/lazor/gpio.inc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/board/lazor/gpio.inc b/board/lazor/gpio.inc index dc08c9d17f..932423f72a 100644 --- a/board/lazor/gpio.inc +++ b/board/lazor/gpio.inc @@ -94,10 +94,8 @@ GPIO(USB_A_CDP_ILIM_EN, PIN(7, 5), GPIO_OUT_HIGH) /* H: CDP, L:SDP. Only on GPIO(USB_A0_OC_ODL, PIN(D, 1), GPIO_ODR_HIGH) /* LEDs */ -GPIO(EC_CHG_LED_Y_C0, PIN(6, 0), GPIO_OUT_LOW) /* NC in the schematic */ -GPIO(EC_CHG_LED_W_C0, PIN(C, 0), GPIO_OUT_LOW) /* NC in the schematic */ GPIO(EC_CHG_LED_Y_C1, PIN(C, 3), GPIO_OUT_LOW) -GPIO(EC_CHG_LED_W_C1, PIN(C, 4), GPIO_OUT_LOW) +GPIO(EC_CHG_LED_B_C1, PIN(C, 4), GPIO_OUT_LOW) /* PWM */ GPIO(KB_BL_PWM, PIN(8, 0), GPIO_INPUT) /* PWM3 */ |