diff options
-rw-r--r-- | board/atlas/board.c | 2 | ||||
-rw-r--r-- | board/atlas/board.h | 2 | ||||
-rw-r--r-- | board/atlas/gpio.inc | 2 |
3 files changed, 1 insertions, 5 deletions
diff --git a/board/atlas/board.c b/board/atlas/board.c index fd38f1cee2..e0350cfd80 100644 --- a/board/atlas/board.c +++ b/board/atlas/board.c @@ -545,14 +545,12 @@ void board_set_charge_limit(int port, int supplier, int charge_ma, static void board_chipset_suspend(void) { - gpio_set_level(GPIO_ENABLE_BACKLIGHT, 0); gpio_set_level(GPIO_KBD_BL_EN, 0); } DECLARE_HOOK(HOOK_CHIPSET_SUSPEND, board_chipset_suspend, HOOK_PRIO_DEFAULT); static void board_chipset_resume(void) { - gpio_set_level(GPIO_ENABLE_BACKLIGHT, 1); gpio_set_level(GPIO_KBD_BL_EN, 1); } DECLARE_HOOK(HOOK_CHIPSET_RESUME, board_chipset_resume, HOOK_PRIO_DEFAULT); diff --git a/board/atlas/board.h b/board/atlas/board.h index 63f5e5be93..d4e1ac2c46 100644 --- a/board/atlas/board.h +++ b/board/atlas/board.h @@ -18,7 +18,6 @@ /* EC */ #define CONFIG_ADC -#define CONFIG_BACKLIGHT_LID #define CONFIG_BOARD_VERSION_CUSTOM #define CONFIG_BOARD_FORCE_RESET_PIN #define CONFIG_DPTF @@ -258,7 +257,6 @@ void board_reset_pd_mcu(void); #define GPIO_BOARD_VERSION2 GPIO_EC_BRD_ID2 #define GPIO_BOARD_VERSION3 GPIO_EC_BRD_ID3 #define GPIO_CPU_PROCHOT GPIO_EC_PROCHOT_ODL -#define GPIO_ENABLE_BACKLIGHT GPIO_EC_BL_DISABLE_L #define GPIO_ENTERING_RW GPIO_EC_ENTERING_RW #define GPIO_KBD_KSO2 GPIO_EC_KB_ROW02_INV #define GPIO_PCH_ACOK GPIO_EC_PCH_ACPRESENT diff --git a/board/atlas/gpio.inc b/board/atlas/gpio.inc index 2846ba22b0..043e7e4506 100644 --- a/board/atlas/gpio.inc +++ b/board/atlas/gpio.inc @@ -60,7 +60,7 @@ GPIO(USB_PD_RST_L, PIN(F, 1), GPIO_OUT_LOW) /* C0,C1 PD Reset */ GPIO(CCD_MODE_ODL, PIN(E, 3), GPIO_INPUT) /* Case Closed Debug Mode */ GPIO(EC_BATT_PRES_L, PIN(E, 5), GPIO_INPUT) /* Battery Present */ GPIO(EC_ENTERING_RW, PIN(E, 1), GPIO_OUTPUT) /* EC Entering RW */ -GPIO(EC_BL_DISABLE_L, PIN(D, 3), GPIO_ODR_LOW) /* Enable Backlight */ +GPIO(EC_BL_DISABLE_L, PIN(D, 3), GPIO_INPUT) /* Enable Backlight */ GPIO(EC_BRD_ID1, PIN(9, 6), GPIO_INPUT) /* Board ID bit0 */ GPIO(EC_BRD_ID2, PIN(9, 3), GPIO_INPUT) /* Board ID bit1 */ GPIO(EC_BRD_ID3, PIN(F, 0), GPIO_INPUT) /* Board ID bit2 */ |