-
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: 350822 b: refs/heads/master c: b3cdda2 h: refs/heads/master v: v3
- Loading branch information
Linus Torvalds
committed
Feb 20, 2013
1 parent
ae80680
commit 3e84cf4
Showing
1,037 changed files
with
44,615 additions
and
16,202 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: 02bbde7849e68e193cefaa1885fe0df0f03c9fcd | ||
refs/heads/master: b3cdda2b4f541439ca4205793040aa2e1c852e3b |
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
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>; | ||
}; |
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 @@ | ||
ina209 properties | ||
|
||
Required properties: | ||
- compatible: Must be "ti,ina209" | ||
- reg: I2C address | ||
|
||
Optional properties: | ||
|
||
- shunt-resistor | ||
Shunt resistor value in micro-Ohm | ||
|
||
Example: | ||
|
||
temp-sensor@4c { | ||
compatible = "ti,ina209"; | ||
reg = <0x4c>; | ||
shunt-resistor = <5000>; | ||
}; |
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,64 @@ | ||
max6697 properties | ||
|
||
Required properties: | ||
- compatible: | ||
Should be one of | ||
maxim,max6581 | ||
maxim,max6602 | ||
maxim,max6622 | ||
maxim,max6636 | ||
maxim,max6689 | ||
maxim,max6693 | ||
maxim,max6694 | ||
maxim,max6697 | ||
maxim,max6698 | ||
maxim,max6699 | ||
- reg: I2C address | ||
|
||
Optional properties: | ||
|
||
- smbus-timeout-disable | ||
Set to disable SMBus timeout. If not specified, SMBus timeout will be | ||
enabled. | ||
- extended-range-enable | ||
Only valid for MAX6581. Set to enable extended temperature range. | ||
Extended temperature will be disabled if not specified. | ||
- beta-compensation-enable | ||
Only valid for MAX6693 and MX6694. Set to enable beta compensation on | ||
remote temperature channel 1. | ||
Beta compensation will be disabled if not specified. | ||
- alert-mask | ||
Alert bit mask. Alert disabled for bits set. | ||
Select bit 0 for local temperature, bit 1..7 for remote temperatures. | ||
If not specified, alert will be enabled for all channels. | ||
- over-temperature-mask | ||
Over-temperature bit mask. Over-temperature reporting disabled for | ||
bits set. | ||
Select bit 0 for local temperature, bit 1..7 for remote temperatures. | ||
If not specified, over-temperature reporting will be enabled for all | ||
channels. | ||
- resistance-cancellation | ||
Boolean for all chips other than MAX6581. Set to enable resistance | ||
cancellation on remote temperature channel 1. | ||
For MAX6581, resistance cancellation enabled for all channels if | ||
specified as boolean, otherwise as per bit mask specified. | ||
Only supported for remote temperatures (bit 1..7). | ||
If not specified, resistance cancellation will be disabled for all | ||
channels. | ||
- transistor-ideality | ||
For MAX6581 only. Two values; first is bit mask, second is ideality | ||
select value as per MAX6581 data sheet. Select bit 1..7 for remote | ||
channels. | ||
Transistor ideality will be initialized to default (1.008) if not | ||
specified. | ||
|
||
Example: | ||
|
||
temp-sensor@1a { | ||
compatible = "maxim,max6697"; | ||
reg = <0x1a>; | ||
smbus-timeout-disable; | ||
resistance-cancellation; | ||
alert-mask = <0x72>; | ||
over-temperature-mask = <0x7f>; | ||
}; |
Oops, something went wrong.