diff options
author | Suresh Rajashekara <sureshraj@google.com> | 2016-09-19 17:43:25 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2016-10-06 21:51:56 +0200 |
commit | c3e85139e6219719c05dfedd9ceb777932fd17c7 (patch) | |
tree | 407d9c1f65b9b9ab7d8a84c1f83a74e798cd7889 /src/drivers/i2c | |
parent | 737a7cc9f13e6c2939d7fd80716e33a729fc3ca5 (diff) | |
download | coreboot-c3e85139e6219719c05dfedd9ceb777932fd17c7.tar.xz |
i2c/ww_ring: LED changes as per UX team feedback.
Colors and patterns as defined by the UX team
BUG=b:31501528
TEST=Move the device to different states in FW using rec and dev
button and verify the colors
BRANCH=None
Change-Id: I66d41a54590cd3ce4e5202c7cfa890f462fe195e
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 703559d5dddaeeb7d435d6cadbb2009a1b7a76c8
Original-Change-Id: I95ab1fa59b483396ff1498a28f1ee98ac08d02d7
Original-Signed-off-by: Suresh Rajashekara <sureshraj@google.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/387258
Original-Commit-Ready: Suresh Rajashekara <sureshraj@chromium.org>
Original-Tested-by: Suresh Rajashekara <sureshraj@chromium.org>
Original-Reviewed-by: Christopher Book <cbook@chromium.org>
Original-Reviewed-by: Kan Yan <kyan@google.com>
Reviewed-on: https://review.coreboot.org/16718
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/drivers/i2c')
-rw-r--r-- | src/drivers/i2c/ww_ring/ww_ring_programs.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/drivers/i2c/ww_ring/ww_ring_programs.c b/src/drivers/i2c/ww_ring/ww_ring_programs.c index 5b0c8a8d52..fb74a1b32b 100644 --- a/src/drivers/i2c/ww_ring/ww_ring_programs.c +++ b/src/drivers/i2c/ww_ring/ww_ring_programs.c @@ -125,13 +125,13 @@ row_blue: dw 0000000000000100b ld rb, 2 # LED off duration mux_map_addr row_red loop: - ld rc, 180 ; red intensity + ld rc, 1 ; red intensity set_pwm rc mux_map_addr row_green - ld rc, 80 ; green intensity + ld rc, 50 ; green intensity set_pwm rc mux_map_addr row_blue - ld rc, 0 ; blue intensity + ld rc, 155 ; blue intensity set_pwm rc wait1: wait 0.1 @@ -152,9 +152,9 @@ wait2: */ static const uint8_t blink_wipeout1_text[] = { 0x00, 0x01, 0x00, 0x02, 0x00, 0x04, 0x90, 0x02, - 0x94, 0x02, 0x9f, 0x80, 0x98, 180, 0x84, 0x62, - 0x9f, 0x81, 0x98, 80, 0x84, 0x62, 0x9f, 0x82, - 0x98, 0, 0x84, 0x62, 0x4c, 0x00, 0x86, 0x2c, + 0x94, 0x02, 0x9f, 0x80, 0x98, 1, 0x84, 0x62, + 0x9f, 0x81, 0x98, 50, 0x84, 0x62, 0x9f, 0x82, + 0x98, 155, 0x84, 0x62, 0x4c, 0x00, 0x86, 0x2c, 0x40, 0x00, 0x9f, 0x81, 0x40, 0x00, 0x9f, 0x80, 0x40, 0x00, 0x4c, 0x00, 0x86, 0x49, 0xa0, 0x03, 0xc0, 0x00, 0xc0, 0x00, 0x00, @@ -205,7 +205,7 @@ static const TiLp55231Program blink_recovery1_program = { mux_map_addr row_blue set_pwm 0h loop3: trigger w{1} - ramp 2, 255 + ramp 2, 155 end */ @@ -213,7 +213,7 @@ static const uint8_t fade_in1_text[] = { 0x00, 0x01, 0x00, 0x02, 0x00, 0x04, 0x9f, 0x80, 0x40, 0x01, 0xe0, 0x0c, 0xc0, 0x00, 0x9f, 0x81, 0x40, 0x00, 0xe0, 0x80, 0x46, 0x32, 0xc0, 0x00, - 0x9f, 0x82, 0x40, 0x00, 0xe0, 0x80, 0x20, 0xff, + 0x9f, 0x82, 0x40, 0x00, 0xe0, 0x80, 0x34, 0x9B, 0xc0, 0x00, 0x00, }; static const TiLp55231Program fade_in1_program = { |