-
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: 319398 b: refs/heads/master c: 76c97e6 h: refs/heads/master v: v3
- Loading branch information
Linus Torvalds
committed
Jul 30, 2012
1 parent
fab9643
commit 8813634
Showing
301 changed files
with
12,002 additions
and
6,233 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: 829917cd7246204d6c5f066c40b66d2b62d0930d | ||
refs/heads/master: 76c97e6c754885a3168becfa4a6aa47c7e8ea6a6 |
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,140 @@ | ||
What: /sys/devices/system/edac/mc/mc*/reset_counters | ||
Date: January 2006 | ||
Contact: linux-edac@vger.kernel.org | ||
Description: This write-only control file will zero all the statistical | ||
counters for UE and CE errors on the given memory controller. | ||
Zeroing the counters will also reset the timer indicating how | ||
long since the last counter were reset. This is useful for | ||
computing errors/time. Since the counters are always reset | ||
at driver initialization time, no module/kernel parameter | ||
is available. | ||
|
||
What: /sys/devices/system/edac/mc/mc*/seconds_since_reset | ||
Date: January 2006 | ||
Contact: linux-edac@vger.kernel.org | ||
Description: This attribute file displays how many seconds have elapsed | ||
since the last counter reset. This can be used with the error | ||
counters to measure error rates. | ||
|
||
What: /sys/devices/system/edac/mc/mc*/mc_name | ||
Date: January 2006 | ||
Contact: linux-edac@vger.kernel.org | ||
Description: This attribute file displays the type of memory controller | ||
that is being utilized. | ||
|
||
What: /sys/devices/system/edac/mc/mc*/size_mb | ||
Date: January 2006 | ||
Contact: linux-edac@vger.kernel.org | ||
Description: This attribute file displays, in count of megabytes, of memory | ||
that this memory controller manages. | ||
|
||
What: /sys/devices/system/edac/mc/mc*/ue_count | ||
Date: January 2006 | ||
Contact: linux-edac@vger.kernel.org | ||
Description: This attribute file displays the total count of uncorrectable | ||
errors that have occurred on this memory controller. If | ||
panic_on_ue is set, this counter will not have a chance to | ||
increment, since EDAC will panic the system | ||
|
||
What: /sys/devices/system/edac/mc/mc*/ue_noinfo_count | ||
Date: January 2006 | ||
Contact: linux-edac@vger.kernel.org | ||
Description: This attribute file displays the number of UEs that have | ||
occurred on this memory controller with no information as to | ||
which DIMM slot is having errors. | ||
|
||
What: /sys/devices/system/edac/mc/mc*/ce_count | ||
Date: January 2006 | ||
Contact: linux-edac@vger.kernel.org | ||
Description: This attribute file displays the total count of correctable | ||
errors that have occurred on this memory controller. This | ||
count is very important to examine. CEs provide early | ||
indications that a DIMM is beginning to fail. This count | ||
field should be monitored for non-zero values and report | ||
such information to the system administrator. | ||
|
||
What: /sys/devices/system/edac/mc/mc*/ce_noinfo_count | ||
Date: January 2006 | ||
Contact: linux-edac@vger.kernel.org | ||
Description: This attribute file displays the number of CEs that | ||
have occurred on this memory controller wherewith no | ||
information as to which DIMM slot is having errors. Memory is | ||
handicapped, but operational, yet no information is available | ||
to indicate which slot the failing memory is in. This count | ||
field should be also be monitored for non-zero values. | ||
|
||
What: /sys/devices/system/edac/mc/mc*/sdram_scrub_rate | ||
Date: February 2007 | ||
Contact: linux-edac@vger.kernel.org | ||
Description: Read/Write attribute file that controls memory scrubbing. | ||
The scrubbing rate used by the memory controller is set by | ||
writing a minimum bandwidth in bytes/sec to the attribute file. | ||
The rate will be translated to an internal value that gives at | ||
least the specified rate. | ||
Reading the file will return the actual scrubbing rate employed. | ||
If configuration fails or memory scrubbing is not implemented, | ||
the value of the attribute file will be -1. | ||
|
||
What: /sys/devices/system/edac/mc/mc*/max_location | ||
Date: April 2012 | ||
Contact: Mauro Carvalho Chehab <mchehab@redhat.com> | ||
linux-edac@vger.kernel.org | ||
Description: This attribute file displays the information about the last | ||
available memory slot in this memory controller. It is used by | ||
userspace tools in order to display the memory filling layout. | ||
|
||
What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/size | ||
Date: April 2012 | ||
Contact: Mauro Carvalho Chehab <mchehab@redhat.com> | ||
linux-edac@vger.kernel.org | ||
Description: This attribute file will display the size of dimm or rank. | ||
For dimm*/size, this is the size, in MB of the DIMM memory | ||
stick. For rank*/size, this is the size, in MB for one rank | ||
of the DIMM memory stick. On single rank memories (1R), this | ||
is also the total size of the dimm. On dual rank (2R) memories, | ||
this is half the size of the total DIMM memories. | ||
|
||
What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_dev_type | ||
Date: April 2012 | ||
Contact: Mauro Carvalho Chehab <mchehab@redhat.com> | ||
linux-edac@vger.kernel.org | ||
Description: This attribute file will display what type of DRAM device is | ||
being utilized on this DIMM (x1, x2, x4, x8, ...). | ||
|
||
What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_edac_mode | ||
Date: April 2012 | ||
Contact: Mauro Carvalho Chehab <mchehab@redhat.com> | ||
linux-edac@vger.kernel.org | ||
Description: This attribute file will display what type of Error detection | ||
and correction is being utilized. For example: S4ECD4ED would | ||
mean a Chipkill with x4 DRAM. | ||
|
||
What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_label | ||
Date: April 2012 | ||
Contact: Mauro Carvalho Chehab <mchehab@redhat.com> | ||
linux-edac@vger.kernel.org | ||
Description: This control file allows this DIMM to have a label assigned | ||
to it. With this label in the module, when errors occur | ||
the output can provide the DIMM label in the system log. | ||
This becomes vital for panic events to isolate the | ||
cause of the UE event. | ||
DIMM Labels must be assigned after booting, with information | ||
that correctly identifies the physical slot with its | ||
silk screen label. This information is currently very | ||
motherboard specific and determination of this information | ||
must occur in userland at this time. | ||
|
||
What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_location | ||
Date: April 2012 | ||
Contact: Mauro Carvalho Chehab <mchehab@redhat.com> | ||
linux-edac@vger.kernel.org | ||
Description: This attribute file will display the location (csrow/channel, | ||
branch/channel/slot or channel/slot) of the dimm or rank. | ||
|
||
What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_mem_type | ||
Date: April 2012 | ||
Contact: Mauro Carvalho Chehab <mchehab@redhat.com> | ||
linux-edac@vger.kernel.org | ||
Description: This attribute file will display what type of memory is | ||
currently on this csrow. Normally, either buffered or | ||
unbuffered memory (for example, Unbuffered-DDR3). |
15 changes: 15 additions & 0 deletions
15
trunk/Documentation/devicetree/bindings/arm/calxeda/l2ecc.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,15 @@ | ||
Calxeda Highbank L2 cache ECC | ||
|
||
Properties: | ||
- compatible : Should be "calxeda,hb-sregs-l2-ecc" | ||
- reg : Address and size for ECC error interrupt clear registers. | ||
- interrupts : Should be single bit error interrupt, then double bit error | ||
interrupt. | ||
|
||
Example: | ||
|
||
sregs@fff3c200 { | ||
compatible = "calxeda,hb-sregs-l2-ecc"; | ||
reg = <0xfff3c200 0x100>; | ||
interrupts = <0 71 4 0 72 4>; | ||
}; |
14 changes: 14 additions & 0 deletions
14
trunk/Documentation/devicetree/bindings/arm/calxeda/mem-ctrlr.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 @@ | ||
Calxeda DDR memory controller | ||
|
||
Properties: | ||
- compatible : Should be "calxeda,hb-ddr-ctrl" | ||
- reg : Address and size for DDR controller registers. | ||
- interrupts : Interrupt for DDR controller. | ||
|
||
Example: | ||
|
||
memory-controller@fff00000 { | ||
compatible = "calxeda,hb-ddr-ctrl"; | ||
reg = <0xfff00000 0x1000>; | ||
interrupts = <0 91 4>; | ||
}; |
File renamed without changes.
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
33 changes: 33 additions & 0 deletions
33
trunk/Documentation/devicetree/bindings/i2c/i2c-ocores.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,33 @@ | ||
Device tree configuration for i2c-ocores | ||
|
||
Required properties: | ||
- compatible : "opencores,i2c-ocores" | ||
- reg : bus address start and address range size of device | ||
- interrupts : interrupt number | ||
- clock-frequency : frequency of bus clock in Hz | ||
- #address-cells : should be <1> | ||
- #size-cells : should be <0> | ||
|
||
Optional properties: | ||
- reg-shift : device register offsets are shifted by this value | ||
- reg-io-width : io register width in bytes (1, 2 or 4) | ||
- regstep : deprecated, use reg-shift above | ||
|
||
Example: | ||
|
||
i2c0: ocores@a0000000 { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
compatible = "opencores,i2c-ocores"; | ||
reg = <0xa0000000 0x8>; | ||
interrupts = <10>; | ||
clock-frequency = <20000000>; | ||
|
||
reg-shift = <0>; /* 8 bit registers */ | ||
reg-io-width = <1>; /* 8 bit read/write */ | ||
|
||
dummy@60 { | ||
compatible = "dummy"; | ||
reg = <0x60>; | ||
}; | ||
}; |
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
12 changes: 12 additions & 0 deletions
12
trunk/Documentation/devicetree/bindings/pwm/lpc32xx-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,12 @@ | ||
LPC32XX PWM controller | ||
|
||
Required properties: | ||
- compatible: should be "nxp,lpc3220-pwm" | ||
- reg: physical base address and length of the controller's registers | ||
|
||
Examples: | ||
|
||
pwm@0x4005C000 { | ||
compatible = "nxp,lpc3220-pwm"; | ||
reg = <0x4005C000 0x8>; | ||
}; |
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 @@ | ||
Freescale MXS PWM controller | ||
|
||
Required properties: | ||
- compatible: should be "fsl,imx23-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 duty cycle in nanoseconds. | ||
- fsl,pwm-number: the number of PWM devices | ||
|
||
Example: | ||
|
||
pwm: pwm@80064000 { | ||
compatible = "fsl,imx28-pwm", "fsl,imx23-pwm"; | ||
reg = <0x80064000 2000>; | ||
#pwm-cells = <2>; | ||
fsl,pwm-number = <8>; | ||
}; |
18 changes: 18 additions & 0 deletions
18
trunk/Documentation/devicetree/bindings/pwm/nvidia,tegra20-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,18 @@ | ||
Tegra SoC PWFM controller | ||
|
||
Required properties: | ||
- compatible: should be one of: | ||
- "nvidia,tegra20-pwm" | ||
- "nvidia,tegra30-pwm" | ||
- reg: physical base address and length of the controller's registers | ||
- #pwm-cells: On Tegra the number of cells used to specify a PWM is 2. The | ||
first cell specifies the per-chip index of the PWM to use and the second | ||
cell is the duty cycle in nanoseconds. | ||
|
||
Example: | ||
|
||
pwm: pwm@7000a000 { | ||
compatible = "nvidia,tegra20-pwm"; | ||
reg = <0x7000a000 0x100>; | ||
#pwm-cells = <2>; | ||
}; |
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,57 @@ | ||
Specifying PWM information for devices | ||
====================================== | ||
|
||
1) PWM user nodes | ||
----------------- | ||
|
||
PWM users should specify a list of PWM devices that they want to use | ||
with a property containing a 'pwm-list': | ||
|
||
pwm-list ::= <single-pwm> [pwm-list] | ||
single-pwm ::= <pwm-phandle> <pwm-specifier> | ||
pwm-phandle : phandle to PWM controller node | ||
pwm-specifier : array of #pwm-cells specifying the given PWM | ||
(controller specific) | ||
|
||
PWM properties should be named "pwms". The exact meaning of each pwms | ||
property must be documented in the device tree binding for each device. | ||
An optional property "pwm-names" may contain a list of strings to label | ||
each of the PWM devices listed in the "pwms" property. If no "pwm-names" | ||
property is given, the name of the user node will be used as fallback. | ||
|
||
Drivers for devices that use more than a single PWM device can use the | ||
"pwm-names" property to map the name of the PWM device requested by the | ||
pwm_get() call to an index into the list given by the "pwms" property. | ||
|
||
The following example could be used to describe a PWM-based backlight | ||
device: | ||
|
||
pwm: pwm { | ||
#pwm-cells = <2>; | ||
}; | ||
|
||
[...] | ||
|
||
bl: backlight { | ||
pwms = <&pwm 0 5000000>; | ||
pwm-names = "backlight"; | ||
}; | ||
|
||
pwm-specifier typically encodes the chip-relative PWM number and the PWM | ||
period in nanoseconds. Note that in the example above, specifying the | ||
"pwm-names" is redundant because the name "backlight" would be used as | ||
fallback anyway. | ||
|
||
2) PWM controller nodes | ||
----------------------- | ||
|
||
PWM controller nodes must specify the number of cells used for the | ||
specifier using the '#pwm-cells' property. | ||
|
||
An example PWM controller might look like this: | ||
|
||
pwm: pwm@7000a000 { | ||
compatible = "nvidia,tegra20-pwm"; | ||
reg = <0x7000a000 0x100>; | ||
#pwm-cells = <2>; | ||
}; |
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.