From fc746805055f82313f2fafce5bc84e53defd311a Mon Sep 17 00:00:00 2001 From: "reno.wang" Date: Sat, 17 Apr 2021 14:10:08 +0800 Subject: 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 Change-Id: I7f7e1cac1f7361c5c21497a0cc4c1ff2763873bf Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2833031 Reviewed-by: Zhuohao Lee Reviewed-by: Keith Short Commit-Queue: Keith Short (cherry picked from commit d05df43def60bd1e1be060208c2df948a6ccdaee) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2847704 Commit-Queue: Zhuohao Lee --- board/lindar/led.c | 4 ++-- 1 file 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 } }; -- cgit v1.2.1