diff options
Diffstat (limited to 'common/ec_comm.c')
-rw-r--r-- | common/ec_comm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/ec_comm.c b/common/ec_comm.c index ca41649d97..bedd9e34af 100644 --- a/common/ec_comm.c +++ b/common/ec_comm.c @@ -69,6 +69,9 @@ static void ec_comm_init_(void) CPRINTS("Initialization"); + /* Wake from sleep or deep sleep when EC_PACKET_MODE_EN is asserted. */ + gpio_set_wakepin(GPIO_EC_PACKET_MODE_EN, GPIO_HIB_WAKE_HIGH); + gpio_enable_interrupt(GPIO_EC_PACKET_MODE_EN); gpio_enable_interrupt(GPIO_EC_PACKET_MODE_DIS); |