summaryrefslogtreecommitdiff
path: root/zephyr/program/geralt/src/hibernate.c
blob: c83d37cc91ae4d280a0051fdab79f892db11d507 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Copyright 2022 The ChromiumOS Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */
#include "system.h"

#include <zephyr/drivers/gpio.h>

/* Geralt board specific hibernate implementation */
__override void board_hibernate_late(void)
{
	gpio_pin_set_dt(GPIO_DT_FROM_NODELABEL(en_ulp), 1);
}