summaryrefslogtreecommitdiff
path: root/chip/npcx/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/npcx/system.c')
-rw-r--r--chip/npcx/system.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/chip/npcx/system.c b/chip/npcx/system.c
index 8e01f9955c..55c248d602 100644
--- a/chip/npcx/system.c
+++ b/chip/npcx/system.c
@@ -327,21 +327,6 @@ void system_set_gpios_and_wakeup_inputs_hibernate(void)
for (i = 0; i < hibernate_wake_pins_used; i++)
gpio_reset(hibernate_wake_pins[i]);
-#ifdef CONFIG_USB_PD_PORT_COUNT
- /*
- * Leave USB-C charging enabled in hibernate, in order to
- * allow wake-on-plug. 5V enable must be pulled low.
- */
-#if CONFIG_USB_PD_PORT_COUNT > 0
- gpio_set_flags(GPIO_USB_C0_5V_EN, GPIO_PULL_DOWN | GPIO_INPUT);
- gpio_set_level(GPIO_USB_C0_CHARGE_EN_L, 0);
-#endif
-#if CONFIG_USB_PD_PORT_COUNT > 1
- gpio_set_flags(GPIO_USB_C1_5V_EN, GPIO_PULL_DOWN | GPIO_INPUT);
- gpio_set_level(GPIO_USB_C1_CHARGE_EN_L, 0);
-#endif
-#endif /* CONFIG_USB_PD_PORT_COUNT */
-
/* board-level function to set GPIOs state in hibernate */
if (board_set_gpio_hibernate_state)
board_set_gpio_hibernate_state();