-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'irqchip/stacked-tegra' into irqchip/core
- Loading branch information
Showing
11 changed files
with
488 additions
and
227 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
Documentation/devicetree/bindings/interrupt-controller/nvidia,tegra-ictlr.txt
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,43 @@ | ||
NVIDIA Legacy Interrupt Controller | ||
|
||
All Tegra SoCs contain a legacy interrupt controller that routes | ||
interrupts to the GIC, and also serves as a wakeup source. It is also | ||
referred to as "ictlr", hence the name of the binding. | ||
|
||
The HW block exposes a number of interrupt controllers, each | ||
implementing a set of 32 interrupts. | ||
|
||
Required properties: | ||
|
||
- compatible : should be: "nvidia,tegra<chip>-ictlr". The LIC on | ||
subsequent SoCs remained backwards-compatible with Tegra30, so on | ||
Tegra generations later than Tegra30 the compatible value should | ||
include "nvidia,tegra30-ictlr". | ||
- reg : Specifies base physical address and size of the registers. | ||
Each controller must be described separately (Tegra20 has 4 of them, | ||
whereas Tegra30 and later have 5" | ||
- interrupt-controller : Identifies the node as an interrupt controller. | ||
- #interrupt-cells : Specifies the number of cells needed to encode an | ||
interrupt source. The value must be 3. | ||
- interrupt-parent : a phandle to the GIC these interrupts are routed | ||
to. | ||
|
||
Notes: | ||
|
||
- Because this HW ultimately routes interrupts to the GIC, the | ||
interrupt specifier must be that of the GIC. | ||
- Only SPIs can use the ictlr as an interrupt parent. SGIs and PPIs | ||
are explicitly forbidden. | ||
|
||
Example: | ||
|
||
ictlr: interrupt-controller@60004000 { | ||
compatible = "nvidia,tegra20-ictlr", "nvidia,tegra-ictlr"; | ||
reg = <0x60004000 64>, | ||
<0x60004100 64>, | ||
<0x60004200 64>, | ||
<0x60004300 64>; | ||
interrupt-controller; | ||
#interrupt-cells = <3>; | ||
interrupt-parent = <&intc>; | ||
}; |
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
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
Oops, something went wrong.