forked from torvalds/linux
-
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 tag 'xtensa-for-next-20150413' of git://github.com/jcmvbkbc/lin…
…ux-xtensa into for_next Xtensa improvements for 4.1: - fix locking issues in ISS network driver; - document PIC and MX interrupt distributor device tree bindings; - add CY7C67300 USB controller support to XTFPGA. Signed-off-by: Chris Zankel <[email protected]>
- Loading branch information
Showing
5 changed files
with
95 additions
and
14 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
Documentation/devicetree/bindings/interrupt-controller/cdns,xtensa-mx.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,18 @@ | ||
* Xtensa Interrupt Distributor and Programmable Interrupt Controller (MX) | ||
|
||
Required properties: | ||
- compatible: Should be "cdns,xtensa-mx". | ||
|
||
Remaining properties have exact same meaning as in Xtensa PIC | ||
(see cdns,xtensa-pic.txt). | ||
|
||
Examples: | ||
pic: pic { | ||
compatible = "cdns,xtensa-mx"; | ||
/* one cell: internal irq number, | ||
* two cells: second cell == 0: internal irq number | ||
* second cell == 1: external irq number | ||
*/ | ||
#interrupt-cells = <2>; | ||
interrupt-controller; | ||
}; |
25 changes: 25 additions & 0 deletions
25
Documentation/devicetree/bindings/interrupt-controller/cdns,xtensa-pic.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 @@ | ||
* Xtensa built-in Programmable Interrupt Controller (PIC) | ||
|
||
Required properties: | ||
- compatible: Should be "cdns,xtensa-pic". | ||
- interrupt-controller: Identifies the node as an interrupt controller. | ||
- #interrupt-cells: The number of cells to define the interrupts. | ||
It may be either 1 or 2. | ||
When it's 1, the first cell is the internal IRQ number. | ||
When it's 2, the first cell is the IRQ number, and the second cell | ||
specifies whether it's internal (0) or external (1). | ||
Periferals are usually connected to a fixed external IRQ, but for different | ||
core variants it may be mapped to different internal IRQ. | ||
IRQ sensitivity and priority are fixed for each core variant and may not be | ||
changed at runtime. | ||
|
||
Examples: | ||
pic: pic { | ||
compatible = "cdns,xtensa-pic"; | ||
/* one cell: internal irq number, | ||
* two cells: second cell == 0: internal irq number | ||
* second cell == 1: external irq number | ||
*/ | ||
#interrupt-cells = <2>; | ||
interrupt-controller; | ||
}; |
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