summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig
diff options
context:
space:
mode:
authorFabio Baltieri <fabiobaltieri@google.com>2021-10-26 16:40:54 +0000
committerCommit Bot <commit-bot@chromium.org>2021-10-29 19:03:26 +0000
commitda8a1e7d22f99698581c32ea08a6c3d0ffab6c57 (patch)
tree95b3f753e7b68b22d260b4c9054d8ce59babae33 /zephyr/Kconfig
parent4a7dc909701766084690d6e1a6dc25d1627ace13 (diff)
downloadchrome-ec-da8a1e7d22f99698581c32ea08a6c3d0ffab6c57.tar.gz
zephyr: shim: set PWM displight channel from the device tree
This drops the PWM_CH_DISPLIGHT define from the individual board pwm_map, and replaces with a single reference to a named pwm labeled displight. BRANCH=none BUG=none TEST=zmake testall Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> Change-Id: I17ca620097a4b0fd6907672e340415d1963740a7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3245507 Commit-Queue: Keith Short <keithshort@chromium.org> Reviewed-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/Kconfig')
-rw-r--r--zephyr/Kconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/zephyr/Kconfig b/zephyr/Kconfig
index 07f09ae46e..8647c1bfac 100644
--- a/zephyr/Kconfig
+++ b/zephyr/Kconfig
@@ -630,9 +630,9 @@ config PLATFORM_EC_PWM_DISPLIGHT
depends on PLATFORM_EC_PWM
help
Enables display backlight controlled by a PWM signal connected
- directly to the EC chipset. The board files must define the C
- reference PWM_CH_DISPLIGHT to the PWM channel used for the
- display backlight control.
+ directly to the EC chipset. The board devicetree file must define the
+ PWM channel used for the display backlight control and assign the
+ "displight" node label to it.
config PLATFORM_EC_RTC
bool "Real-time clock (RTC)"