summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zephyr/Kconfig.led2
-rw-r--r--zephyr/program/brya/prj.conf1
-rw-r--r--zephyr/program/corsola/kingler/project.conf3
-rw-r--r--zephyr/program/intelrvp/adlrvp/prj.conf1
-rw-r--r--zephyr/program/nissa/program.conf1
5 files changed, 2 insertions, 6 deletions
diff --git a/zephyr/Kconfig.led b/zephyr/Kconfig.led
index 90f59f2fff..86e423aacd 100644
--- a/zephyr/Kconfig.led
+++ b/zephyr/Kconfig.led
@@ -19,6 +19,8 @@ if PLATFORM_EC_LED_COMMON
config PLATFORM_EC_LED_PWM
bool "PWM (Pulse Width Modulation) LEDs"
+ default y
+ depends on DT_HAS_CROS_EC_PWM_LEDS_ENABLED
help
Enable PWM (Pulse Width Modulation) controlled LEDs that conform to
the Chromium OS LED behavior specification.
diff --git a/zephyr/program/brya/prj.conf b/zephyr/program/brya/prj.conf
index 6d4c304b77..293d3972ad 100644
--- a/zephyr/program/brya/prj.conf
+++ b/zephyr/program/brya/prj.conf
@@ -154,7 +154,6 @@ CONFIG_SYSCON=y
# LED
CONFIG_PLATFORM_EC_LED_COMMON=y
-CONFIG_PLATFORM_EC_LED_PWM=y
CONFIG_PLATFORM_EC_CONSOLE_CMD_LEDTEST=n
CONFIG_PLATFORM_EC_LED_PWM_NEAR_FULL_COLOR=4
CONFIG_PLATFORM_EC_LED_PWM_SOC_ON_COLOR=4
diff --git a/zephyr/program/corsola/kingler/project.conf b/zephyr/program/corsola/kingler/project.conf
index d7de991e93..cd4a735d71 100644
--- a/zephyr/program/corsola/kingler/project.conf
+++ b/zephyr/program/corsola/kingler/project.conf
@@ -5,8 +5,5 @@
# Variant config
CONFIG_BOARD_KINGLER=y
-# LED
-CONFIG_PLATFORM_EC_LED_PWM=y
-
# Keyboard
CONFIG_PLATFORM_EC_KEYBOARD_PWRBTN_ASSERTS_KSI2=y
diff --git a/zephyr/program/intelrvp/adlrvp/prj.conf b/zephyr/program/intelrvp/adlrvp/prj.conf
index 64cf5a2a4a..a5f2ad34a5 100644
--- a/zephyr/program/intelrvp/adlrvp/prj.conf
+++ b/zephyr/program/intelrvp/adlrvp/prj.conf
@@ -31,7 +31,6 @@ CONFIG_PLATFORM_EC_CHARGER_RUNTIME_CONFIG=y
# LED
CONFIG_PLATFORM_EC_LED_COMMON=y
-CONFIG_PLATFORM_EC_LED_PWM=y
CONFIG_PLATFORM_EC_LED_PWM_TASK_DISABLED=y
# Temperature sensors
diff --git a/zephyr/program/nissa/program.conf b/zephyr/program/nissa/program.conf
index 606c66969e..02dc458a61 100644
--- a/zephyr/program/nissa/program.conf
+++ b/zephyr/program/nissa/program.conf
@@ -63,7 +63,6 @@ CONFIG_PLATFORM_EC_KEYBOARD_COL2_INVERTED=y
# LED
CONFIG_PLATFORM_EC_LED_COMMON=y
-CONFIG_PLATFORM_EC_LED_PWM=y
CONFIG_PLATFORM_EC_LED_ONOFF_STATES=y
CONFIG_PLATFORM_EC_CONSOLE_CMD_LEDTEST=n