zephyr/drivers/interrupt_controller/Kconfig.shared_irq
Daniel Leung 7695a72e3c drivers/interrupt_controller: shared_irq: configure by device tree
This allows the shared_irq driver to be configured by device tree.
With previous implementation, only the board configuration can
override the IRQ trigger, as the trigger config is a "choice" rather
than "config". With this patch, the driver can be fully configued at
the SoC level.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2019-02-06 07:18:15 -05:00

45 lines
1.2 KiB
Plaintext

# Kconfig - shared_irq configuration options
#
# Copyright (c) 2015 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig SHARED_IRQ
bool "Shared interrupt driver"
help
Include shared interrupt support in system. Shared interrupt
support is NOT required in most systems. If in doubt answer no.
config SHARED_IRQ_NUM_CLIENTS
int "The number of clients per instance"
depends on SHARED_IRQ
default 5
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.
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.
config SHARED_IRQ_0
bool "Shared interrupt instance 0"
depends on SHARED_IRQ
help
Provide an instance of the shared interrupt driver when system
configuration requires that multiple devices share an interrupt.
config SHARED_IRQ_1
bool "Shared interrupt instance 1"
depends on SHARED_IRQ
help
Provide an instance of the shared interrupt driver when system
configuration requires that multiple devices share an interrupt.