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

13 lines
371 B
Plaintext

# SAM0 EIC configuration
# Copyright (c) 2019 Derek Hageman <hageman@inthat.cloud>
# SPDX-License-Identifier: Apache-2.0
config SAM0_EIC
bool "External Interrupt Controller (EIC) Driver for SAM0 series devices"
default y
depends on DT_HAS_ATMEL_SAM0_EIC_ENABLED
help
Enable EIC driver for SAM0 series of devices. This is required for
GPIO interrupt support.