zephyr/drivers/interrupt_controller/Kconfig.npcx
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

14 lines
434 B
Plaintext

# NPCX GPIO driver configuration options
# Copyright (c) 2020 Nuvoton Technology Corporation.
# SPDX-License-Identifier: Apache-2.0
config NPCX_MIWU
bool "Nuvoton NPCX embedded controller (EC) miwu driver"
default y
depends on DT_HAS_NUVOTON_NPCX_MIWU_ENABLED
help
This option enables the Multi-Input Wake-Up Unit (MIWU) driver
for NPCX family of processors.
This is required for GPIO, RTC, LPC/eSPI interrupt support.