diff options
Diffstat (limited to 'zephyr/program/nissa/src/common.c')
-rw-r--r-- | zephyr/program/nissa/src/common.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/zephyr/program/nissa/src/common.c b/zephyr/program/nissa/src/common.c index 155dc541d4..d437bfca47 100644 --- a/zephyr/program/nissa/src/common.c +++ b/zephyr/program/nissa/src/common.c @@ -187,3 +187,13 @@ __override int pd_is_valid_input_voltage(int mv) return true; } #endif + +/* Trigger shutdown by enabling the Z-sleep circuit */ +__override void board_hibernate_late(void) +{ + gpio_pin_set_dt(GPIO_DT_FROM_NODELABEL(gpio_en_slp_z), 1); + /* + * The system should hibernate, but there may be + * a small delay, so return. + */ +} |