-
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: 298202 b: refs/heads/master c: f558c27 h: refs/heads/master v: v3
- Loading branch information
Linus Torvalds
committed
Mar 31, 2012
1 parent
48b8dc3
commit 8da277d
Showing
1,106 changed files
with
39,110 additions
and
18,111 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: f5cb92ac82d06cb583c1f66666314c5c0a4d7913 | ||
refs/heads/master: f558c272386a0f7507cc8de7b6b5afc24d17fa9c |
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,16 @@ | ||
What: /sys/kernel/debug/olpc-ec/cmd | ||
Date: Dec 2011 | ||
KernelVersion: 3.4 | ||
Contact: devel@lists.laptop.org | ||
Description: | ||
|
||
A generic interface for executing OLPC Embedded Controller commands and | ||
reading their responses. | ||
|
||
To execute a command, write data with the format: CC:N A A A A | ||
CC is the (hex) command, N is the count of expected reply bytes, and A A A A | ||
are optional (hex) arguments. | ||
|
||
To read the response (if any), read from the generic node after executing | ||
a command. Hex reply bytes will be returned, *whether or not* they came from | ||
the immediately previous command. |
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
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
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,33 @@ | ||
* FSMC NAND | ||
|
||
Required properties: | ||
- compatible : "st,spear600-fsmc-nand" | ||
- reg : Address range of the mtd chip | ||
- reg-names: Should contain the reg names "fsmc_regs" and "nand_data" | ||
- st,ale-off : Chip specific offset to ALE | ||
- st,cle-off : Chip specific offset to CLE | ||
|
||
Optional properties: | ||
- bank-width : Width (in bytes) of the device. If not present, the width | ||
defaults to 1 byte | ||
- nand-skip-bbtscan: Indicates the the BBT scanning should be skipped | ||
|
||
Example: | ||
|
||
fsmc: flash@d1800000 { | ||
compatible = "st,spear600-fsmc-nand"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
reg = <0xd1800000 0x1000 /* FSMC Register */ | ||
0xd2000000 0x4000>; /* NAND Base */ | ||
reg-names = "fsmc_regs", "nand_data"; | ||
st,ale-off = <0x20000>; | ||
st,cle-off = <0x10000>; | ||
|
||
bank-width = <1>; | ||
nand-skip-bbtscan; | ||
|
||
partition@0 { | ||
... | ||
}; | ||
}; |
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,38 @@ | ||
Representing flash partitions in devicetree | ||
|
||
Partitions can be represented by sub-nodes of an mtd device. This can be used | ||
on platforms which have strong conventions about which portions of a flash are | ||
used for what purposes, but which don't use an on-flash partition table such | ||
as RedBoot. | ||
|
||
#address-cells & #size-cells must both be present in the mtd device and be | ||
equal to 1. | ||
|
||
Required properties: | ||
- reg : The partition's offset and size within the mtd bank. | ||
|
||
Optional properties: | ||
- label : The label / name for this partition. If omitted, the label is taken | ||
from the node name (excluding the unit address). | ||
- read-only : This parameter, if present, is a hint to Linux that this | ||
partition should only be mounted read-only. This is usually used for flash | ||
partitions containing early-boot firmware images or data which should not be | ||
clobbered. | ||
|
||
Examples: | ||
|
||
|
||
flash@0 { | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
|
||
partition@0 { | ||
label = "u-boot"; | ||
reg = <0x0000000 0x100000>; | ||
read-only; | ||
}; | ||
|
||
uimage@100000 { | ||
reg = <0x0100000 0x200000>; | ||
}; | ||
]; |
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 @@ | ||
* SPEAr SMI | ||
|
||
Required properties: | ||
- compatible : "st,spear600-smi" | ||
- reg : Address range of the mtd chip | ||
- #address-cells, #size-cells : Must be present if the device has sub-nodes | ||
representing partitions. | ||
- interrupt-parent: Should be the phandle for the interrupt controller | ||
that services interrupts for this device | ||
- interrupts: Should contain the STMMAC interrupts | ||
- clock-rate : Functional clock rate of SMI in Hz | ||
|
||
Optional properties: | ||
- st,smi-fast-mode : Flash supports read in fast mode | ||
|
||
Example: | ||
|
||
smi: flash@fc000000 { | ||
compatible = "st,spear600-smi"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
reg = <0xfc000000 0x1000>; | ||
interrupt-parent = <&vic1>; | ||
interrupts = <12>; | ||
clock-rate = <50000000>; /* 50MHz */ | ||
|
||
flash@f8000000 { | ||
st,smi-fast-mode; | ||
... | ||
}; | ||
}; |
18 changes: 18 additions & 0 deletions
18
trunk/Documentation/devicetree/bindings/power_supply/max17042_battery.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 @@ | ||
max17042_battery | ||
~~~~~~~~~~~~~~~~ | ||
|
||
Required properties : | ||
- compatible : "maxim,max17042" | ||
|
||
Optional properties : | ||
- maxim,rsns-microohm : Resistance of rsns resistor in micro Ohms | ||
(datasheet-recommended value is 10000). | ||
Defining this property enables current-sense functionality. | ||
|
||
Example: | ||
|
||
battery-charger@36 { | ||
compatible = "maxim,max17042"; | ||
reg = <0x36>; | ||
maxim,rsns-microohm = <10000>; | ||
}; |
Oops, something went wrong.