1# NPCX GPIO driver configuration options
2
3# Copyright (c) 2020 Nuvoton Technology Corporation.
4# SPDX-License-Identifier: Apache-2.0
5
6config NPCX_MIWU
7	bool "Nuvoton NPCX embedded controller (EC) miwu driver"
8	default y
9	depends on DT_HAS_NUVOTON_NPCX_MIWU_ENABLED
10	help
11	  This option enables the Multi-Input Wake-Up Unit (MIWU) driver
12	  for NPCX family of processors.
13	  This is required for GPIO, RTC, LPC/eSPI interrupt support.
14
15config NPCX_MIWU_BOTH_EDGE_TRIG_WORKAROUND
16	bool
17	default y if SOC_NPCX9M7FB
18	help
19	  Workaround the issue "MIWU Any Edge Trigger Condition"
20	  in the npcx9m7fb SoC errata.
21