-
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: 347270 b: refs/heads/master c: 2f0bf92 h: refs/heads/master v: v3
- Loading branch information
Linus Torvalds
committed
Dec 19, 2012
1 parent
c7bf75e
commit cb482e0
Showing
194 changed files
with
4,670 additions
and
2,354 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: 055d4db1e1ef6f983c3565110fbe6737087e9103 | ||
refs/heads/master: 2f0bf92513be58d2d65c0a4cc05c5779a7cd81e1 |
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
23 changes: 23 additions & 0 deletions
23
trunk/Documentation/devicetree/bindings/mtd/denali-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,23 @@ | ||
* Denali NAND controller | ||
|
||
Required properties: | ||
- compatible : should be "denali,denali-nand-dt" | ||
- reg : should contain registers location and length for data and reg. | ||
- reg-names: Should contain the reg names "nand_data" and "denali_reg" | ||
- interrupts : The interrupt number. | ||
- dm-mask : DMA bit mask | ||
|
||
The device tree may optionally contain sub-nodes describing partitions of the | ||
address space. See partition.txt for more detail. | ||
|
||
Examples: | ||
|
||
nand: nand@ff900000 { | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
compatible = "denali,denali-nand-dt"; | ||
reg = <0xff900000 0x100000>, <0xffb80000 0x10000>; | ||
reg-names = "nand_data", "denali_reg"; | ||
interrupts = <0 144 4>; | ||
dma-mask = <0xffffffff>; | ||
}; |
49 changes: 49 additions & 0 deletions
49
trunk/Documentation/devicetree/bindings/mtd/flctl-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,49 @@ | ||
FLCTL NAND controller | ||
|
||
Required properties: | ||
- compatible : "renesas,shmobile-flctl-sh7372" | ||
- reg : Address range of the FLCTL | ||
- interrupts : flste IRQ number | ||
- nand-bus-width : bus width to NAND chip | ||
|
||
Optional properties: | ||
- dmas: DMA specifier(s) | ||
- dma-names: name for each DMA specifier. Valid names are | ||
"data_tx", "data_rx", "ecc_tx", "ecc_rx" | ||
|
||
The DMA fields are not used yet in the driver but are listed here for | ||
completing the bindings. | ||
|
||
The device tree may optionally contain sub-nodes describing partitions of the | ||
address space. See partition.txt for more detail. | ||
|
||
Example: | ||
|
||
flctl@e6a30000 { | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
compatible = "renesas,shmobile-flctl-sh7372"; | ||
reg = <0xe6a30000 0x100>; | ||
interrupts = <0x0d80>; | ||
|
||
nand-bus-width = <16>; | ||
|
||
dmas = <&dmac 1 /* data_tx */ | ||
&dmac 2;> /* data_rx */ | ||
dma-names = "data_tx", "data_rx"; | ||
|
||
system@0 { | ||
label = "system"; | ||
reg = <0x0 0x8000000>; | ||
}; | ||
|
||
userdata@8000000 { | ||
label = "userdata"; | ||
reg = <0x8000000 0x10000000>; | ||
}; | ||
|
||
cache@18000000 { | ||
label = "cache"; | ||
reg = <0x18000000 0x8000000>; | ||
}; | ||
}; |
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,29 @@ | ||
* MTD SPI driver for ST M25Pxx (and similar) serial flash chips | ||
|
||
Required properties: | ||
- #address-cells, #size-cells : Must be present if the device has sub-nodes | ||
representing partitions. | ||
- compatible : Should be the manufacturer and the name of the chip. Bear in mind | ||
the DT binding is not Linux-only, but in case of Linux, see the | ||
"m25p_ids" table in drivers/mtd/devices/m25p80.c for the list of | ||
supported chips. | ||
- reg : Chip-Select number | ||
- spi-max-frequency : Maximum frequency of the SPI bus the chip can operate at | ||
|
||
Optional properties: | ||
- m25p,fast-read : Use the "fast read" opcode to read data from the chip instead | ||
of the usual "read" opcode. This opcode is not supported by | ||
all chips and support for it can not be detected at runtime. | ||
Refer to your chips' datasheet to check if this is supported | ||
by your chip. | ||
|
||
Example: | ||
|
||
flash: m25p80@0 { | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
compatible = "spansion,m25p80"; | ||
reg = <0>; | ||
spi-max-frequency = <40000000>; | ||
m25p,fast-read; | ||
}; |
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
23 changes: 23 additions & 0 deletions
23
trunk/Documentation/devicetree/bindings/pwm/pwm-tiecap.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,23 @@ | ||
TI SOC ECAP based APWM controller | ||
|
||
Required properties: | ||
- compatible: Must be "ti,am33xx-ecap" | ||
- #pwm-cells: Should be 3. Number of cells being used to specify PWM property. | ||
First cell specifies the per-chip index of the PWM to use, the second | ||
cell is the period in nanoseconds and bit 0 in the third cell is used to | ||
encode the polarity of PWM output. Set bit 0 of the third in PWM specifier | ||
to 1 for inverse polarity & set to 0 for normal polarity. | ||
- reg: physical base address and size of the registers map. | ||
|
||
Optional properties: | ||
- ti,hwmods: Name of the hwmod associated to the ECAP: | ||
"ecap<x>", <x> being the 0-based instance number from the HW spec | ||
|
||
Example: | ||
|
||
ecap0: ecap@0 { | ||
compatible = "ti,am33xx-ecap"; | ||
#pwm-cells = <3>; | ||
reg = <0x48300100 0x80>; | ||
ti,hwmods = "ecap0"; | ||
}; |
23 changes: 23 additions & 0 deletions
23
trunk/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.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,23 @@ | ||
TI SOC EHRPWM based PWM controller | ||
|
||
Required properties: | ||
- compatible : Must be "ti,am33xx-ehrpwm" | ||
- #pwm-cells: Should be 3. Number of cells being used to specify PWM property. | ||
First cell specifies the per-chip index of the PWM to use, the second | ||
cell is the period in nanoseconds and bit 0 in the third cell is used to | ||
encode the polarity of PWM output. Set bit 0 of the third in PWM specifier | ||
to 1 for inverse polarity & set to 0 for normal polarity. | ||
- reg: physical base address and size of the registers map. | ||
|
||
Optional properties: | ||
- ti,hwmods: Name of the hwmod associated to the EHRPWM: | ||
"ehrpwm<x>", <x> being the 0-based instance number from the HW spec | ||
|
||
Example: | ||
|
||
ehrpwm0: ehrpwm@0 { | ||
compatible = "ti,am33xx-ehrpwm"; | ||
#pwm-cells = <3>; | ||
reg = <0x48300200 0x100>; | ||
ti,hwmods = "ehrpwm0"; | ||
}; |
31 changes: 31 additions & 0 deletions
31
trunk/Documentation/devicetree/bindings/pwm/pwm-tipwmss.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,31 @@ | ||
TI SOC based PWM Subsystem | ||
|
||
Required properties: | ||
- compatible: Must be "ti,am33xx-pwmss"; | ||
- reg: physical base address and size of the registers map. | ||
- address-cells: Specify the number of u32 entries needed in child nodes. | ||
Should set to 1. | ||
- size-cells: specify number of u32 entries needed to specify child nodes size | ||
in reg property. Should set to 1. | ||
- ranges: describes the address mapping of a memory-mapped bus. Should set to | ||
physical address map of child's base address, physical address within | ||
parent's address space and length of the address map. For am33xx, | ||
3 set of child register maps present, ECAP register space, EQEP | ||
register space, EHRPWM register space. | ||
|
||
Also child nodes should also populated under PWMSS DT node. | ||
|
||
Example: | ||
pwmss0: pwmss@48300000 { | ||
compatible = "ti,am33xx-pwmss"; | ||
reg = <0x48300000 0x10>; | ||
ti,hwmods = "epwmss0"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
status = "disabled"; | ||
ranges = <0x48300100 0x48300100 0x80 /* ECAP */ | ||
0x48300180 0x48300180 0x80 /* EQEP */ | ||
0x48300200 0x48300200 0x80>; /* EHRPWM */ | ||
|
||
/* child nodes go here */ | ||
}; |
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,18 @@ | ||
== ST SPEAr SoC PWM controller == | ||
|
||
Required properties: | ||
- compatible: should be one of: | ||
- "st,spear320-pwm" | ||
- "st,spear1340-pwm" | ||
- reg: physical base address and length of the controller's registers | ||
- #pwm-cells: number of cells used to specify PWM which is fixed to 2 on | ||
SPEAr. The first cell specifies the per-chip index of the PWM to use and | ||
the second cell is the period in nanoseconds. | ||
|
||
Example: | ||
|
||
pwm: pwm@a8000000 { | ||
compatible ="st,spear320-pwm"; | ||
reg = <0xa8000000 0x1000>; | ||
#pwm-cells = <2>; | ||
}; |
17 changes: 17 additions & 0 deletions
17
trunk/Documentation/devicetree/bindings/pwm/ti,twl-pwm.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,17 @@ | ||
Texas Instruments TWL series PWM drivers | ||
|
||
Supported PWMs: | ||
On TWL4030 series: PWM1 and PWM2 | ||
On TWL6030 series: PWM0 and PWM1 | ||
|
||
Required properties: | ||
- compatible: "ti,twl4030-pwm" or "ti,twl6030-pwm" | ||
- #pwm-cells: should be 2. The first cell specifies the per-chip index | ||
of the PWM to use and the second cell is the period in nanoseconds. | ||
|
||
Example: | ||
|
||
twl_pwm: pwm { | ||
compatible = "ti,twl6030-pwm"; | ||
#pwm-cells = <2>; | ||
}; |
17 changes: 17 additions & 0 deletions
17
trunk/Documentation/devicetree/bindings/pwm/ti,twl-pwmled.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,17 @@ | ||
Texas Instruments TWL series PWM drivers connected to LED terminals | ||
|
||
Supported PWMs: | ||
On TWL4030 series: PWMA and PWMB (connected to LEDA and LEDB terminals) | ||
On TWL6030 series: LED PWM (mainly used as charging indicator LED) | ||
|
||
Required properties: | ||
- compatible: "ti,twl4030-pwmled" or "ti,twl6030-pwmled" | ||
- #pwm-cells: should be 2. The first cell specifies the per-chip index | ||
of the PWM to use and the second cell is the period in nanoseconds. | ||
|
||
Example: | ||
|
||
twl_pwmled: pwmled { | ||
compatible = "ti,twl6030-pwmled"; | ||
#pwm-cells = <2>; | ||
}; |
17 changes: 17 additions & 0 deletions
17
trunk/Documentation/devicetree/bindings/pwm/vt8500-pwm.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,17 @@ | ||
VIA/Wondermedia VT8500/WM8xxx series SoC PWM controller | ||
|
||
Required properties: | ||
- compatible: should be "via,vt8500-pwm" | ||
- reg: physical base address and length of the controller's registers | ||
- #pwm-cells: should be 2. The first cell specifies the per-chip index | ||
of the PWM to use and the second cell is the period in nanoseconds. | ||
- clocks: phandle to the PWM source clock | ||
|
||
Example: | ||
|
||
pwm1: pwm@d8220000 { | ||
#pwm-cells = <2>; | ||
compatible = "via,vt8500-pwm"; | ||
reg = <0xd8220000 0x1000>; | ||
clocks = <&clkpwm>; | ||
}; |
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
Oops, something went wrong.