summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorreno.wang <reno.wang@lcfc.corp-partner.google.com>2021-04-17 14:10:08 +0800
committerCommit Bot <commit-bot@chromium.org>2021-04-23 02:21:22 +0000
commitfc746805055f82313f2fafce5bc84e53defd311a (patch)
treece04138ac2b49713a93d88044bf1c13d85b09b05
parent1944a6f6c33bdab77a89a19f1137e6c5cb7239a7 (diff)
downloadchrome-ec-fc746805055f82313f2fafce5bc84e53defd311a.tar.gz
Lindar: Update lightbar 10-led cfg
Based on b:183826778's comment#17 and comment18 information to update lightbar 10-led cfg setting. The final placement adopt lightbar circuit's LED9 and LED10 which connect to KTD2061's LEDC1 and and LEDC2, not adopt LED11 and LED12 which connect to LEDC3 and LEDC4. BUG=b:183826778 BRANCH=volteer TEST=make -j BOARD=lindar Signed-off-by: reno.wang <reno.wang@lcfc.corp-partner.google.com> Change-Id: I7f7e1cac1f7361c5c21497a0cc4c1ff2763873bf Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2833031 Reviewed-by: Zhuohao Lee <zhuohao@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org> (cherry picked from commit d05df43def60bd1e1be060208c2df948a6ccdaee) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2847704 Commit-Queue: Zhuohao Lee <zhuohao@chromium.org>
-rw-r--r--board/lindar/led.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/lindar/led.c b/board/lindar/led.c
index 3a0c8c55be..c59b95216a 100644
--- a/board/lindar/led.c
+++ b/board/lindar/led.c
@@ -388,12 +388,12 @@ const uint8_t lightbar_10_led_cfg[LIGHTBAR_COLOR_TOTAL][KTD20XX_TOTOAL_REG] = {
[BAR_COLOR_GRN_FULL] = {
0x00, 0x00, ENABLE_LIGHTBAR,
GRN_I_ON, I_OFF, I_OFF, I_OFF, I_OFF, I_OFF,
- SEL_BOTH, SEL_BOTH, SEL_BOTH, SEL_BOTH, SEL_OFF, SEL_BOTH
+ SEL_BOTH, SEL_BOTH, SEL_BOTH, SEL_BOTH, SEL_BOTH, SEL_OFF
},
[BAR_COLOR_ORG_FULL] = {
0x00, 0x00, ENABLE_LIGHTBAR,
I_OFF, ORG_I_ON, I_OFF, I_OFF, I_OFF, I_OFF,
- SEL_BOTH, SEL_BOTH, SEL_BOTH, SEL_BOTH, SEL_OFF, SEL_BOTH
+ SEL_BOTH, SEL_BOTH, SEL_BOTH, SEL_BOTH, SEL_BOTH, SEL_OFF
}
};