summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2022-01-28 15:24:39 -0700
committerCommit Bot <commit-bot@chromium.org>2022-01-31 18:58:35 +0000
commit769b4ba429a8c93d500fe7759b60c3f39b37298e (patch)
tree93f97ca28270d0bab5e9e3188a4a78aa9428dfd2 /zephyr/Kconfig
parent38063669c7c9efee40fed489b6b2c7272e920e6e (diff)
downloadchrome-ec-769b4ba429a8c93d500fe7759b60c3f39b37298e.tar.gz
Zephyr: Add support for active low backlight enable
Add support for having an active low line in our backlight enable code. BRANCH=None BUG=b:208515128,b:195137794 TEST=zmake testall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: Id60de51d400740db1480e34fb9d3ed6d2a860042 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3425759 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/Kconfig')
-rw-r--r--zephyr/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/zephyr/Kconfig b/zephyr/Kconfig
index d22c1e59a9..d72db4d35b 100644
--- a/zephyr/Kconfig
+++ b/zephyr/Kconfig
@@ -109,6 +109,13 @@ config PLATFORM_EC_BACKLIGHT_LID
which allows the AP to override the backlight setting until the next
change in the lid state.
+config PLATFORM_EC_BACKLIGHT_LID_ACTIVE_LOW
+ bool "Control for the display backlight is active low"
+ depends on PLATFORM_EC_BACKLIGHT_LID
+ help
+ Support controlling the backlight with an active low GPIO signal.
+ This config option expects a GPIO_ENABLE_BACKLIGHT_L defined.
+
config PLATFORM_EC_BOARD_RESET_AFTER_POWER_ON
bool "Work around H1 reset issue"
help