diff options
author | Rajesh Kumar <rajesh3.kumar@intel.com> | 2022-05-20 11:12:44 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-05-26 23:27:04 +0000 |
commit | 1f4e95d9cf533be127f61ddede2972d48fd5dc3a (patch) | |
tree | c68dcdea3f8315aedf49677b713d3a6084b18865 /zephyr | |
parent | d3624d333d04821763f2afd5c147449fc62780f7 (diff) | |
download | chrome-ec-1f4e95d9cf533be127f61ddede2972d48fd5dc3a.tar.gz |
zephyr: Add Kconfig support for PLATFORM_EC_LED_PWM_TASK_DISABLED
This Supports common PWM (Pulse Width Modulation) controlled LEDs
that do not conform to the Chromium OS LED behavior specification.
BUG=none
BRANCH=none
TEST=make buildall; zmake testall
Signed-off-by: Rajesh Kumar <rajesh3.kumar@intel.com>
Change-Id: I9b56fb7d17881a1cc1ff4a8cef789d542ee5865e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3657846
Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr')
-rw-r--r-- | zephyr/Kconfig.led | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/zephyr/Kconfig.led b/zephyr/Kconfig.led index 08889c6164..785aa64f89 100644 --- a/zephyr/Kconfig.led +++ b/zephyr/Kconfig.led @@ -28,6 +28,15 @@ config PLATFORM_EC_LED_PWM if PLATFORM_EC_LED_PWM +config PLATFORM_EC_LED_PWM_TASK_DISABLED + bool "Disable common PWM LEDs Task" + help + Support common PWM (Pulse Width Modulation) controlled LEDs that do + not conform to the Chromium OS LED behavior specification. + + Your board code must define and enable it's own task for managing the + LEDs. + config PLATFORM_EC_CONSOLE_CMD_LEDTEST bool "Console command: ledtest" default y |