summaryrefslogtreecommitdiff
path: root/chip/npcx/gpio_chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/npcx/gpio_chip.h')
-rw-r--r--chip/npcx/gpio_chip.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chip/npcx/gpio_chip.h b/chip/npcx/gpio_chip.h
index b5fcec20c8..6d704a5e6a 100644
--- a/chip/npcx/gpio_chip.h
+++ b/chip/npcx/gpio_chip.h
@@ -11,6 +11,8 @@
#define WUI(tbl, grp, idx) ((struct npcx_wui) { .table = tbl, .group = grp, \
.bit = idx })
#define WUI_INT(tbl, grp) WUI(tbl, grp, 0)
+#define WUI_NONE ((struct npcx_wui) { .table = MIWU_TABLE_COUNT, .group = 0, \
+ .bit = 0 })
/* Macros to initialize the alternative and low voltage mapping table. */
#define NPCX_GPIO_NONE ((struct npcx_gpio) {.port = 0, .bit = 0, .valid = 0})
@@ -43,6 +45,9 @@ void npcx_uart2gpio(void);
*/
void npcx_gpio2uart(void);
+/* Set input buffer of all 1.8v i2c ports. */
+void gpio_enable_1p8v_i2c_wake_up_input(int enable);
+
/*
* Include the MIWU, alternative and low-Voltage macro functions for GPIOs
* depends on Nuvoton chip series.