-
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
Oct 12, 2012
1 parent
6341f83
commit 3819fbc
Showing
1,565 changed files
with
37,478 additions
and
23,728 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: 6054b9cae24f7ff09e502cea408dad140210681a | ||
refs/heads/master: 759e00b8a8883be28357426206d2f1752827e38a |
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
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; | ||
}; | ||
}; |
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,30 @@ | ||
I2C for Atmel platforms | ||
|
||
Required properties : | ||
- compatible : Must be "atmel,at91rm9200-i2c", "atmel,at91sam9261-i2c", | ||
"atmel,at91sam9260-i2c", "atmel,at91sam9g20-i2c", "atmel,at91sam9g10-i2c" | ||
or "atmel,at91sam9x5-i2c" | ||
- reg: physical base address of the controller and length of memory mapped | ||
region. | ||
- interrupts: interrupt number to the cpu. | ||
- #address-cells = <1>; | ||
- #size-cells = <0>; | ||
|
||
Optional properties: | ||
- Child nodes conforming to i2c bus binding | ||
|
||
Examples : | ||
|
||
i2c0: i2c@fff84000 { | ||
compatible = "atmel,at91sam9g20-i2c"; | ||
reg = <0xfff84000 0x100>; | ||
interrupts = <12 4 6>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
24c512@50 { | ||
compatible = "24c512"; | ||
reg = <0x50>; | ||
pagesize = <128>; | ||
} | ||
} |
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,28 @@ | ||
* Texas Instruments Davinci I2C | ||
|
||
This file provides information, what the device node for the | ||
davinci i2c interface contain. | ||
|
||
Required properties: | ||
- compatible: "ti,davinci-i2c"; | ||
- reg : Offset and length of the register set for the device | ||
|
||
Recommended properties : | ||
- interrupts : standard interrupt property. | ||
- clock-frequency : desired I2C bus clock frequency in Hz. | ||
|
||
Example (enbw_cmc board): | ||
i2c@1c22000 { | ||
compatible = "ti,davinci-i2c"; | ||
reg = <0x22000 0x1000>; | ||
clock-frequency = <100000>; | ||
interrupts = <15>; | ||
interrupt-parent = <&intc>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
dtt@48 { | ||
compatible = "national,lm75"; | ||
reg = <0x48>; | ||
}; | ||
}; |
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,23 @@ | ||
I2C for Nomadik based systems | ||
|
||
Required (non-standard) properties: | ||
- Nil | ||
|
||
Recommended (non-standard) properties: | ||
- clock-frequency : Maximum bus clock frequency for the device | ||
|
||
Optional (non-standard) properties: | ||
- Nil | ||
|
||
Example : | ||
|
||
i2c@80004000 { | ||
compatible = "stericsson,db8500-i2c", "st,nomadik-i2c"; | ||
reg = <0x80004000 0x1000>; | ||
interrupts = <0 21 0x4>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
v-i2c-supply = <&db8500_vape_reg>; | ||
|
||
clock-frequency = <400000>; | ||
}; |
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
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>; | ||
}; | ||
}; |
Oops, something went wrong.