-
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.
- Loading branch information
Linus Torvalds
committed
May 26, 2012
1 parent
27b37e5
commit e7f7881
Showing
677 changed files
with
28,022 additions
and
19,080 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: 2c66f623631709aa5f2e4c14c7e089682e7394a3 | ||
refs/heads/master: 1e2aec873ad6d16538512dbb96853caa1fa076af |
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
52 changes: 52 additions & 0 deletions
52
trunk/Documentation/devicetree/bindings/arm/samsung/interrupt-combiner.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,52 @@ | ||
* Samsung Exynos Interrupt Combiner Controller | ||
|
||
Samsung's Exynos4 architecture includes a interrupt combiner controller which | ||
can combine interrupt sources as a group and provide a single interrupt request | ||
for the group. The interrupt request from each group are connected to a parent | ||
interrupt controller, such as GIC in case of Exynos4210. | ||
|
||
The interrupt combiner controller consists of multiple combiners. Upto eight | ||
interrupt sources can be connected to a combiner. The combiner outputs one | ||
combined interrupt for its eight interrupt sources. The combined interrupt | ||
is usually connected to a parent interrupt controller. | ||
|
||
A single node in the device tree is used to describe the interrupt combiner | ||
controller module (which includes multiple combiners). A combiner in the | ||
interrupt controller module shares config/control registers with other | ||
combiners. For example, a 32-bit interrupt enable/disable config register | ||
can accommodate upto 4 interrupt combiners (with each combiner supporting | ||
upto 8 interrupt sources). | ||
|
||
Required properties: | ||
- compatible: should be "samsung,exynos4210-combiner". | ||
- interrupt-controller: Identifies the node as an interrupt controller. | ||
- #interrupt-cells: should be <2>. The meaning of the cells are | ||
* First Cell: Combiner Group Number. | ||
* Second Cell: Interrupt number within the group. | ||
- reg: Base address and size of interrupt combiner registers. | ||
- interrupts: The list of interrupts generated by the combiners which are then | ||
connected to a parent interrupt controller. The format of the interrupt | ||
specifier depends in the interrupt parent controller. | ||
|
||
Optional properties: | ||
- samsung,combiner-nr: The number of interrupt combiners supported. If this | ||
property is not specified, the default number of combiners is assumed | ||
to be 16. | ||
- interrupt-parent: pHandle of the parent interrupt controller, if not | ||
inherited from the parent node. | ||
|
||
|
||
Example: | ||
|
||
The following is a an example from the Exynos4210 SoC dtsi file. | ||
|
||
combiner:interrupt-controller@10440000 { | ||
compatible = "samsung,exynos4210-combiner"; | ||
interrupt-controller; | ||
#interrupt-cells = <2>; | ||
reg = <0x10440000 0x1000>; | ||
interrupts = <0 0 0>, <0 1 0>, <0 2 0>, <0 3 0>, | ||
<0 4 0>, <0 5 0>, <0 6 0>, <0 7 0>, | ||
<0 8 0>, <0 9 0>, <0 10 0>, <0 11 0>, | ||
<0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>; | ||
}; |
18 changes: 18 additions & 0 deletions
18
trunk/Documentation/devicetree/bindings/arm/spear-timer.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 @@ | ||
* SPEAr ARM Timer | ||
|
||
** Timer node required properties: | ||
|
||
- compatible : Should be: | ||
"st,spear-timer" | ||
- reg: Address range of the timer registers | ||
- interrupt-parent: Should be the phandle for the interrupt controller | ||
that services interrupts for this device | ||
- interrupt: Should contain the timer interrupt number | ||
|
||
Example: | ||
|
||
timer@f0000000 { | ||
compatible = "st,spear-timer"; | ||
reg = <0xf0000000 0x400>; | ||
interrupts = <2>; | ||
}; |
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
11 changes: 11 additions & 0 deletions
11
trunk/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-ahb.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,11 @@ | ||
NVIDIA Tegra AHB | ||
|
||
Required properties: | ||
- compatible : "nvidia,tegra20-ahb" or "nvidia,tegra30-ahb" | ||
- reg : Should contain 1 register ranges(address and length) | ||
|
||
Example: | ||
ahb: ahb@6000c004 { | ||
compatible = "nvidia,tegra20-ahb"; | ||
reg = <0x6000c004 0x10c>; /* AHB Arbitration + Gizmo Controller */ | ||
}; |
19 changes: 19 additions & 0 deletions
19
trunk/Documentation/devicetree/bindings/dma/fsl-mxs-dma.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,19 @@ | ||
* Freescale MXS DMA | ||
|
||
Required properties: | ||
- compatible : Should be "fsl,<chip>-dma-apbh" or "fsl,<chip>-dma-apbx" | ||
- reg : Should contain registers location and length | ||
|
||
Supported chips: | ||
imx23, imx28. | ||
|
||
Examples: | ||
dma-apbh@80004000 { | ||
compatible = "fsl,imx28-dma-apbh"; | ||
reg = <0x80004000 2000>; | ||
}; | ||
|
||
dma-apbx@80024000 { | ||
compatible = "fsl,imx28-dma-apbx"; | ||
reg = <0x80024000 2000>; | ||
}; |
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,87 @@ | ||
* Freescale MXS GPIO controller | ||
|
||
The Freescale MXS GPIO controller is part of MXS PIN controller. The | ||
GPIOs are organized in port/bank. Each port consists of 32 GPIOs. | ||
|
||
As the GPIO controller is embedded in the PIN controller and all the | ||
GPIO ports share the same IO space with PIN controller, the GPIO node | ||
will be represented as sub-nodes of MXS pinctrl node. | ||
|
||
Required properties for GPIO node: | ||
- compatible : Should be "fsl,<soc>-gpio". The supported SoCs include | ||
imx23 and imx28. | ||
- interrupts : Should be the port interrupt shared by all 32 pins. | ||
- gpio-controller : Marks the device node as a gpio controller. | ||
- #gpio-cells : Should be two. The first cell is the pin number and | ||
the second cell is used to specify optional parameters (currently | ||
unused). | ||
- interrupt-controller: Marks the device node as an interrupt controller. | ||
- #interrupt-cells : Should be 2. The first cell is the GPIO number. | ||
The second cell bits[3:0] is used to specify 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. | ||
|
||
Note: Each GPIO port should have an alias correctly numbered in "aliases" | ||
node. | ||
|
||
Examples: | ||
|
||
aliases { | ||
gpio0 = &gpio0; | ||
gpio1 = &gpio1; | ||
gpio2 = &gpio2; | ||
gpio3 = &gpio3; | ||
gpio4 = &gpio4; | ||
}; | ||
|
||
pinctrl@80018000 { | ||
compatible = "fsl,imx28-pinctrl", "simple-bus"; | ||
reg = <0x80018000 2000>; | ||
|
||
gpio0: gpio@0 { | ||
compatible = "fsl,imx28-gpio"; | ||
interrupts = <127>; | ||
gpio-controller; | ||
#gpio-cells = <2>; | ||
interrupt-controller; | ||
#interrupt-cells = <2>; | ||
}; | ||
|
||
gpio1: gpio@1 { | ||
compatible = "fsl,imx28-gpio"; | ||
interrupts = <126>; | ||
gpio-controller; | ||
#gpio-cells = <2>; | ||
interrupt-controller; | ||
#interrupt-cells = <2>; | ||
}; | ||
|
||
gpio2: gpio@2 { | ||
compatible = "fsl,imx28-gpio"; | ||
interrupts = <125>; | ||
gpio-controller; | ||
#gpio-cells = <2>; | ||
interrupt-controller; | ||
#interrupt-cells = <2>; | ||
}; | ||
|
||
gpio3: gpio@3 { | ||
compatible = "fsl,imx28-gpio"; | ||
interrupts = <124>; | ||
gpio-controller; | ||
#gpio-cells = <2>; | ||
interrupt-controller; | ||
#interrupt-cells = <2>; | ||
}; | ||
|
||
gpio4: gpio@4 { | ||
compatible = "fsl,imx28-gpio"; | ||
interrupts = <123>; | ||
gpio-controller; | ||
#gpio-cells = <2>; | ||
interrupt-controller; | ||
#interrupt-cells = <2>; | ||
}; | ||
}; |
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,16 @@ | ||
* Freescale MXS Inter IC (I2C) Controller | ||
|
||
Required properties: | ||
- compatible: Should be "fsl,<chip>-i2c" | ||
- reg: Should contain registers location and length | ||
- interrupts: Should contain ERROR and DMA interrupts | ||
|
||
Examples: | ||
|
||
i2c0: i2c@80058000 { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
compatible = "fsl,imx28-i2c"; | ||
reg = <0x80058000 2000>; | ||
interrupts = <111 68>; | ||
}; |
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,60 @@ | ||
Common i2c bus multiplexer/switch properties. | ||
|
||
An i2c bus multiplexer/switch will have several child busses that are | ||
numbered uniquely in a device dependent manner. The nodes for an i2c bus | ||
multiplexer/switch will have one child node for each child | ||
bus. | ||
|
||
Required properties: | ||
- #address-cells = <1>; | ||
- #size-cells = <0>; | ||
|
||
Required properties for child nodes: | ||
- #address-cells = <1>; | ||
- #size-cells = <0>; | ||
- reg : The sub-bus number. | ||
|
||
Optional properties for child nodes: | ||
- Other properties specific to the multiplexer/switch hardware. | ||
- Child nodes conforming to i2c bus binding | ||
|
||
|
||
Example : | ||
|
||
/* | ||
An NXP pca9548 8 channel I2C multiplexer at address 0x70 | ||
with two NXP pca8574 GPIO expanders attached, one each to | ||
ports 3 and 4. | ||
*/ | ||
|
||
mux@70 { | ||
compatible = "nxp,pca9548"; | ||
reg = <0x70>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
i2c@3 { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
reg = <3>; | ||
|
||
gpio1: gpio@38 { | ||
compatible = "nxp,pca8574"; | ||
reg = <0x38>; | ||
#gpio-cells = <2>; | ||
gpio-controller; | ||
}; | ||
}; | ||
i2c@4 { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
reg = <4>; | ||
|
||
gpio2: gpio@38 { | ||
compatible = "nxp,pca8574"; | ||
reg = <0x38>; | ||
#gpio-cells = <2>; | ||
gpio-controller; | ||
}; | ||
}; | ||
}; |
Oops, something went wrong.