diff options
-rw-r--r-- | board/akemi/gpio.inc | 11 | ||||
-rw-r--r-- | board/dratini/gpio.inc | 11 | ||||
-rw-r--r-- | board/helios/gpio.inc | 11 | ||||
-rw-r--r-- | board/kindred/gpio.inc | 11 | ||||
-rw-r--r-- | board/kohaku/gpio.inc | 11 |
5 files changed, 55 insertions, 0 deletions
diff --git a/board/akemi/gpio.inc b/board/akemi/gpio.inc index 247724b2d2..1ea8cca58a 100644 --- a/board/akemi/gpio.inc +++ b/board/akemi/gpio.inc @@ -58,6 +58,17 @@ GPIO(CPU_C10_GATE_L, PIN(6, 7), GPIO_INPUT) /* MKBP event synchronization */ GPIO(EC_INT_L, PIN(7, 0), GPIO_ODR_HIGH) +/* + * GPIO_INT_BOTH is required for PSL wake from hibernate, but we don't need an + * interrupt handler because it is automatically handled by the PSL. + * + * We need to lock the setting so this gpio can't be reconfigured to overdrive + * the real reset signal. (This is the PSL input pin not the real reset pin). + */ +GPIO(EC_RST_ODL, PIN(0, 2), GPIO_INT_BOTH | + GPIO_HIB_WAKE_HIGH | + GPIO_LOCKED) + /* USB and USBC Signals */ GPIO(USB_C_OC_ODL, PIN(B, 1), GPIO_ODR_HIGH) GPIO(USB_C0_TCPC_RST, PIN(9, 7), GPIO_OUT_LOW) diff --git a/board/dratini/gpio.inc b/board/dratini/gpio.inc index 8b7142da25..470358e0b3 100644 --- a/board/dratini/gpio.inc +++ b/board/dratini/gpio.inc @@ -61,6 +61,17 @@ GPIO(CPU_C10_GATE_L, PIN(6, 7), GPIO_INPUT) /* MKBP event synchronization */ GPIO(EC_INT_L, PIN(7, 0), GPIO_ODR_HIGH) +/* + * GPIO_INT_BOTH is required for PSL wake from hibernate, but we don't need an + * interrupt handler because it is automatically handled by the PSL. + * + * We need to lock the setting so this gpio can't be reconfigured to overdrive + * the real reset signal. (This is the PSL input pin not the real reset pin). + */ +GPIO(EC_RST_ODL, PIN(0, 2), GPIO_INT_BOTH | + GPIO_HIB_WAKE_HIGH | + GPIO_LOCKED) + /* USB and USBC Signals */ GPIO(USB_C_OC_ODL, PIN(B, 1), GPIO_ODR_HIGH) GPIO(USB_C0_TCPC_RST, PIN(9, 7), GPIO_OUT_LOW) diff --git a/board/helios/gpio.inc b/board/helios/gpio.inc index 90ad1478b6..ab8d9f4388 100644 --- a/board/helios/gpio.inc +++ b/board/helios/gpio.inc @@ -59,6 +59,17 @@ GPIO(CPU_C10_GATE_L, PIN(6, 7), GPIO_INPUT) /* MKBP event synchronization */ GPIO(EC_INT_L, PIN(7, 0), GPIO_ODR_HIGH) +/* + * GPIO_INT_BOTH is required for PSL wake from hibernate, but we don't need an + * interrupt handler because it is automatically handled by the PSL. + * + * We need to lock the setting so this gpio can't be reconfigured to overdrive + * the real reset signal. (This is the PSL input pin not the real reset pin). + */ +GPIO(EC_RST_ODL, PIN(0, 2), GPIO_INT_BOTH | + GPIO_HIB_WAKE_HIGH | + GPIO_LOCKED) + /* USB and USBC Signals */ GPIO(USB_C_OC_ODL, PIN(B, 1), GPIO_ODR_HIGH) GPIO(USB_C0_TCPC_RST_ODL, PIN(9, 7), GPIO_ODR_HIGH) diff --git a/board/kindred/gpio.inc b/board/kindred/gpio.inc index c197eb9f28..91b41a4730 100644 --- a/board/kindred/gpio.inc +++ b/board/kindred/gpio.inc @@ -61,6 +61,17 @@ GPIO(CPU_C10_GATE_L, PIN(6, 7), GPIO_INPUT) /* MKBP event synchronization */ GPIO(EC_INT_L, PIN(7, 0), GPIO_ODR_HIGH) +/* + * GPIO_INT_BOTH is required for PSL wake from hibernate, but we don't need an + * interrupt handler because it is automatically handled by the PSL. + * + * We need to lock the setting so this gpio can't be reconfigured to overdrive + * the real reset signal. (This is the PSL input pin not the real reset pin). + */ +GPIO(EC_RST_ODL, PIN(0, 2), GPIO_INT_BOTH | + GPIO_HIB_WAKE_HIGH | + GPIO_LOCKED) + /* USB and USBC Signals */ GPIO(USB_C_OC_ODL, PIN(B, 1), GPIO_ODR_HIGH) GPIO(USB_C0_TCPC_RST, PIN(9, 7), GPIO_OUT_LOW) diff --git a/board/kohaku/gpio.inc b/board/kohaku/gpio.inc index 73518dea1e..742a570cf8 100644 --- a/board/kohaku/gpio.inc +++ b/board/kohaku/gpio.inc @@ -60,6 +60,17 @@ GPIO(CPU_C10_GATE_L, PIN(6, 7), GPIO_INPUT) /* MKBP event synchronization */ GPIO(EC_INT_L, PIN(7, 0), GPIO_ODR_HIGH) +/* + * GPIO_INT_BOTH is required for PSL wake from hibernate, but we don't need an + * interrupt handler because it is automatically handled by the PSL. + * + * We need to lock the setting so this gpio can't be reconfigured to overdrive + * the real reset signal. (This is the PSL input pin not the real reset pin). + */ +GPIO(EC_RST_ODL, PIN(0, 2), GPIO_INT_BOTH | + GPIO_HIB_WAKE_HIGH | + GPIO_LOCKED) + /* USB and USBC Signals */ GPIO(USB_C_OC_ODL, PIN(B, 1), GPIO_ODR_HIGH) GPIO(USB_C0_TCPC_RST_ODL, PIN(9, 7), GPIO_ODR_HIGH) |