-
Notifications
You must be signed in to change notification settings - Fork 7k
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 driver for NXP's IRQ_STEER IP
This commit introduces a new interrupt controller driver used for NXP's IRQ_STEER IP. Apart from introducing the driver itself, this commit contains the following changes: 1) Switch i.MX8MP to using the XTENSA core interrupt controller instead of the dummy irqsteer one. * this is required because the binding for the irqsteer driver is no longer a dummy one (since it's being used by the irqsteer driver). As such, to avoid having problems, switch to using another dummy binding. 2) Modify the irqsteer dummy binding such that it serves the IRQ_STEER driver's needs. Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
- Loading branch information
1 parent
174b939
commit 1279402
Showing
7 changed files
with
581 additions
and
16 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,26 @@ | ||
# 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 | ||
depends on MULTI_LEVEL_INTERRUPTS | ||
depends on XTENSA | ||
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.