zephyr/drivers/interrupt_controller/Kconfig.shared_irq
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
582 B
Plaintext

# shared_irq configuration options
# Copyright (c) 2015 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
menuconfig SHARED_IRQ
bool "Shared interrupt driver"
default y
depends on DT_HAS_SHARED_IRQ_ENABLED
help
Include shared interrupt support in system. Shared interrupt
support is NOT required in most systems. If in doubt answer no.
config SHARED_IRQ_INIT_PRIORITY
int "Shared IRQ init priority"
depends on SHARED_IRQ
default 45
help
Shared IRQ are initialized on POST_KERNEL init level. They
have to be initialized before any device that uses them.