-
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: 358448 b: refs/heads/master c: 6ecf968 h: refs/heads/master v: v3
- Loading branch information
Rafael J. Wysocki
committed
Feb 22, 2013
1 parent
a34030d
commit 1c6dd10
Showing
2,397 changed files
with
151,852 additions
and
77,253 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: c192b196d0f3a239f9f056d02a983c48cdf128d9 | ||
refs/heads/master: 6ecf96806beaa00cc0f50555cca0106a39c121eb |
62 changes: 62 additions & 0 deletions
62
trunk/Documentation/ABI/testing/sysfs-bus-event_source-devices-events
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,62 @@ | ||
What: /sys/devices/cpu/events/ | ||
/sys/devices/cpu/events/branch-misses | ||
/sys/devices/cpu/events/cache-references | ||
/sys/devices/cpu/events/cache-misses | ||
/sys/devices/cpu/events/stalled-cycles-frontend | ||
/sys/devices/cpu/events/branch-instructions | ||
/sys/devices/cpu/events/stalled-cycles-backend | ||
/sys/devices/cpu/events/instructions | ||
/sys/devices/cpu/events/cpu-cycles | ||
|
||
Date: 2013/01/08 | ||
|
||
Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org> | ||
|
||
Description: Generic performance monitoring events | ||
|
||
A collection of performance monitoring events that may be | ||
supported by many/most CPUs. These events can be monitored | ||
using the 'perf(1)' tool. | ||
|
||
The contents of each file would look like: | ||
|
||
event=0xNNNN | ||
|
||
where 'N' is a hex digit and the number '0xNNNN' shows the | ||
"raw code" for the perf event identified by the file's | ||
"basename". | ||
|
||
|
||
What: /sys/devices/cpu/events/PM_LD_MISS_L1 | ||
/sys/devices/cpu/events/PM_LD_REF_L1 | ||
/sys/devices/cpu/events/PM_CYC | ||
/sys/devices/cpu/events/PM_BRU_FIN | ||
/sys/devices/cpu/events/PM_GCT_NOSLOT_CYC | ||
/sys/devices/cpu/events/PM_BRU_MPRED | ||
/sys/devices/cpu/events/PM_INST_CMPL | ||
/sys/devices/cpu/events/PM_CMPLU_STALL | ||
|
||
Date: 2013/01/08 | ||
|
||
Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org> | ||
Linux Powerpc mailing list <linuxppc-dev@ozlabs.org> | ||
|
||
Description: POWER-systems specific performance monitoring events | ||
|
||
A collection of performance monitoring events that may be | ||
supported by the POWER CPU. These events can be monitored | ||
using the 'perf(1)' tool. | ||
|
||
These events may not be supported by other CPUs. | ||
|
||
The contents of each file would look like: | ||
|
||
event=0xNNNN | ||
|
||
where 'N' is a hex digit and the number '0xNNNN' shows the | ||
"raw code" for the perf event identified by the file's | ||
"basename". | ||
|
||
Further, multiple terms like 'event=0xNNNN' can be specified | ||
and separated with comma. All available terms are defined in | ||
the /sys/bus/event_source/devices/<dev>/format file. |
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,47 @@ | ||
What: /sys/devices/platform/ts5500/adc | ||
Date: January 2013 | ||
KernelVersion: 3.7 | ||
Contact: "Savoir-faire Linux Inc." <kernel@savoirfairelinux.com> | ||
Description: | ||
Indicates the presence of an A/D Converter. If it is present, | ||
it will display "1", otherwise "0". | ||
|
||
What: /sys/devices/platform/ts5500/ereset | ||
Date: January 2013 | ||
KernelVersion: 3.7 | ||
Contact: "Savoir-faire Linux Inc." <kernel@savoirfairelinux.com> | ||
Description: | ||
Indicates the presence of an external reset. If it is present, | ||
it will display "1", otherwise "0". | ||
|
||
What: /sys/devices/platform/ts5500/id | ||
Date: January 2013 | ||
KernelVersion: 3.7 | ||
Contact: "Savoir-faire Linux Inc." <kernel@savoirfairelinux.com> | ||
Description: | ||
Product ID of the TS board. TS-5500 ID is 0x60. | ||
|
||
What: /sys/devices/platform/ts5500/jumpers | ||
Date: January 2013 | ||
KernelVersion: 3.7 | ||
Contact: "Savoir-faire Linux Inc." <kernel@savoirfairelinux.com> | ||
Description: | ||
Bitfield showing the jumpers' state. If a jumper is present, | ||
the corresponding bit is set. For instance, 0x0e means jumpers | ||
2, 3 and 4 are set. | ||
|
||
What: /sys/devices/platform/ts5500/rs485 | ||
Date: January 2013 | ||
KernelVersion: 3.7 | ||
Contact: "Savoir-faire Linux Inc." <kernel@savoirfairelinux.com> | ||
Description: | ||
Indicates the presence of the RS485 option. If it is present, | ||
it will display "1", otherwise "0". | ||
|
||
What: /sys/devices/platform/ts5500/sram | ||
Date: January 2013 | ||
KernelVersion: 3.7 | ||
Contact: "Savoir-faire Linux Inc." <kernel@savoirfairelinux.com> | ||
Description: | ||
Indicates the presence of the SRAM option. If it is present, | ||
it will display "1", otherwise "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
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,55 @@ | ||
* Power State Coordination Interface (PSCI) | ||
|
||
Firmware implementing the PSCI functions described in ARM document number | ||
ARM DEN 0022A ("Power State Coordination Interface System Software on ARM | ||
processors") can be used by Linux to initiate various CPU-centric power | ||
operations. | ||
|
||
Issue A of the specification describes functions for CPU suspend, hotplug | ||
and migration of secure software. | ||
|
||
Functions are invoked by trapping to the privilege level of the PSCI | ||
firmware (specified as part of the binding below) and passing arguments | ||
in a manner similar to that specified by AAPCS: | ||
|
||
r0 => 32-bit Function ID / return value | ||
{r1 - r3} => Parameters | ||
|
||
Note that the immediate field of the trapping instruction must be set | ||
to #0. | ||
|
||
|
||
Main node required properties: | ||
|
||
- compatible : Must be "arm,psci" | ||
|
||
- method : The method of calling the PSCI firmware. Permitted | ||
values are: | ||
|
||
"smc" : SMC #0, with the register assignments specified | ||
in this binding. | ||
|
||
"hvc" : HVC #0, with the register assignments specified | ||
in this binding. | ||
|
||
Main node optional properties: | ||
|
||
- cpu_suspend : Function ID for CPU_SUSPEND operation | ||
|
||
- cpu_off : Function ID for CPU_OFF operation | ||
|
||
- cpu_on : Function ID for CPU_ON operation | ||
|
||
- migrate : Function ID for MIGRATE operation | ||
|
||
|
||
Example: | ||
|
||
psci { | ||
compatible = "arm,psci"; | ||
method = "smc"; | ||
cpu_suspend = <0x95c10000>; | ||
cpu_off = <0x95c10001>; | ||
cpu_on = <0x95c10002>; | ||
migrate = <0x95c10003>; | ||
}; |
73 changes: 73 additions & 0 deletions
73
trunk/Documentation/devicetree/bindings/clock/prima2-clock.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,73 @@ | ||
* Clock bindings for CSR SiRFprimaII | ||
|
||
Required properties: | ||
- compatible: Should be "sirf,prima2-clkc" | ||
- reg: Address and length of the register set | ||
- interrupts: Should contain clock controller interrupt | ||
- #clock-cells: Should be <1> | ||
|
||
The clock consumer should specify the desired clock by having the clock | ||
ID in its "clocks" phandle cell. The following is a full list of prima2 | ||
clocks and IDs. | ||
|
||
Clock ID | ||
--------------------------- | ||
rtc 0 | ||
osc 1 | ||
pll1 2 | ||
pll2 3 | ||
pll3 4 | ||
mem 5 | ||
sys 6 | ||
security 7 | ||
dsp 8 | ||
gps 9 | ||
mf 10 | ||
io 11 | ||
cpu 12 | ||
uart0 13 | ||
uart1 14 | ||
uart2 15 | ||
tsc 16 | ||
i2c0 17 | ||
i2c1 18 | ||
spi0 19 | ||
spi1 20 | ||
pwmc 21 | ||
efuse 22 | ||
pulse 23 | ||
dmac0 24 | ||
dmac1 25 | ||
nand 26 | ||
audio 27 | ||
usp0 28 | ||
usp1 29 | ||
usp2 30 | ||
vip 31 | ||
gfx 32 | ||
mm 33 | ||
lcd 34 | ||
vpp 35 | ||
mmc01 36 | ||
mmc23 37 | ||
mmc45 38 | ||
usbpll 39 | ||
usb0 40 | ||
usb1 41 | ||
|
||
Examples: | ||
|
||
clks: clock-controller@88000000 { | ||
compatible = "sirf,prima2-clkc"; | ||
reg = <0x88000000 0x1000>; | ||
interrupts = <3>; | ||
#clock-cells = <1>; | ||
}; | ||
|
||
i2c0: i2c@b00e0000 { | ||
cell-index = <0>; | ||
compatible = "sirf,prima2-i2c"; | ||
reg = <0xb00e0000 0x10000>; | ||
interrupts = <24>; | ||
clocks = <&clks 17>; | ||
}; |
Oops, something went wrong.