Yuji Sasaki has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/34711 )
Change subject: TEMP: NOT FOR REVIEW: google/mistral: LED Pattern change ......................................................................
TEMP: NOT FOR REVIEW: google/mistral: LED Pattern change
LED Pattern and timing change, requested from UI design team.
WWR_RECOVERY_PUSHED: Bright White -> Fast Blink Yellow
WWR_WIPEOUT_REQUEST: Solid Yellow -> Fast Blink Yellow after 3 second brank 8seconds -> 22 seconds
WWR_RECOVERY_REQUEST: Blink Yellow -> Blink Red
BUG=b:138850607 TEST=Run on DUT, verify LED pattern Signed-off-by: Yuji Sasaki sasakiy@chromium.org Change-Id: Ibd426162f18aefae79cb390cc0c4e44de6cb6f6e --- M src/drivers/i2c/lp5562/led_lp5562_programs.c M src/mainboard/google/mistral/chromeos.c 2 files changed, 247 insertions(+), 59 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/11/34711/1
diff --git a/src/drivers/i2c/lp5562/led_lp5562_programs.c b/src/drivers/i2c/lp5562/led_lp5562_programs.c index 9c698ca..8bd2366 100644 --- a/src/drivers/i2c/lp5562/led_lp5562_programs.c +++ b/src/drivers/i2c/lp5562/led_lp5562_programs.c @@ -88,67 +88,59 @@ } };
-static uint8_t solid_FF_b_text[] = { - 0x40, 255, 0xc0, 0x00, -}; - -static uint8_t solid_FF_g_text[] = { - 0x40, 255, 0xc0, 0x00 -}; - -static uint8_t solid_FF_r_text[] = { - 0x40, 255, 0xc0, 0x00 -}; - -static TiLp5562Program solid_FFFFFF_program = { - { - { /* Engine1:Blue */ - solid_FF_b_text, - sizeof(solid_FF_b_text), - 0, - LED_LP5562_DEFAULT_CURRENT - }, - { /* Engine2:Green */ - solid_FF_g_text, - sizeof(solid_FF_g_text), - 0, - LED_LP5562_DEFAULT_CURRENT - }, - { /* Engine3:Red */ - solid_FF_r_text, - sizeof(solid_FF_r_text), - 0, - LED_LP5562_DEFAULT_CURRENT - }, - } -}; - /* * fdr_press1.src * 1 00 .ENGINE1(B) 2 00 4000 set_pwm 0 - 3 01 C000 end - 4 - 5 10 .ENGINE2(G) - 6 10 40CC set_pwm 204 - 7 11 C000 end - 8 - 9 20 .ENGINE3(R) - 10 20 40FF set_pwm 255 - 11 21 C000 end + 3 loop1_1: + 4 01 E208 trigger w3,s3 + 5 02 4000 set_pwm 0 + 6 03 4000 set_pwm 0 + 7 04 E208 trigger w3,s3 + 8 05 4000 set_pwm 0 + 9 06 4000 set_pwm 0 + 10 07 A001 branch 0, loop1_1 + 11 + 12 10 .ENGINE2(G) + 13 10 4000 set_pwm 0 + 14 loop2_1: + 15 11 E208 trigger w3,s3 + 16 12 0565 ramp 250, 102 + 17 13 0565 ramp 250, 102 + 18 14 E208 trigger w3,s3 + 19 15 05E5 ramp 250, -102 + 20 16 05E5 ramp 250, -102 + 21 17 A011 branch 0,loop2_1 + 22 + 23 20 .ENGINE3(R) + 24 20 4000 set_pwm 0 + 25 loop3_1: + 26 21 E186 trigger s21,w21 + 27 22 047E ramp 250, 127 + 28 23 047F ramp 250, 128 + 29 24 E186 trigger s21,w21 + 30 25 04FE ramp 250, -127 + 31 26 04FF ramp 250, -128 + 32 27 A021 branch 0,loop3_1 */
+/* WWR_RECOVERY_PUSHED */ +/* Fast Blinking Yellow */ +/* Ramp up to (255,204,0) in 0.5sec, ramp down to (0,0,0) in 0.5sec */ static uint8_t fdr_press1_b_text[] = { - 0x40, 0, 0xc0, 0x00, + 0x40, 0x00, 0xE2, 0x08, 0x40, 0x00, 0x40, 0x00, + 0xE2, 0x08, 0x40, 0x00, 0x40, 0x00, 0xA0, 0x01, };
static uint8_t fdr_press1_g_text[] = { - 0x40, 204, 0xc0, 0x00 + 0x40, 0x00, 0xE2, 0x08, 0x05, 0x65, 0x05, 0x65, + 0xE2, 0x08, 0x05, 0xE5, 0x05, 0xE5, 0xA0, 0x11, };
static uint8_t fdr_press1_r_text[] = { - 0x40, 255, 0xc0, 0x00 + 0x40, 0x00, 0xE1, 0x86, 0x04, 0x7E, 0x04, 0x7F, + 0xE1, 0x86, 0x04, 0xFE, 0x04, 0xFF, 0xA0, 0x21, };
static TiLp5562Program fdr_press1_program = { @@ -175,6 +167,88 @@ };
/* + * wipeout_request1.src + * + 1 00 .ENGINE1(B) + 2 00 4000 set_pwm 0 + 3 loop1_1: + 4 01 E208 trigger w3,s3 + 5 02 4000 set_pwm 0 + 6 03 4000 set_pwm 0 + 7 04 E208 trigger w3,s3 + 8 05 4000 set_pwm 0 + 9 06 4000 set_pwm 0 + 10 07 A001 branch 0, loop1_1 + 11 + 12 10 .ENGINE2(G) + 13 10 4000 set_pwm 0 + 14 loop2_1: + 15 11 E208 trigger w3,s3 + 16 12 0565 ramp 250, 102 + 17 13 0565 ramp 250, 102 + 18 14 E208 trigger w3,s3 + 19 15 05E5 ramp 250, -102 + 20 16 05E5 ramp 250, -102 + 21 17 A011 branch 0,loop2_1 + 22 + 23 20 .ENGINE3(R) + 24 20 4000 set_pwm 0 + 25 loop3_2: + 26 21 6000 wait 500 + 27 22 A321 branch 6,loop3_2 + 28 loop3_1: + 29 23 E186 trigger s21,w21 + 30 24 047E ramp 250, 127 + 31 25 047F ramp 250, 128 + 32 26 E186 trigger s21,w21 + 33 27 04FE ramp 250, -127 + 34 28 04FF ramp 250, -128 +*/ + +/* WWR_WIPEOUT_REQUEST */ +/* Fast Blinking Yellow with 3sec delay */ +/* Blank for 3sec */ +/* Ramp up to (255,204,0) in 0.5sec, ramp down to (0,0,0) in 0.5sec */ +static uint8_t wipeout_request1_b_text[] = { + 0x40, 0x00, 0xE2, 0x08, 0x40, 0x00, 0x40, 0x00, + 0xE2, 0x08, 0x40, 0x00, 0x40, 0x00, 0xA0, 0x01, +}; + +static uint8_t wipeout_request1_g_text[] = { + 0x40, 0x00, 0xE2, 0x08, 0x05, 0x65, 0x05, 0x65, + 0xE2, 0x08, 0x05, 0xE5, 0x05, 0xE5, 0xA0, 0x11, +}; + +static uint8_t wipeout_request1_r_text[] = { + 0x40, 0x00, 0x60, 0x00, 0xA3, 0x21, 0xE1, 0x86, + 0x04, 0x7E, 0x04, 0x7F, 0xE1, 0x86, 0x04, 0xFE, + 0x04, 0xFF, 0xA0, 0x23, +}; + +static TiLp5562Program wipeout_request1_program = { + { + { + wipeout_request1_b_text, + sizeof(wipeout_request1_b_text), + 0, + LED_LP5562_DEFAULT_CURRENT + }, + { + wipeout_request1_g_text, + sizeof(wipeout_request1_g_text), + 0, + LED_LP5562_DEFAULT_CURRENT + }, + { + wipeout_request1_r_text, + sizeof(wipeout_request1_r_text), + 0, + LED_LP5562_DEFAULT_CURRENT + }, + } +}; + +/* * blink_recovery1.src * 1 00 .ENGINE1(B) @@ -186,7 +260,7 @@ 7 8 10 .ENGINE2(G) 9 10 E200 trigger w3 - 10 11 40CC set_pwm 204 + 10 11 40CC set_pwm 0 11 12 E200 trigger w3 12 13 4000 set_pwm 0 13 14 0000 gotostart @@ -201,13 +275,15 @@ 22 26 0000 gotostart */
+/* WWR_RECOVERY_REQUEST */ +/* Blinking Red, (255,0,0) for 0.3sec, (0,0,0) for 0.3sec */ static uint8_t blink_recovery1_b_text[] = { 0xe2, 0x00, 0x40, 0, 0xe2, 0x00, 0x40, 0, 0x00, 0x00, };
static uint8_t blink_recovery1_g_text[] = { - 0xe2, 0x00, 0x40, 204, 0xe2, 0x00, 0x40, 0, + 0xe2, 0x00, 0x40, 0, 0xe2, 0x00, 0x40, 0, 0x00, 0x00, };
@@ -261,6 +337,8 @@ 17 23 C000 end */
+/* WWR_NORMAL_BOOT */ +/* Ramp up to (77,77,77) in 0.5sec */ static uint8_t preboot1_b_text[] = { 0x40, 0x00, 0xe2, 0x00, 0x0d, 0x4c, 0xc0, 0x00 }; @@ -296,8 +374,8 @@
const Led5562StateProg led_lp5562_state_programs[] = { {LED_ALL_OFF, {&solid_000000_program} }, - {LED_RECOVERY_PUSHED, {&solid_FFFFFF_program} }, - {LED_WIPEOUT_REQUEST, {&fdr_press1_program} }, + {LED_RECOVERY_PUSHED, {&fdr_press1_program} }, + {LED_WIPEOUT_REQUEST, {&wipeout_request1_program} }, {LED_RECOVERY_REQUEST, {&blink_recovery1_program} }, {LED_NORMAL_BOOT, {&preboot1_program} }, {}, /* Empty record to mark the end of the table. */ @@ -408,12 +486,122 @@ } };
+// Calibration code map for "fast blink" pattern. +// Start from OFF, +// ramp up in 0.5sec, ramp down in 0.5sec, repeat forever. +const struct lp5562_calibration_code_map mistral_code_map_fast_blink[] = { + { + blue, + ramp, + 0x02, + 2, + { {250, 128}, {250, 128} } + }, + { + blue, + ramp, + 0x05, + 2, + { {250, -128}, {250, -128} } + }, + { + green, + ramp, + 0x12, + 2, + { {250, 128}, {250, 128} } + }, + { + green, + ramp, + 0x15, + 2, + { {250, -128}, {250, -128} } + }, + { + red, + ramp, + 0x22, + 2, + { {250, 128}, {250, 128} } + }, + { + red, + ramp, + 0x25, + 2, + { {250, -128}, {250, -128} } + }, + { + 0, + invalid, + 0x00, + 0, + { } + } +}; + +// Calibration code map for "wipeout request" pattern. +// Start from OFF, wait for 3 seconds +// ramp up in 0.5sec, ramp down in 0.5sec, repeat forever. +const struct lp5562_calibration_code_map mistral_code_map_wipeout_request1[] = { + { + blue, + ramp, + 0x02, + 2, + { {250, 128}, {250, 128} } + }, + { + blue, + ramp, + 0x05, + 2, + { {250, -128}, {250, -128} } + }, + { + green, + ramp, + 0x12, + 2, + { {250, 128}, {250, 128} } + }, + { + green, + ramp, + 0x15, + 2, + { {250, -128}, {250, -128} } + }, + { + red, + ramp, + 0x24, + 2, + { {250, 128}, {250, 128} } + }, + { + red, + ramp, + 0x27, + 2, + { {250, -128}, {250, -128} } + }, + { + 0, + invalid, + 0x00, + 0, + { } + } +}; + const struct lp5562_calibration_data mistral_calibration_database[] = { { - &solid_FFFFFF_program, - 0, /* White */ - 100, /* 30% brigheness */ - mistral_code_map_solid, + &fdr_press1_program, + 1, /* Yellow */ + 100, /* 100% brigheness */ + mistral_code_map_fast_blink, }, { &preboot1_program, @@ -423,15 +611,15 @@ }, { &blink_recovery1_program, - 1, /* Yellow */ + 2, /* Red */ 100, /* 100% brightness */ mistral_code_map_blink, }, { - &fdr_press1_program, + &wipeout_request1_program, 1, /* Yellow */ 100, /* 100% brightness */ - mistral_code_map_solid, + mistral_code_map_wipeout_request1, }, { NULL, diff --git a/src/mainboard/google/mistral/chromeos.c b/src/mainboard/google/mistral/chromeos.c index 8873edd..a61c722 100644 --- a/src/mainboard/google/mistral/chromeos.c +++ b/src/mainboard/google/mistral/chromeos.c @@ -46,7 +46,7 @@ }
#define WIPEOUT_MODE_DELAY_MS (8 * 1000) -#define RECOVERY_MODE_EXTRA_DELAY_MS (8 * 1000) +#define RECOVERY_MODE_EXTRA_DELAY_MS (22 * 1000)
/* * The recovery switch: it needs to be pressed for a
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/34711 )
Change subject: TEMP: NOT FOR REVIEW: google/mistral: LED Pattern change ......................................................................
Patch Set 1:
(8 comments)
https://review.coreboot.org/c/coreboot/+/34711/1/src/drivers/i2c/lp5562/led_... File src/drivers/i2c/lp5562/led_lp5562_programs.c:
https://review.coreboot.org/c/coreboot/+/34711/1/src/drivers/i2c/lp5562/led_... PS1, Line 96: 3 loop1_1: please, no space before tabs
https://review.coreboot.org/c/coreboot/+/34711/1/src/drivers/i2c/lp5562/led_... PS1, Line 107: 14 loop2_1: please, no space before tabs
https://review.coreboot.org/c/coreboot/+/34711/1/src/drivers/i2c/lp5562/led_... PS1, Line 118: 25 loop3_1: please, no space before tabs
https://review.coreboot.org/c/coreboot/+/34711/1/src/drivers/i2c/lp5562/led_... PS1, Line 174: 3 loop1_1: please, no space before tabs
https://review.coreboot.org/c/coreboot/+/34711/1/src/drivers/i2c/lp5562/led_... PS1, Line 185: 14 loop2_1: please, no space before tabs
https://review.coreboot.org/c/coreboot/+/34711/1/src/drivers/i2c/lp5562/led_... PS1, Line 196: 25 loop3_2: please, no space before tabs
https://review.coreboot.org/c/coreboot/+/34711/1/src/drivers/i2c/lp5562/led_... PS1, Line 199: 28 loop3_1: please, no space before tabs
https://review.coreboot.org/c/coreboot/+/34711/1/src/drivers/i2c/lp5562/led_... PS1, Line 263: 10 11 40CC set_pwm 0 please, no spaces at the start of a line
Hello Zhihong Yu, build bot (Jenkins), Patrick Georgi,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/34711
to look at the new patch set (#2).
Change subject: TEMP: NOT FOR REVIEW: google/mistral: LED Pattern change ......................................................................
TEMP: NOT FOR REVIEW: google/mistral: LED Pattern change
LED Pattern and timing change, requested from UI design team.
WWR_RECOVERY_PUSHED: Bright White -> Fast Blink Yellow
WWR_WIPEOUT_REQUEST: Solid Yellow -> Fast Blink Yellow after 3 second brank 8seconds -> 22 seconds
WWR_RECOVERY_REQUEST: Blink Yellow -> Blink Red
BUG=b:138850607 TEST=Run on DUT, verify LED pattern Signed-off-by: Yuji Sasaki sasakiy@chromium.org Change-Id: Ibd426162f18aefae79cb390cc0c4e44de6cb6f6e --- M src/drivers/i2c/lp5562/led_lp5562_programs.c M src/mainboard/google/mistral/chromeos.c 2 files changed, 258 insertions(+), 70 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/11/34711/2
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/34711 )
Change subject: TEMP: NOT FOR REVIEW: google/mistral: LED Pattern change ......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/34711/2/src/drivers/i2c/lp5562/led_... File src/drivers/i2c/lp5562/led_lp5562_programs.c:
https://review.coreboot.org/c/coreboot/+/34711/2/src/drivers/i2c/lp5562/led_... PS2, Line 263: 10 11 40CC set_pwm 0 please, no spaces at the start of a line
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/34711 )
Change subject: TEMP: NOT FOR REVIEW: google/mistral: LED Pattern change ......................................................................
Patch Set 4:
(1 comment)
https://review.coreboot.org/c/coreboot/+/34711/4/src/drivers/i2c/lp5562/led_... File src/drivers/i2c/lp5562/led_lp5562_programs.c:
https://review.coreboot.org/c/coreboot/+/34711/4/src/drivers/i2c/lp5562/led_... PS4, Line 263: 10 11 40CC set_pwm 0 please, no spaces at the start of a line
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/34711 )
Change subject: TEMP: NOT FOR REVIEW: google/mistral: LED Pattern change ......................................................................
Patch Set 5:
(1 comment)
https://review.coreboot.org/c/coreboot/+/34711/5/src/drivers/i2c/lp5562/led_... File src/drivers/i2c/lp5562/led_lp5562_programs.c:
https://review.coreboot.org/c/coreboot/+/34711/5/src/drivers/i2c/lp5562/led_... PS5, Line 263: 10 11 40CC set_pwm 0 please, no spaces at the start of a line
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/34711 )
Change subject: TEMP: NOT FOR REVIEW: google/mistral: LED Pattern change ......................................................................
Patch Set 6:
(1 comment)
https://review.coreboot.org/c/coreboot/+/34711/6/src/drivers/i2c/lp5562/led_... File src/drivers/i2c/lp5562/led_lp5562_programs.c:
https://review.coreboot.org/c/coreboot/+/34711/6/src/drivers/i2c/lp5562/led_... PS6, Line 263: 10 11 40CC set_pwm 0 please, no spaces at the start of a line
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/34711 )
Change subject: TEMP: NOT FOR REVIEW: google/mistral: LED Pattern change ......................................................................
Patch Set 7:
(1 comment)
https://review.coreboot.org/c/coreboot/+/34711/7/src/drivers/i2c/lp5562/led_... File src/drivers/i2c/lp5562/led_lp5562_programs.c:
https://review.coreboot.org/c/coreboot/+/34711/7/src/drivers/i2c/lp5562/led_... PS7, Line 263: 10 11 40CC set_pwm 0 please, no spaces at the start of a line
Patrick Georgi has uploaded a new patch set (#8) to the change originally created by Yuji Sasaki. ( https://review.coreboot.org/c/coreboot/+/34711 )
Change subject: google/mistral: LED Pattern change ......................................................................
google/mistral: LED Pattern change
LED Pattern and timing change, requested from UI design team.
WWR_RECOVERY_PUSHED: Bright White -> Fast Blink Yellow
WWR_WIPEOUT_REQUEST: Solid Yellow -> Fast Blink Yellow after 3 second brank 8seconds -> 22 seconds
WWR_RECOVERY_REQUEST: Blink Yellow -> Blink Red
BUG=b:138850607 TEST=Run on DUT, verify LED pattern Signed-off-by: Yuji Sasaki sasakiy@chromium.org Change-Id: Ibd426162f18aefae79cb390cc0c4e44de6cb6f6e --- M src/drivers/i2c/lp5562/led_lp5562_programs.c M src/mainboard/google/mistral/chromeos.c 2 files changed, 222 insertions(+), 275 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/11/34711/8
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/34711 )
Change subject: google/mistral: LED Pattern change ......................................................................
Patch Set 8:
(41 comments)
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... File src/drivers/i2c/lp5562/led_lp5562_programs.c:
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 73: }}; space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 134: }}; space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 201: }}; space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 215: 10 11 40CC set_pwm 0 please, no spaces at the start of a line
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 247: }}; space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 281: }}; space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 284: {LED_ALL_OFF, {&solid_000000_program}}, space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 285: {LED_RECOVERY_PUSHED, {&fdr_press1_program}}, space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 286: {LED_WIPEOUT_REQUEST, {&wipeout_request1_program}}, space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 287: {LED_RECOVERY_REQUEST, {&blink_recovery1_program}}, space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 288: {LED_NORMAL_BOOT, {&preboot1_program}}, space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 297: {blue, set_pwm, 0x00, 0, {}}, space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 298: {green, set_pwm, 0x10, 0, {}}, space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 299: {red, set_pwm, 0x20, 0, {}}, space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 300: {0, invalid, 0x00, 0, {}}}; space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 307: {blue, set_pwm, 0x01, 0, {}}, space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 308: {green, set_pwm, 0x11, 0, {}}, space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 309: {red, set_pwm, 0x21, 0, {}}, space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 310: {0, invalid, 0x00, 0, {}}}; space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 321: { Statements should start on a tabstop
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 323: }}, space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 328: { Statements should start on a tabstop
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 330: }}, space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 335: { Statements should start on a tabstop
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 337: }}, space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 338: {0, invalid, 0x00, 0, {}}}; space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 344: {blue, ramp, 0x02, 2, {{250, 128}, {250, 128}}}, space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 345: {blue, ramp, 0x05, 2, {{250, -128}, {250, -128}}}, space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 346: {green, ramp, 0x12, 2, {{250, 128}, {250, 128}}}, space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 347: {green, ramp, 0x15, 2, {{250, -128}, {250, -128}}}, space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 348: {red, ramp, 0x22, 2, {{250, 128}, {250, 128}}}, space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 349: {red, ramp, 0x25, 2, {{250, -128}, {250, -128}}}, space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 350: {0, invalid, 0x00, 0, {}}}; space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 356: {blue, ramp, 0x02, 2, {{250, 128}, {250, 128}}}, space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 357: {blue, ramp, 0x05, 2, {{250, -128}, {250, -128}}}, space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 358: {green, ramp, 0x12, 2, {{250, 128}, {250, 128}}}, space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 359: {green, ramp, 0x15, 2, {{250, -128}, {250, -128}}}, space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 360: {red, ramp, 0x24, 2, {{250, 128}, {250, 128}}}, space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 361: {red, ramp, 0x27, 2, {{250, -128}, {250, -128}}}, space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 362: {0, invalid, 0x00, 0, {}}}; space required after that close brace '}'
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 389: {NULL, 0, 0, NULL}}; space required after that close brace '}'
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/34711 )
Change subject: google/mistral: LED Pattern change ......................................................................
Patch Set 8:
(4 comments)
https://review.coreboot.org/c/coreboot/+/34711/8//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/34711/8//COMMIT_MSG@7 PS8, Line 7: google/mistral: LED Pattern change Please use statements for the commit message summary: Change LED pattern
https://review.coreboot.org/c/coreboot/+/34711/8//COMMIT_MSG@15 PS8, Line 15: brank break?
https://review.coreboot.org/c/coreboot/+/34711/8//COMMIT_MSG@16 PS8, Line 16: 8seconds Space before seconds.
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... File src/drivers/i2c/lp5562/led_lp5562_programs.c:
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 60: 11 21 C000 end Please split out format changes from functional changes.
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/34711 )
Change subject: google/mistral: LED Pattern change ......................................................................
Patch Set 8:
(1 comment)
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... File src/drivers/i2c/lp5562/led_lp5562_programs.c:
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 60: 11 21 C000 end
Please split out format changes from functional changes.
The formatting changes are necessary to make the tools happy. I'll see to push them to the earlier change (no idea why it only started complaining here - or did it?)
Hello Zhihong Yu, build bot (Jenkins), Patrick Georgi,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/34711
to look at the new patch set (#9).
Change subject: TEMP: NOT FOR REVIEW: google/mistral: Change LED Pattern ......................................................................
TEMP: NOT FOR REVIEW: google/mistral: Change LED Pattern
LED Pattern and timing change, requested from UI design team.
WWR_RECOVERY_PUSHED: Bright White -> Fast Blink Yellow
WWR_WIPEOUT_REQUEST: Solid Yellow -> Fast Blink Yellow after 3 seconds blank 8 seconds -> 22 seconds
WWR_RECOVERY_REQUEST: Blink Yellow -> Blink Red
BUG=b:138850607 TEST=Run on DUT, verify LED pattern Signed-off-by: Yuji Sasaki sasakiy@chromium.org Change-Id: Ibd426162f18aefae79cb390cc0c4e44de6cb6f6e --- M src/drivers/i2c/lp5562/led_lp5562_programs.c M src/mainboard/google/mistral/chromeos.c 2 files changed, 284 insertions(+), 96 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/11/34711/9
Yuji Sasaki has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/34711 )
Change subject: TEMP: NOT FOR REVIEW: google/mistral: Change LED Pattern ......................................................................
Patch Set 9:
(4 comments)
https://review.coreboot.org/c/coreboot/+/34711/8//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/34711/8//COMMIT_MSG@7 PS8, Line 7: google/mistral: LED Pattern change
Please use statements for the commit message summary: Change LED pattern
Done
https://review.coreboot.org/c/coreboot/+/34711/8//COMMIT_MSG@15 PS8, Line 15: brank
break?
blink.
https://review.coreboot.org/c/coreboot/+/34711/8//COMMIT_MSG@16 PS8, Line 16: 8seconds
Space before seconds.
Done
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... File src/drivers/i2c/lp5562/led_lp5562_programs.c:
https://review.coreboot.org/c/coreboot/+/34711/8/src/drivers/i2c/lp5562/led_... PS8, Line 60: 11 21 C000 end
The formatting changes are necessary to make the tools happy. […]
I reverted to SPC to TAB. Hope it will make Jenkins Bot happy.
Patrick Georgi has uploaded a new patch set (#10) to the change originally created by Yuji Sasaki. ( https://review.coreboot.org/c/coreboot/+/34711 )
Change subject: google/mistral: Change LED Pattern ......................................................................
google/mistral: Change LED Pattern
LED Pattern and timing change, requested from UI design team.
WWR_RECOVERY_PUSHED: Bright White -> Fast Blink Yellow
WWR_WIPEOUT_REQUEST: Solid Yellow -> Fast Blink Yellow after 3 seconds blank 8 seconds -> 22 seconds
WWR_RECOVERY_REQUEST: Blink Yellow -> Blink Red
BUG=b:138850607 TEST=Run on DUT, verify LED pattern Signed-off-by: Yuji Sasaki sasakiy@chromium.org Change-Id: Ibd426162f18aefae79cb390cc0c4e44de6cb6f6e --- M src/drivers/i2c/lp5562/led_lp5562_programs.c M src/mainboard/google/mistral/chromeos.c 2 files changed, 284 insertions(+), 96 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/11/34711/10
Stefan Reinauer has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/34711 )
Change subject: google/mistral: Change LED Pattern ......................................................................
Patch Set 10:
What's happening with this patch train?
Patrick Georgi has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/34711 )
Change subject: google/mistral: Change LED Pattern ......................................................................
Abandoned
won't be finished here