From 324b9d8913053c5013b6334835ec1d4903552272 Mon Sep 17 00:00:00 2001 From: Jack Rosenthal Date: Mon, 1 Mar 2021 16:26:09 -0700 Subject: 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 Change-Id: I3376d798e38fe7eea0987afd25f7306bc11f673e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2727852 Reviewed-by: Keith Short --- zephyr/projects/delbin/include/gpio_map.h | 1 + zephyr/projects/delbin/prj.conf | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'zephyr') 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 -- cgit v1.2.1