From 290c4459114473c6dfe9e1184481fb9b7564576e Mon Sep 17 00:00:00 2001 From: Marc Jones Date: Sat, 14 Jul 2018 17:37:30 -0600 Subject: mainboard/google/kahlee: Enable backlight on resume BUG=b:72694972 TEST=Backlight turns on ChromeOS resume Change-Id: I452e2ea94b508b137cf52301df5d2d1ad5c9ab70 Signed-off-by: Marc Jones Reviewed-on: https://review.coreboot.org/27488 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/mainboard/google/kahlee/variants/baseboard/mainboard.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src') diff --git a/src/mainboard/google/kahlee/variants/baseboard/mainboard.c b/src/mainboard/google/kahlee/variants/baseboard/mainboard.c index c873299bf1..54743ef7c1 100644 --- a/src/mainboard/google/kahlee/variants/baseboard/mainboard.c +++ b/src/mainboard/google/kahlee/variants/baseboard/mainboard.c @@ -15,6 +15,9 @@ #include #include +#include +#include + uint8_t variant_board_sku(void) { @@ -25,3 +28,11 @@ uint8_t variant_board_sku(void) return sku; } + +#if IS_ENABLED(CONFIG_HAVE_ACPI_RESUME) +void variant_mainboard_suspend_resume(void) +{ + /* Enable backlight - GPIO 133 active low */ + gpio_set(GPIO_133, 0); +} +#endif -- cgit v1.2.3