-
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: 333276 b: refs/heads/master c: 14ffe00 h: refs/heads/master v: v3
- Loading branch information
Linus Torvalds
committed
Oct 11, 2012
1 parent
6d2e38a
commit 4f75193
Showing
1,382 changed files
with
82,746 additions
and
23,823 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: ec073619cdda99ffb6a07d3b8000569f5210815a | ||
refs/heads/master: 14ffe009ca60856555df3aec942239d8beed74d3 |
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
51 changes: 51 additions & 0 deletions
51
trunk/Documentation/devicetree/bindings/arm/davinci/nand.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 @@ | ||
* Texas Instruments Davinci NAND | ||
|
||
This file provides information, what the device node for the | ||
davinci nand interface contain. | ||
|
||
Required properties: | ||
- compatible: "ti,davinci-nand"; | ||
- reg : contain 2 offset/length values: | ||
- offset and length for the access window | ||
- offset and length for accessing the aemif control registers | ||
- ti,davinci-chipselect: Indicates on the davinci_nand driver which | ||
chipselect is used for accessing the nand. | ||
|
||
Recommended properties : | ||
- ti,davinci-mask-ale: mask for ale | ||
- ti,davinci-mask-cle: mask for cle | ||
- ti,davinci-mask-chipsel: mask for chipselect | ||
- ti,davinci-ecc-mode: ECC mode valid values for davinci driver: | ||
- "none" | ||
- "soft" | ||
- "hw" | ||
- ti,davinci-ecc-bits: used ECC bits, currently supported 1 or 4. | ||
- ti,davinci-nand-buswidth: buswidth 8 or 16 | ||
- ti,davinci-nand-use-bbt: use flash based bad block table support. | ||
|
||
Example (enbw_cmc board): | ||
aemif@60000000 { | ||
compatible = "ti,davinci-aemif"; | ||
#address-cells = <2>; | ||
#size-cells = <1>; | ||
reg = <0x68000000 0x80000>; | ||
ranges = <2 0 0x60000000 0x02000000 | ||
3 0 0x62000000 0x02000000 | ||
4 0 0x64000000 0x02000000 | ||
5 0 0x66000000 0x02000000 | ||
6 0 0x68000000 0x02000000>; | ||
nand@3,0 { | ||
compatible = "ti,davinci-nand"; | ||
reg = <3 0x0 0x807ff | ||
6 0x0 0x8000>; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
ti,davinci-chipselect = <1>; | ||
ti,davinci-mask-ale = <0>; | ||
ti,davinci-mask-cle = <0>; | ||
ti,davinci-mask-chipsel = <0>; | ||
ti,davinci-ecc-mode = "hw"; | ||
ti,davinci-ecc-bits = <4>; | ||
ti,davinci-nand-use-bbt; | ||
}; | ||
}; |
68 changes: 68 additions & 0 deletions
68
trunk/Documentation/devicetree/bindings/mmc/atmel-hsmci.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,68 @@ | ||
* Atmel High Speed MultiMedia Card Interface | ||
|
||
This controller on atmel products provides an interface for MMC, SD and SDIO | ||
types of memory cards. | ||
|
||
This file documents differences between the core properties described | ||
by mmc.txt and the properties used by the atmel-mci driver. | ||
|
||
1) MCI node | ||
|
||
Required properties: | ||
- compatible: should be "atmel,hsmci" | ||
- #address-cells: should be one. The cell is the slot id. | ||
- #size-cells: should be zero. | ||
- at least one slot node | ||
|
||
The node contains child nodes for each slot that the platform uses | ||
|
||
Example MCI node: | ||
|
||
mmc0: mmc@f0008000 { | ||
compatible = "atmel,hsmci"; | ||
reg = <0xf0008000 0x600>; | ||
interrupts = <12 4>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
[ child node definitions...] | ||
}; | ||
|
||
2) slot nodes | ||
|
||
Required properties: | ||
- reg: should contain the slot id. | ||
- bus-width: number of data lines connected to the controller | ||
|
||
Optional properties: | ||
- cd-gpios: specify GPIOs for card detection | ||
- cd-inverted: invert the value of external card detect gpio line | ||
- wp-gpios: specify GPIOs for write protection | ||
|
||
Example slot node: | ||
|
||
slot@0 { | ||
reg = <0>; | ||
bus-width = <4>; | ||
cd-gpios = <&pioD 15 0> | ||
cd-inverted; | ||
}; | ||
|
||
Example full MCI node: | ||
mmc0: mmc@f0008000 { | ||
compatible = "atmel,hsmci"; | ||
reg = <0xf0008000 0x600>; | ||
interrupts = <12 4>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
slot@0 { | ||
reg = <0>; | ||
bus-width = <4>; | ||
cd-gpios = <&pioD 15 0> | ||
cd-inverted; | ||
}; | ||
slot@1 { | ||
reg = <1>; | ||
bus-width = <4>; | ||
}; | ||
}; |
87 changes: 87 additions & 0 deletions
87
trunk/Documentation/devicetree/bindings/mmc/exynos-dw-mshc.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,87 @@ | ||
* Samsung Exynos specific extensions to the Synopsis Designware Mobile | ||
Storage Host Controller | ||
|
||
The Synopsis designware mobile storage host controller is used to interface | ||
a SoC with storage medium such as eMMC or SD/MMC cards. This file documents | ||
differences between the core Synopsis dw mshc controller properties described | ||
by synposis-dw-mshc.txt and the properties used by the Samsung Exynos specific | ||
extensions to the Synopsis Designware Mobile Storage Host Controller. | ||
|
||
Required Properties: | ||
|
||
* compatible: should be | ||
- "samsung,exynos4210-dw-mshc": for controllers with Samsung Exynos4210 | ||
specific extentions. | ||
- "samsung,exynos4412-dw-mshc": for controllers with Samsung Exynos4412 | ||
specific extentions. | ||
- "samsung,exynos5250-dw-mshc": for controllers with Samsung Exynos5250 | ||
specific extentions. | ||
|
||
* samsung,dw-mshc-ciu-div: Specifies the divider value for the card interface | ||
unit (ciu) clock. This property is applicable only for Exynos5 SoC's and | ||
ignored for Exynos4 SoC's. The valid range of divider value is 0 to 7. | ||
|
||
* samsung,dw-mshc-sdr-timing: Specifies the value of CIU clock phase shift value | ||
in transmit mode and CIU clock phase shift value in receive mode for single | ||
data rate mode operation. Refer notes below for the order of the cells and the | ||
valid values. | ||
|
||
* samsung,dw-mshc-ddr-timing: Specifies the value of CUI clock phase shift value | ||
in transmit mode and CIU clock phase shift value in receive mode for double | ||
data rate mode operation. Refer notes below for the order of the cells and the | ||
valid values. | ||
|
||
Notes for the sdr-timing and ddr-timing values: | ||
|
||
The order of the cells should be | ||
- First Cell: CIU clock phase shift value for tx mode. | ||
- Second Cell: CIU clock phase shift value for rx mode. | ||
|
||
Valid values for SDR and DDR CIU clock timing for Exynos5250: | ||
- valid value for tx phase shift and rx phase shift is 0 to 7. | ||
- when CIU clock divider value is set to 3, all possible 8 phase shift | ||
values can be used. | ||
- if CIU clock divider value is 0 (that is divide by 1), both tx and rx | ||
phase shift clocks should be 0. | ||
|
||
Required properties for a slot: | ||
|
||
* gpios: specifies a list of gpios used for command, clock and data bus. The | ||
first gpio is the command line and the second gpio is the clock line. The | ||
rest of the gpios (depending on the bus-width property) are the data lines in | ||
no particular order. The format of the gpio specifier depends on the gpio | ||
controller. | ||
|
||
Example: | ||
|
||
The MSHC controller node can be split into two portions, SoC specific and | ||
board specific portions as listed below. | ||
|
||
dwmmc0@12200000 { | ||
compatible = "samsung,exynos5250-dw-mshc"; | ||
reg = <0x12200000 0x1000>; | ||
interrupts = <0 75 0>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
}; | ||
|
||
dwmmc0@12200000 { | ||
num-slots = <1>; | ||
supports-highspeed; | ||
broken-cd; | ||
fifo-depth = <0x80>; | ||
card-detect-delay = <200>; | ||
samsung,dw-mshc-ciu-div = <3>; | ||
samsung,dw-mshc-sdr-timing = <2 3>; | ||
samsung,dw-mshc-ddr-timing = <1 2>; | ||
|
||
slot@0 { | ||
reg = <0>; | ||
bus-width = <8>; | ||
gpios = <&gpc0 0 2 0 3>, <&gpc0 1 2 0 3>, | ||
<&gpc1 0 2 3 3>, <&gpc1 1 2 3 3>, | ||
<&gpc1 2 2 3 3>, <&gpc1 3 2 3 3>, | ||
<&gpc0 3 2 3 3>, <&gpc0 4 2 3 3>, | ||
<&gpc0 5 2 3 3>, <&gpc0 6 2 3 3>; | ||
}; | ||
}; |
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,25 @@ | ||
* PXA MMC drivers | ||
|
||
Driver bindings for the PXA MCI (MMC/SDIO) interfaces | ||
|
||
Required properties: | ||
- compatible: Should be "marvell,pxa-mmc". | ||
- vmmc-supply: A regulator for VMMC | ||
|
||
Optional properties: | ||
- marvell,detect-delay-ms: sets the detection delay timeout in ms. | ||
- marvell,gpio-power: GPIO spec for the card power enable pin | ||
|
||
This file documents differences between the core properties in mmc.txt | ||
and the properties used by the pxa-mmc driver. | ||
|
||
Examples: | ||
|
||
mmc0: mmc@41100000 { | ||
compatible = "marvell,pxa-mmc"; | ||
reg = <0x41100000 0x1000>; | ||
interrupts = <23>; | ||
cd-gpios = <&gpio 23 0>; | ||
wp-gpios = <&gpio 24 0>; | ||
}; | ||
|
53 changes: 53 additions & 0 deletions
53
trunk/Documentation/devicetree/bindings/mmc/samsung-sdhci.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,53 @@ | ||
* Samsung's SDHCI Controller device tree bindings | ||
|
||
Samsung's SDHCI controller is used as a connectivity interface with external | ||
MMC, SD and eMMC storage mediums. This file documents differences between the | ||
core mmc properties described by mmc.txt and the properties used by the | ||
Samsung implmentation of the SDHCI controller. | ||
|
||
Note: The mmc core bindings documentation states that if none of the core | ||
card-detect bindings are used, then the standard sdhci card detect mechanism | ||
is used. The Samsung's SDHCI controller bindings extends this as listed below. | ||
|
||
[A] The property "samsung,cd-pinmux-gpio" can be used as stated in the | ||
"Optional Board Specific Properties" section below. | ||
|
||
[B] If core card-detect bindings and "samsung,cd-pinmux-gpio" property | ||
is not specified, it is assumed that there is no card detection | ||
mechanism used. | ||
|
||
Required SoC Specific Properties: | ||
- compatible: should be one of the following | ||
- "samsung,s3c6410-sdhci": For controllers compatible with s3c6410 sdhci | ||
controller. | ||
- "samsung,exynos4210-sdhci": For controllers compatible with Exynos4 sdhci | ||
controller. | ||
|
||
Required Board Specific Properties: | ||
- gpios: Should specify the gpios used for clock, command and data lines. The | ||
gpio specifier format depends on the gpio controller. | ||
|
||
Optional Board Specific Properties: | ||
- samsung,cd-pinmux-gpio: Specifies the card detect line that is routed | ||
through a pinmux to the card-detect pin of the card slot. This property | ||
should be used only if none of the mmc core card-detect properties are | ||
used. | ||
|
||
Example: | ||
sdhci@12530000 { | ||
compatible = "samsung,exynos4210-sdhci"; | ||
reg = <0x12530000 0x100>; | ||
interrupts = <0 75 0>; | ||
bus-width = <4>; | ||
cd-gpios = <&gpk2 2 2 3 3>; | ||
gpios = <&gpk2 0 2 0 3>, /* clock line */ | ||
<&gpk2 1 2 0 3>, /* command line */ | ||
<&gpk2 3 2 3 3>, /* data line 0 */ | ||
<&gpk2 4 2 3 3>, /* data line 1 */ | ||
<&gpk2 5 2 3 3>, /* data line 2 */ | ||
<&gpk2 6 2 3 3>; /* data line 3 */ | ||
}; | ||
|
||
Note: This example shows both SoC specific and board specific properties | ||
in a single device node. The properties can be actually be seperated | ||
into SoC specific node and board specific node. |
14 changes: 14 additions & 0 deletions
14
trunk/Documentation/devicetree/bindings/mmc/sdhci-dove.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,14 @@ | ||
* Marvell sdhci-dove controller | ||
|
||
This file documents differences between the core properties in mmc.txt | ||
and the properties used by the sdhci-pxav2 and sdhci-pxav3 drivers. | ||
|
||
- compatible: Should be "marvell,dove-sdhci". | ||
|
||
Example: | ||
|
||
sdio0: sdio@92000 { | ||
compatible = "marvell,dove-sdhci"; | ||
reg = <0x92000 0x100>; | ||
interrupts = <35>; | ||
}; |
18 changes: 18 additions & 0 deletions
18
trunk/Documentation/devicetree/bindings/mmc/sdhci-spear.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 SDHCI Controller | ||
|
||
This file documents differences between the core properties in mmc.txt | ||
and the properties used by the sdhci-spear driver. | ||
|
||
Required properties: | ||
- compatible: "st,spear300-sdhci" | ||
|
||
Optional properties: | ||
- cd-gpios: card detect gpio, with zero flags. | ||
|
||
Example: | ||
|
||
sdhci@fc000000 { | ||
compatible = "st,spear300-sdhci"; | ||
reg = <0xfc000000 0x1000>; | ||
cd-gpios = <&gpio0 6 0>; | ||
}; |
Oops, something went wrong.