1# Copyright (c) 2015 ITE Corporation
2# SPDX-License-Identifier: Apache-2.0
3
4config HAS_ITE_INTC
5	bool
6	help
7	  This option is selected when ITE_IT8XXX2_INTC or
8	  ITE_IT8XXX2_INTC_V2 is enabled.
9
10config ITE_IT8XXX2_INTC
11	def_bool DT_HAS_ITE_IT8XXX2_INTC_ENABLED
12	depends on DT_HAS_ITE_IT8XXX2_INTC_ENABLED
13	select HAS_ITE_INTC
14	help
15	 Configures the maximum number of clients allowed per shared
16	 instance of the shared interrupt driver. To conserve RAM set
17	 this value to the lowest practical value.
18	 this software interrupt default set on by device tree.
19
20config ITE_IT8XXX2_INTC_V2
21	def_bool DT_HAS_ITE_IT8XXX2_INTC_V2_ENABLED
22	depends on DT_HAS_ITE_IT8XXX2_INTC_V2_ENABLED
23	select HAS_ITE_INTC
24	help
25	  This option enables the interrupt controller for IT82XX2 family.
26
27config ITE_IT8XXX2_WUC
28	bool "ITE it8xxx2 Wakeup controller (WUC) interface"
29	default y
30	depends on DT_HAS_ITE_IT8XXX2_WUC_ENABLED
31	help
32	 This option enables the wakeup controller interface for IT8XXX2
33	 family.
34	 This is required for KSCAN, UART, eSPI, GPIO etc., interrupt support.
35