summaryrefslogtreecommitdiff
path: root/board/atlas/led.c
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2018-08-10 01:29:36 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-08-10 22:43:53 -0700
commit0e786a7cfe4e928bc87959a6674c6c583fc48bd0 (patch)
treeba67433ae8df3a87423396bc54a3de14e772c074 /board/atlas/led.c
parent664bbfb2fed69db6d28bf634d1efea9111c9e9a1 (diff)
downloadchrome-ec-0e786a7cfe4e928bc87959a6674c6c583fc48bd0.tar.gz
atlas: tune port LED colors for chassis
this tunes the RGB LEDs associated with the chassis USB-C ports to better match their expected colors and brightness. BUG=b:110505328 BRANCH=none TEST=visual inspection on actual atlas unit Change-Id: Ibe28924a025957136c80b173f138d7bc7d7607ca Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1170573 Commit-Ready: Caveh Jalali <caveh@google.com> Commit-Ready: caveh jalali <caveh@chromium.org> Tested-by: caveh jalali <caveh@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Caveh Jalali <caveh@google.com>
Diffstat (limited to 'board/atlas/led.c')
-rw-r--r--board/atlas/led.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/board/atlas/led.c b/board/atlas/led.c
index 85c1ef9214..b76c5e9a8f 100644
--- a/board/atlas/led.c
+++ b/board/atlas/led.c
@@ -20,12 +20,12 @@ const int supported_led_ids_count = ARRAY_SIZE(supported_led_ids);
/* We may not be using the blue channel long term. */
struct pwm_led led_color_map[EC_LED_COLOR_COUNT] = {
/* Red, Green, Blue */
- [EC_LED_COLOR_RED] = { 45, 0, 0 },
- [EC_LED_COLOR_GREEN] = { 0, 30, 0 },
- [EC_LED_COLOR_BLUE] = { 0, 0, 60 },
- [EC_LED_COLOR_YELLOW] = { 25, 15, 0 },
- [EC_LED_COLOR_WHITE] = { 30, 25, 25 },
- [EC_LED_COLOR_AMBER] = { 40, 5, 0 },
+ [EC_LED_COLOR_RED] = { 70, 0, 0 },
+ [EC_LED_COLOR_GREEN] = { 0, 35, 0 },
+ [EC_LED_COLOR_BLUE] = { 0, 0, 100 },
+ [EC_LED_COLOR_YELLOW] = { 55, 15, 0 },
+ [EC_LED_COLOR_WHITE] = { 50, 30, 15 },
+ [EC_LED_COLOR_AMBER] = { 65, 5, 0 },
};
/* Two tri-color LEDs with red, green, and blue channels. */