summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/google/kahlee/variants/baseboard/mainboard.c11
1 files changed, 11 insertions, 0 deletions
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 <ec/google/chromeec/ec.h>
#include <baseboard/variants.h>
+#include <gpio.h>
+#include <variant/gpio.h>
+
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