drivers: gpio: npcx: workaround both trigger issue for npcx9m7fb

Apply the workaround for the issue "MIWU Any Edge Trigger Condition" in
the NPCX99nFB_Errata.

Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
This commit is contained in:
Jun Lin 2024-01-30 16:33:32 +08:00 committed by Fabio Baltieri
commit 0bf4ec6d7b
3 changed files with 105 additions and 3 deletions

View file

@ -396,6 +396,8 @@ struct uart_reg {
(*(volatile uint8_t *)(base + NPCX_WKINEN_OFFSET(group)))
#define NPCX_WKMOD(base, group) \
(*(volatile uint8_t *)(base + NPCX_WKMOD_OFFSET(group)))
#define NPCX_WKST(base, group) \
(*(volatile uint8_t *)(base + NPCX_WKST_OFFSET(group)))
/*
* General-Purpose I/O (GPIO) device registers