mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
Gale: LED changes as per UX team feedback.
Colors and patters defined by UX team can be found at go/gale-hw-ui 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: I95ab1fa59b483396ff1498a28f1ee98ac08d02d7 Signed-off-by: Suresh Rajashekara <sureshraj@google.com> Reviewed-on: https://chromium-review.googlesource.com/387258 Commit-Ready: Suresh Rajashekara <sureshraj@chromium.org> Tested-by: Suresh Rajashekara <sureshraj@chromium.org> Reviewed-by: Christopher Book <cbook@chromium.org> Reviewed-by: Kan Yan <kyan@google.com>
This commit is contained in:
parent
4f04c06f46
commit
703559d5dd
1 changed files with 8 additions and 8 deletions
|
@ -125,13 +125,13 @@ row_blue: dw 0000000000000100b
|
||||||
ld rb, 2 # LED off duration
|
ld rb, 2 # LED off duration
|
||||||
mux_map_addr row_red
|
mux_map_addr row_red
|
||||||
loop:
|
loop:
|
||||||
ld rc, 180 ; red intensity
|
ld rc, 1 ; red intensity
|
||||||
set_pwm rc
|
set_pwm rc
|
||||||
mux_map_addr row_green
|
mux_map_addr row_green
|
||||||
ld rc, 80 ; green intensity
|
ld rc, 50 ; green intensity
|
||||||
set_pwm rc
|
set_pwm rc
|
||||||
mux_map_addr row_blue
|
mux_map_addr row_blue
|
||||||
ld rc, 0 ; blue intensity
|
ld rc, 155 ; blue intensity
|
||||||
set_pwm rc
|
set_pwm rc
|
||||||
wait1:
|
wait1:
|
||||||
wait 0.1
|
wait 0.1
|
||||||
|
@ -152,9 +152,9 @@ wait2:
|
||||||
*/
|
*/
|
||||||
static const uint8_t blink_wipeout1_text[] = {
|
static const uint8_t blink_wipeout1_text[] = {
|
||||||
0x00, 0x01, 0x00, 0x02, 0x00, 0x04, 0x90, 0x02,
|
0x00, 0x01, 0x00, 0x02, 0x00, 0x04, 0x90, 0x02,
|
||||||
0x94, 0x02, 0x9f, 0x80, 0x98, 180, 0x84, 0x62,
|
0x94, 0x02, 0x9f, 0x80, 0x98, 1, 0x84, 0x62,
|
||||||
0x9f, 0x81, 0x98, 80, 0x84, 0x62, 0x9f, 0x82,
|
0x9f, 0x81, 0x98, 50, 0x84, 0x62, 0x9f, 0x82,
|
||||||
0x98, 0, 0x84, 0x62, 0x4c, 0x00, 0x86, 0x2c,
|
0x98, 155, 0x84, 0x62, 0x4c, 0x00, 0x86, 0x2c,
|
||||||
0x40, 0x00, 0x9f, 0x81, 0x40, 0x00, 0x9f, 0x80,
|
0x40, 0x00, 0x9f, 0x81, 0x40, 0x00, 0x9f, 0x80,
|
||||||
0x40, 0x00, 0x4c, 0x00, 0x86, 0x49, 0xa0, 0x03,
|
0x40, 0x00, 0x4c, 0x00, 0x86, 0x49, 0xa0, 0x03,
|
||||||
0xc0, 0x00, 0xc0, 0x00, 0x00,
|
0xc0, 0x00, 0xc0, 0x00, 0x00,
|
||||||
|
@ -205,7 +205,7 @@ static const TiLp55231Program blink_recovery1_program = {
|
||||||
mux_map_addr row_blue
|
mux_map_addr row_blue
|
||||||
set_pwm 0h
|
set_pwm 0h
|
||||||
loop3: trigger w{1}
|
loop3: trigger w{1}
|
||||||
ramp 2, 255
|
ramp 2, 155
|
||||||
end
|
end
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -213,7 +213,7 @@ static const uint8_t fade_in1_text[] = {
|
||||||
0x00, 0x01, 0x00, 0x02, 0x00, 0x04, 0x9f, 0x80,
|
0x00, 0x01, 0x00, 0x02, 0x00, 0x04, 0x9f, 0x80,
|
||||||
0x40, 0x01, 0xe0, 0x0c, 0xc0, 0x00, 0x9f, 0x81,
|
0x40, 0x01, 0xe0, 0x0c, 0xc0, 0x00, 0x9f, 0x81,
|
||||||
0x40, 0x00, 0xe0, 0x80, 0x46, 0x32, 0xc0, 0x00,
|
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,
|
0xc0, 0x00, 0x00,
|
||||||
};
|
};
|
||||||
static const TiLp55231Program fade_in1_program = {
|
static const TiLp55231Program fade_in1_program = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue