-
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: 347344 b: refs/heads/master c: f01af9f h: refs/heads/master v: v3
- Loading branch information
Linus Torvalds
committed
Dec 20, 2012
1 parent
4dec3a8
commit 9832c41
Showing
414 changed files
with
11,598 additions
and
3,760 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: 62ba63dc892cf836ecb9ce4fdb7644d45c95070b | ||
refs/heads/master: f01af9f85855e38fbd601e033a8eac204cc4cc1c |
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,7 +1,101 @@ | ||
What: /sys/devices/system/node/possible | ||
Date: October 2002 | ||
Contact: Linux Memory Management list <linux-mm@kvack.org> | ||
Description: | ||
Nodes that could be possibly become online at some point. | ||
|
||
What: /sys/devices/system/node/online | ||
Date: October 2002 | ||
Contact: Linux Memory Management list <linux-mm@kvack.org> | ||
Description: | ||
Nodes that are online. | ||
|
||
What: /sys/devices/system/node/has_normal_memory | ||
Date: October 2002 | ||
Contact: Linux Memory Management list <linux-mm@kvack.org> | ||
Description: | ||
Nodes that have regular memory. | ||
|
||
What: /sys/devices/system/node/has_cpu | ||
Date: October 2002 | ||
Contact: Linux Memory Management list <linux-mm@kvack.org> | ||
Description: | ||
Nodes that have one or more CPUs. | ||
|
||
What: /sys/devices/system/node/has_high_memory | ||
Date: October 2002 | ||
Contact: Linux Memory Management list <linux-mm@kvack.org> | ||
Description: | ||
Nodes that have regular or high memory. | ||
Depends on CONFIG_HIGHMEM. | ||
|
||
What: /sys/devices/system/node/nodeX | ||
Date: October 2002 | ||
Contact: Linux Memory Management list <linux-mm@kvack.org> | ||
Description: | ||
When CONFIG_NUMA is enabled, this is a directory containing | ||
information on node X such as what CPUs are local to the | ||
node. | ||
node. Each file is detailed next. | ||
|
||
What: /sys/devices/system/node/nodeX/cpumap | ||
Date: October 2002 | ||
Contact: Linux Memory Management list <linux-mm@kvack.org> | ||
Description: | ||
The node's cpumap. | ||
|
||
What: /sys/devices/system/node/nodeX/cpulist | ||
Date: October 2002 | ||
Contact: Linux Memory Management list <linux-mm@kvack.org> | ||
Description: | ||
The CPUs associated to the node. | ||
|
||
What: /sys/devices/system/node/nodeX/meminfo | ||
Date: October 2002 | ||
Contact: Linux Memory Management list <linux-mm@kvack.org> | ||
Description: | ||
Provides information about the node's distribution and memory | ||
utilization. Similar to /proc/meminfo, see Documentation/filesystems/proc.txt | ||
|
||
What: /sys/devices/system/node/nodeX/numastat | ||
Date: October 2002 | ||
Contact: Linux Memory Management list <linux-mm@kvack.org> | ||
Description: | ||
The node's hit/miss statistics, in units of pages. | ||
See Documentation/numastat.txt | ||
|
||
What: /sys/devices/system/node/nodeX/distance | ||
Date: October 2002 | ||
Contact: Linux Memory Management list <linux-mm@kvack.org> | ||
Description: | ||
Distance between the node and all the other nodes | ||
in the system. | ||
|
||
What: /sys/devices/system/node/nodeX/vmstat | ||
Date: October 2002 | ||
Contact: Linux Memory Management list <linux-mm@kvack.org> | ||
Description: | ||
The node's zoned virtual memory statistics. | ||
This is a superset of numastat. | ||
|
||
What: /sys/devices/system/node/nodeX/compact | ||
Date: February 2010 | ||
Contact: Mel Gorman <mel@csn.ul.ie> | ||
Description: | ||
When this file is written to, all memory within that node | ||
will be compacted. When it completes, memory will be freed | ||
into blocks which have as many contiguous pages as possible | ||
|
||
What: /sys/devices/system/node/nodeX/scan_unevictable_pages | ||
Date: October 2008 | ||
Contact: Lee Schermerhorn <lee.schermerhorn@hp.com> | ||
Description: | ||
When set, it triggers scanning the node's unevictable lists | ||
and move any pages that have become evictable onto the respective | ||
zone's inactive list. See mm/vmscan.c | ||
|
||
What: /sys/devices/system/node/nodeX/hugepages/hugepages-<size>/ | ||
Date: December 2009 | ||
Contact: Lee Schermerhorn <lee.schermerhorn@hp.com> | ||
Description: | ||
The node's huge page size control/query attributes. | ||
See Documentation/vm/hugetlbpage.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
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
27 changes: 27 additions & 0 deletions
27
trunk/Documentation/devicetree/bindings/i2c/i2c-cbus-gpio.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,27 @@ | ||
Device tree bindings for i2c-cbus-gpio driver | ||
|
||
Required properties: | ||
- compatible = "i2c-cbus-gpio"; | ||
- gpios: clk, dat, sel | ||
- #address-cells = <1>; | ||
- #size-cells = <0>; | ||
|
||
Optional properties: | ||
- child nodes conforming to i2c bus binding | ||
|
||
Example: | ||
|
||
i2c@0 { | ||
compatible = "i2c-cbus-gpio"; | ||
gpios = <&gpio 66 0 /* clk */ | ||
&gpio 65 0 /* dat */ | ||
&gpio 64 0 /* sel */ | ||
>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
retu-mfd: retu@1 { | ||
compatible = "retu-mfd"; | ||
reg = <0x1>; | ||
}; | ||
}; |
81 changes: 81 additions & 0 deletions
81
trunk/Documentation/devicetree/bindings/i2c/i2c-mux-gpio.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,81 @@ | ||
GPIO-based I2C Bus Mux | ||
|
||
This binding describes an I2C bus multiplexer that uses GPIOs to | ||
route the I2C signals. | ||
|
||
+-----+ +-----+ | ||
| dev | | dev | | ||
+------------+ +-----+ +-----+ | ||
| SoC | | | | ||
| | /--------+--------+ | ||
| +------+ | +------+ child bus A, on GPIO value set to 0 | ||
| | I2C |-|--| Mux | | ||
| +------+ | +--+---+ child bus B, on GPIO value set to 1 | ||
| | | \----------+--------+--------+ | ||
| +------+ | | | | | | ||
| | GPIO |-|-----+ +-----+ +-----+ +-----+ | ||
| +------+ | | dev | | dev | | dev | | ||
+------------+ +-----+ +-----+ +-----+ | ||
|
||
Required properties: | ||
- compatible: i2c-mux-gpio | ||
- i2c-parent: The phandle of the I2C bus that this multiplexer's master-side | ||
port is connected to. | ||
- mux-gpios: list of gpios used to control the muxer | ||
* Standard I2C mux properties. See mux.txt in this directory. | ||
* I2C child bus nodes. See mux.txt in this directory. | ||
|
||
Optional properties: | ||
- idle-state: value to set the muxer to when idle. When no value is | ||
given, it defaults to the last value used. | ||
|
||
For each i2c child node, an I2C child bus will be created. They will | ||
be numbered based on their order in the device tree. | ||
|
||
Whenever an access is made to a device on a child bus, the value set | ||
in the revelant node's reg property will be output using the list of | ||
GPIOs, the first in the list holding the least-significant value. | ||
|
||
If an idle state is defined, using the idle-state (optional) property, | ||
whenever an access is not being made to a device on a child bus, the | ||
GPIOs will be set according to the idle value. | ||
|
||
If an idle state is not defined, the most recently used value will be | ||
left programmed into hardware whenever no access is being made to a | ||
device on a child bus. | ||
|
||
Example: | ||
i2cmux { | ||
compatible = "i2c-mux-gpio"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
mux-gpios = <&gpio1 22 0 &gpio1 23 0>; | ||
i2c-parent = <&i2c1>; | ||
|
||
i2c@1 { | ||
reg = <1>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
ssd1307: oled@3c { | ||
compatible = "solomon,ssd1307fb-i2c"; | ||
reg = <0x3c>; | ||
pwms = <&pwm 4 3000>; | ||
reset-gpios = <&gpio2 7 1>; | ||
reset-active-low; | ||
}; | ||
}; | ||
|
||
i2c@3 { | ||
reg = <3>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
pca9555: pca9555@20 { | ||
compatible = "nxp,pca9555"; | ||
gpio-controller; | ||
#gpio-cells = <2>; | ||
reg = <0x20>; | ||
}; | ||
}; | ||
}; |
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.