summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorLeo-Tsai <leocx_tsai@compal.corp-partner.google.com>2022-03-07 16:26:57 +0800
committerCommit Bot <commit-bot@chromium.org>2022-03-10 09:00:21 +0000
commit4c95add9f0b1ee458acc3d4d41cf102f4a07ed8c (patch)
treefc97c211240f422843feed8cda20471790faa52e /include/config.h
parent46a68712dfc5d3e2913f77734aa2312a41474b16 (diff)
downloadchrome-ec-4c95add9f0b1ee458acc3d4d41cf102f4a07ed8c.tar.gz
Banshee:implement LED behavior
Implement side charger LED and Power breath LED behavior. Power LED: S0 - On S3 - Breath 0.5Hz - Max duty (percentage) = 55 - Fade time (second) = 550ms(In) / 550ms(Out) - Duration time (second) = 500ms - Interval time (second) = 2000ms S5 - Off Charge LED: Charge - Amber Full Charge - Green Low battery - Blink Red Battery error - Blink Red BUG=b:208182468,b:220954645 BRANCH=brya TEST=build make -j BOARD=Banshee pass, verified the side charger LED is working and s0ix can show breath LED Signed-off-by: Leo-Tsai <leocx_tsai@compal.corp-partner.google.com> Change-Id: If58fd9e123c4096c840a8e8b5009f8f1bc5ef39f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3506045 Reviewed-by: Elthan Huang <elthan_huang@compal.corp-partner.google.com> Reviewed-by: Boris Mittelberg <bmbm@google.com> Commit-Queue: Boris Mittelberg <bmbm@google.com>
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 9cf522a98a..ebe7199cbe 100644
--- a/include/config.h
+++ b/include/config.h
@@ -3057,6 +3057,12 @@
#undef CONFIG_LED_PWM
/*
+ * Support common PWM-controlled LEDs that do not conform to the Chrom OS LED
+ * behavior specification
+ */
+#undef CONFIG_LED_PWM_TASK_DISABLED
+
+/*
* Here are some recommended color settings by default, but a board can change
* the colors to one of "enum ec_led_colors" as they see fit.
*/