2020-09-09 11:36:28 +08:00
|
|
|
# Copyright (c) 2015 ITE Corporation
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2022-10-05 14:05:43 +08:00
|
|
|
config HAS_ITE_INTC
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
This option is selected when ITE_IT8XXX2_INTC or
|
|
|
|
ITE_IT8XXX2_INTC_V2 is enabled.
|
|
|
|
|
2020-09-09 11:36:28 +08:00
|
|
|
config ITE_IT8XXX2_INTC
|
2022-07-22 14:46:51 +08:00
|
|
|
def_bool DT_HAS_ITE_IT8XXX2_INTC_ENABLED
|
|
|
|
depends on DT_HAS_ITE_IT8XXX2_INTC_ENABLED
|
2022-10-05 14:05:43 +08:00
|
|
|
select HAS_ITE_INTC
|
2020-09-09 11:36:28 +08:00
|
|
|
help
|
|
|
|
Configures the maximum number of clients allowed per shared
|
|
|
|
instance of the shared interrupt driver. To conserve RAM set
|
|
|
|
this value to the lowest practical value.
|
|
|
|
this software interrupt default set on by device tree.
|
2021-09-07 13:45:39 +08:00
|
|
|
|
2022-10-05 14:05:43 +08:00
|
|
|
config ITE_IT8XXX2_INTC_V2
|
|
|
|
def_bool DT_HAS_ITE_IT8XXX2_INTC_V2_ENABLED
|
|
|
|
depends on DT_HAS_ITE_IT8XXX2_INTC_V2_ENABLED
|
|
|
|
select HAS_ITE_INTC
|
|
|
|
help
|
|
|
|
This option enables the interrupt controller for IT82XX2 family.
|
|
|
|
|
2021-09-07 13:45:39 +08:00
|
|
|
config ITE_IT8XXX2_WUC
|
|
|
|
bool "ITE it8xxx2 Wakeup controller (WUC) interface"
|
2022-07-22 14:46:51 +08:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_ITE_IT8XXX2_WUC_ENABLED
|
2021-09-07 13:45:39 +08:00
|
|
|
help
|
|
|
|
This option enables the wakeup controller interface for IT8XXX2
|
|
|
|
family.
|
|
|
|
This is required for KSCAN, UART, eSPI, GPIO etc., interrupt support.
|