diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2021-03-01 16:26:09 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-02 21:35:20 +0000 |
commit | 324b9d8913053c5013b6334835ec1d4903552272 (patch) | |
tree | bd4ce570bd76955cd28c524418e2d93543f795a8 | |
parent | c8d7408e9f4d2d29573b0c70811d31092ad6aa1d (diff) | |
download | chrome-ec-324b9d8913053c5013b6334835ec1d4903552272.tar.gz |
zephyr: delbin: enable backlight
Enable the screen backlight module.
BUG=b:180410072
BRANCH=none
TEST="ectool backlight 0" and "ectool backlight 1" disable and enable
the screen backlight
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: I3376d798e38fe7eea0987afd25f7306bc11f673e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2727852
Reviewed-by: Keith Short <keithshort@chromium.org>
-rw-r--r-- | zephyr/projects/delbin/include/gpio_map.h | 1 | ||||
-rw-r--r-- | zephyr/projects/delbin/prj.conf | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/projects/delbin/include/gpio_map.h b/zephyr/projects/delbin/include/gpio_map.h index b697abc11d..2648755bf7 100644 --- a/zephyr/projects/delbin/include/gpio_map.h +++ b/zephyr/projects/delbin/include/gpio_map.h @@ -14,6 +14,7 @@ #define GPIO_EC_PCH_SYS_PWROK NAMED_GPIO(ec_pch_sys_pwrok) #define GPIO_EC_PCH_WAKE_ODL NAMED_GPIO(ec_pch_wake_odl) #define GPIO_EC_PROCHOT_IN_L NAMED_GPIO(ec_prochot_in_l) +#define GPIO_ENABLE_BACKLIGHT NAMED_GPIO(ec_edp_bl_en) #define GPIO_ENTERING_RW NAMED_GPIO(ec_entering_rw) #define GPIO_EN_PP3300_A NAMED_GPIO(en_pp3300_a) #define GPIO_EN_PP5000 NAMED_GPIO(en_pp5000_a) diff --git a/zephyr/projects/delbin/prj.conf b/zephyr/projects/delbin/prj.conf index fbb304c0c9..6e831df0eb 100644 --- a/zephyr/projects/delbin/prj.conf +++ b/zephyr/projects/delbin/prj.conf @@ -23,7 +23,6 @@ CONFIG_PLATFORM_EC_POWERSEQ=y CONFIG_PLATFORM_EC_POWERSEQ_RTC_RESET=y # TODO(b/180410072): bringup these features -CONFIG_PLATFORM_EC_BACKLIGHT_LID=n CONFIG_PLATFORM_EC_BOARD_VERSION=n CONFIG_PLATFORM_EC_KEYBOARD=n CONFIG_CROS_KB_RAW_NPCX=n |