summaryrefslogtreecommitdiff
path: root/zephyr/program/geralt/src/hibernate.c
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/program/geralt/src/hibernate.c')
-rw-r--r--zephyr/program/geralt/src/hibernate.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/zephyr/program/geralt/src/hibernate.c b/zephyr/program/geralt/src/hibernate.c
index c83d37cc91..fb70248338 100644
--- a/zephyr/program/geralt/src/hibernate.c
+++ b/zephyr/program/geralt/src/hibernate.c
@@ -9,5 +9,8 @@
/* Geralt board specific hibernate implementation */
__override void board_hibernate_late(void)
{
+ gpio_pin_set_dt(GPIO_DT_FROM_NODELABEL(en_pp5000_z1_l), 1);
+ /* It takes around 30ms to release the PP5000 capacitance. */
+ udelay(30 * MSEC);
gpio_pin_set_dt(GPIO_DT_FROM_NODELABEL(en_ulp), 1);
}