zephyr/drivers/interrupt_controller/Kconfig.it8xxx2
Kumar Gala 8423f23b9c drivers: intc: Update drivers to use devicetree Kconfig symbol
Update intc drivers to use DT_HAS_<compat>_ENABLED Kconfig symbol
to expose the driver and enable it by default based on devicetree.

We remove 'depend on' Kconfig for symbols that would be implied by
the devicetree node existing.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-09-01 10:25:36 +02:00

21 lines
704 B
Plaintext

# Copyright (c) 2015 ITE Corporation
# SPDX-License-Identifier: Apache-2.0
config ITE_IT8XXX2_INTC
def_bool DT_HAS_ITE_IT8XXX2_INTC_ENABLED
depends on DT_HAS_ITE_IT8XXX2_INTC_ENABLED
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.
config ITE_IT8XXX2_WUC
bool "ITE it8xxx2 Wakeup controller (WUC) interface"
default y
depends on DT_HAS_ITE_IT8XXX2_WUC_ENABLED
help
This option enables the wakeup controller interface for IT8XXX2
family.
This is required for KSCAN, UART, eSPI, GPIO etc., interrupt support.