-
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.
yaml --- r: 329234 b: refs/heads/master c: 3a49431 h: refs/heads/master v: v3
- Loading branch information
Linus Torvalds
committed
Oct 3, 2012
1 parent
4e50082
commit a1ac23b
Showing
757 changed files
with
6,979 additions
and
2,836 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 702e490211b2b7e448ebe1b3a07d97ad2fc07e03 | ||
refs/heads/master: 3a494318b14b1bc0f59d2d6ce84c505c74d82d2a |
95 changes: 95 additions & 0 deletions
95
trunk/Documentation/devicetree/bindings/interrupt-controller/interrupts.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,95 @@ | ||
Specifying interrupt information for devices | ||
============================================ | ||
|
||
1) Interrupt client nodes | ||
------------------------- | ||
|
||
Nodes that describe devices which generate interrupts must contain an | ||
"interrupts" property. This property must contain a list of interrupt | ||
specifiers, one per output interrupt. The format of the interrupt specifier is | ||
determined by the interrupt controller to which the interrupts are routed; see | ||
section 2 below for details. | ||
|
||
The "interrupt-parent" property is used to specify the controller to which | ||
interrupts are routed and contains a single phandle referring to the interrupt | ||
controller node. This property is inherited, so it may be specified in an | ||
interrupt client node or in any of its parent nodes. | ||
|
||
2) Interrupt controller nodes | ||
----------------------------- | ||
|
||
A device is marked as an interrupt controller with the "interrupt-controller" | ||
property. This is a empty, boolean property. An additional "#interrupt-cells" | ||
property defines the number of cells needed to specify a single interrupt. | ||
|
||
It is the responsibility of the interrupt controller's binding to define the | ||
length and format of the interrupt specifier. The following two variants are | ||
commonly used: | ||
|
||
a) one cell | ||
----------- | ||
The #interrupt-cells property is set to 1 and the single cell defines the | ||
index of the interrupt within the controller. | ||
|
||
Example: | ||
|
||
vic: intc@10140000 { | ||
compatible = "arm,versatile-vic"; | ||
interrupt-controller; | ||
#interrupt-cells = <1>; | ||
reg = <0x10140000 0x1000>; | ||
}; | ||
|
||
sic: intc@10003000 { | ||
compatible = "arm,versatile-sic"; | ||
interrupt-controller; | ||
#interrupt-cells = <1>; | ||
reg = <0x10003000 0x1000>; | ||
interrupt-parent = <&vic>; | ||
interrupts = <31>; /* Cascaded to vic */ | ||
}; | ||
|
||
b) two cells | ||
------------ | ||
The #interrupt-cells property is set to 2 and the first cell defines the | ||
index of the interrupt within the controller, while the second cell is used | ||
to specify any of the following flags: | ||
- bits[3:0] trigger type and level flags | ||
1 = low-to-high edge triggered | ||
2 = high-to-low edge triggered | ||
4 = active high level-sensitive | ||
8 = active low level-sensitive | ||
|
||
Example: | ||
|
||
i2c@7000c000 { | ||
gpioext: gpio-adnp@41 { | ||
compatible = "ad,gpio-adnp"; | ||
reg = <0x41>; | ||
|
||
interrupt-parent = <&gpio>; | ||
interrupts = <160 1>; | ||
|
||
gpio-controller; | ||
#gpio-cells = <1>; | ||
|
||
interrupt-controller; | ||
#interrupt-cells = <2>; | ||
|
||
nr-gpios = <64>; | ||
}; | ||
|
||
sx8634@2b { | ||
compatible = "smtc,sx8634"; | ||
reg = <0x2b>; | ||
|
||
interrupt-parent = <&gpioext>; | ||
interrupts = <3 0x8>; | ||
|
||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
threshold = <0x40>; | ||
sensitivity = <7>; | ||
}; | ||
}; |
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
35 changes: 35 additions & 0 deletions
35
trunk/Documentation/devicetree/bindings/serial/fsl-imx-uart.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,35 @@ | ||
* Freescale i.MX UART controller | ||
|
||
Required properties: | ||
- compatible : should be "fsl,imx21-uart" | ||
- reg : Address and length of the register set for the device | ||
- interrupts : Should contain UART interrupt number | ||
|
||
Optional properties: | ||
- fsl,uart-has-rtscts: indicate that RTS/CTS signals are used | ||
|
||
Note: Each uart controller should have an alias correctly numbered | ||
in "aliases" node. | ||
|
||
Example: | ||
|
||
- From imx51.dtsi: | ||
aliases { | ||
serial0 = &uart1; | ||
serial1 = &uart2; | ||
serial2 = &uart3; | ||
}; | ||
|
||
uart1: serial@73fbc000 { | ||
compatible = "fsl,imx51-uart", "fsl,imx21-uart"; | ||
reg = <0x73fbc000 0x4000>; | ||
interrupts = <31>; | ||
status = "disabled"; | ||
} | ||
|
||
- From imx51-babbage.dts: | ||
uart1: serial@73fbc000 { | ||
fsl,uart-has-rtscts; | ||
status = "okay"; | ||
}; | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# UAPI Header export list | ||
include include/uapi/asm-generic/Kbuild.asm | ||
|
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 |
---|---|---|
|
@@ -19,7 +19,7 @@ | |
|
||
#ifndef CONFIG_MMU | ||
|
||
#include "page-nommu.h" | ||
#include <asm/page-nommu.h> | ||
|
||
#else | ||
|
||
|
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,3 @@ | ||
# UAPI Header export list | ||
include include/uapi/asm-generic/Kbuild.asm | ||
|
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,3 @@ | ||
# UAPI Header export list | ||
include include/uapi/asm-generic/Kbuild.asm | ||
|
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,3 @@ | ||
# UAPI Header export list | ||
include include/uapi/asm-generic/Kbuild.asm | ||
|
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,3 @@ | ||
# UAPI Header export list | ||
include include/uapi/asm-generic/Kbuild.asm | ||
|
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,3 @@ | ||
# UAPI Header export list | ||
include include/uapi/asm-generic/Kbuild.asm | ||
|
Oops, something went wrong.