-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: interrupt_controller: Add support for NXP's IRQ_STEER
This commit implements the support for the IRQ_STEER IP which is an interrupt controller employed by some NXP chips. Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
- Loading branch information
1 parent
f007f21
commit 8dd21db
Showing
4 changed files
with
510 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Copyright 2023 NXP | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config NXP_IRQSTEER | ||
bool "IRQ_STEER interrupt controller for NXP chips" | ||
default y | ||
depends on DT_HAS_NXP_IRQSTEER_INTC_ENABLED | ||
help | ||
The IRQSTEER INTC provides support for MUX-ing | ||
multiple interrupts from peripheral to one or | ||
more CPU interrupt lines. This is used for CPUs | ||
such as XTENSA DSPs. | ||
|
||
config NXP_IRQSTEER_ISR_THRESHOLD | ||
int "Error threshold for a dispatcher's ISR" | ||
default 5 | ||
depends on NXP_IRQSTEER | ||
help | ||
This config controls how many times a | ||
dispatcher's ISR is allowed to iterate | ||
over its assigned interrupt status register | ||
before it can conclude that an interrupt | ||
will get retriggered ad-infinitum (or at | ||
least for an unacceptable number of times). |
Oops, something went wrong.