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

11 lines
311 B
Plaintext

# Copyright (c) 2021 Teslabs Engineering S.L.
# SPDX-License-Identifier: Apache-2.0
config GD32_EXTI
bool "GD32 Extended Interrupts and Events (EXTI) Controller"
default y
depends on DT_HAS_GD_GD32_EXTI_ENABLED
help
Enable the GigaDevice GD32 Extended Interrupts and Events (EXTI)
controller driver.