summaryrefslogtreecommitdiff
path: root/zephyr/projects/nissa/src/nivviks/usbc.c
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/projects/nissa/src/nivviks/usbc.c')
-rw-r--r--zephyr/projects/nissa/src/nivviks/usbc.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/zephyr/projects/nissa/src/nivviks/usbc.c b/zephyr/projects/nissa/src/nivviks/usbc.c
index df217c6467..8a08eda3a8 100644
--- a/zephyr/projects/nissa/src/nivviks/usbc.c
+++ b/zephyr/projects/nissa/src/nivviks/usbc.c
@@ -10,7 +10,6 @@
#include "hooks.h"
#include "usb_mux.h"
#include "system.h"
-#include "driver/charger/isl923x_public.h"
#include "driver/tcpm/tcpci.h"
#include "driver/tcpm/raa489000.h"
@@ -41,28 +40,6 @@ struct tcpc_config_t tcpc_config[CONFIG_USB_PD_PORT_MAX_COUNT] = {
},
};
-/*
- * Board specific hibernate functions.
- */
-__override void board_hibernate(void)
-{
- /* Shut down the chargers */
- if (board_get_usb_pd_port_count() == 2)
- raa489000_hibernate(CHARGER_SECONDARY, true);
- raa489000_hibernate(CHARGER_PRIMARY, true);
- LOG_INF("Charger(s) hibernated");
- cflush();
-}
-
-__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.
- */
-}
-
int board_is_sourcing_vbus(int port)
{
int regval;