forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'irqchip-4.13' of git://git.kernel.org/pub/scm/linux/kernel…
…/git/maz/arm-platforms into irq/core Pull irqchip updates for v4.13 from Marc Zyngier - support for the new Marvell wire-to-MSI bridge - support for the Aspeed I2C irqchip - Armada XP370 per-cpu interrupt fixes - GICv3 ITS ACPI NUMA support - sunxi-nmi cleanup and updates for new platform support - various GICv3 ITS cleanups and fixes - some constifying in various places
- Loading branch information
Showing
25 changed files
with
1,134 additions
and
90 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
25 changes: 25 additions & 0 deletions
25
Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-i2c-ic.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,25 @@ | ||
Device tree configuration for the I2C Interrupt Controller on the AST24XX and | ||
AST25XX SoCs. | ||
|
||
Required Properties: | ||
- #address-cells : should be 1 | ||
- #size-cells : should be 1 | ||
- #interrupt-cells : should be 1 | ||
- compatible : should be "aspeed,ast2400-i2c-ic" | ||
or "aspeed,ast2500-i2c-ic" | ||
- reg : address start and range of controller | ||
- interrupts : interrupt number | ||
- interrupt-controller : denotes that the controller receives and fires | ||
new interrupts for child busses | ||
|
||
Example: | ||
|
||
i2c_ic: interrupt-controller@0 { | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
#interrupt-cells = <1>; | ||
compatible = "aspeed,ast2400-i2c-ic"; | ||
reg = <0x0 0x40>; | ||
interrupts = <12>; | ||
interrupt-controller; | ||
}; |
9 changes: 5 additions & 4 deletions
9
Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-vic.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
27 changes: 27 additions & 0 deletions
27
Documentation/devicetree/bindings/interrupt-controller/marvell,gicp.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,27 @@ | ||
Marvell GICP Controller | ||
----------------------- | ||
|
||
GICP is a Marvell extension of the GIC that allows to trigger GIC SPI | ||
interrupts by doing a memory transaction. It is used by the ICU | ||
located in the Marvell CP110 to turn wired interrupts inside the CP | ||
into GIC SPI interrupts. | ||
|
||
Required properties: | ||
|
||
- compatible: Must be "marvell,ap806-gicp" | ||
|
||
- reg: Must be the address and size of the GICP SPI registers | ||
|
||
- marvell,spi-ranges: tuples of GIC SPI interrupts ranges available | ||
for this GICP | ||
|
||
- msi-controller: indicates that this is an MSI controller | ||
|
||
Example: | ||
|
||
gicp_spi: gicp-spi@3f0040 { | ||
compatible = "marvell,ap806-gicp"; | ||
reg = <0x3f0040 0x10>; | ||
marvell,spi-ranges = <64 64>, <288 64>; | ||
msi-controller; | ||
}; |
51 changes: 51 additions & 0 deletions
51
Documentation/devicetree/bindings/interrupt-controller/marvell,icu.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,51 @@ | ||
Marvell ICU Interrupt Controller | ||
-------------------------------- | ||
|
||
The Marvell ICU (Interrupt Consolidation Unit) controller is | ||
responsible for collecting all wired-interrupt sources in the CP and | ||
communicating them to the GIC in the AP, the unit translates interrupt | ||
requests on input wires to MSG memory mapped transactions to the GIC. | ||
|
||
Required properties: | ||
|
||
- compatible: Should be "marvell,cp110-icu" | ||
|
||
- reg: Should contain ICU registers location and length. | ||
|
||
- #interrupt-cells: Specifies the number of cells needed to encode an | ||
interrupt source. The value shall be 3. | ||
|
||
The 1st cell is the group type of the ICU interrupt. Possible group | ||
types are: | ||
|
||
ICU_GRP_NSR (0x0) : Shared peripheral interrupt, non-secure | ||
ICU_GRP_SR (0x1) : Shared peripheral interrupt, secure | ||
ICU_GRP_SEI (0x4) : System error interrupt | ||
ICU_GRP_REI (0x5) : RAM error interrupt | ||
|
||
The 2nd cell is the index of the interrupt in the ICU unit. | ||
|
||
The 3rd cell is the type of the interrupt. See arm,gic.txt for | ||
details. | ||
|
||
- interrupt-controller: Identifies the node as an interrupt | ||
controller. | ||
|
||
- msi-parent: Should point to the GICP controller, the GIC extension | ||
that allows to trigger interrupts using MSG memory mapped | ||
transactions. | ||
|
||
Example: | ||
|
||
icu: interrupt-controller@1e0000 { | ||
compatible = "marvell,cp110-icu"; | ||
reg = <0x1e0000 0x10>; | ||
#interrupt-cells = <3>; | ||
interrupt-controller; | ||
msi-parent = <&gicp>; | ||
}; | ||
|
||
usb3h0: usb3@500000 { | ||
interrupt-parent = <&icu>; | ||
interrupts = <ICU_GRP_NSR 106 IRQ_TYPE_LEVEL_HIGH>; | ||
}; |
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.