Skip to content

Commit a2c2bc5

Browse files
Josh-TsaiJohnAZoidberg
authored andcommitted
fwk: azalea: modified the LED period-ms value for the standalone mode
Missed to change the standalone mode period-ms in the commit 5721b31. This change modified the LED period-ms value for the standalone mode BRANCH=fwk-main BUG=Standalone mode LEDs are broken when the system state at S3/S0ix TEST=check the battery led behavior is the same as power led when the standalone mode is enabled. Signed-off-by: Josh Tsai <Josh_Tsai@compal.com> (cherry picked from commit 446ca10a8faaab75f6ead4f482fe5c546d52e75d)
1 parent 82a2bf7 commit a2c2bc5

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

zephyr/program/framework/azalea/led_policy.dtsi

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -157,29 +157,25 @@
157157
led-id = "EC_LED_ID_BATTERY_LED";
158158
transition = "LED_TRANSITION_LINEAR";
159159

160-
/* period-ms =
161-
* target time * tick time (200ms) / deferred time (10ms)
162-
*/
163-
164160
/* Fade time target 600ms (In, low to high) */
165161
color-0 {
166162
led-color = "LED_WHITE";
167-
period-ms = <12000>;
163+
period-ms = <600>;
168164
};
169165
/* Duration time target 900ms */
170166
color-1 {
171167
led-color = "LED_WHITE";
172-
period-ms = <18000>;
168+
period-ms = <900>;
173169
};
174170
/* Fade time target 600ms (Out, high to low) */
175171
color-2 {
176172
led-color = "LED_OFF";
177-
period-ms = <12000>;
173+
period-ms = <600>;
178174
};
179175
/* Interval time target 1900ms */
180176
color-3 {
181177
led-color = "LED_OFF";
182-
period-ms = <37000>;
178+
period-ms = <1900>;
183179
};
184180
};
185181
};

0 commit comments

Comments
 (0)