-
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: 350743 b: refs/heads/master c: 10b6339 h: refs/heads/master i: 350741: 3478631 350739: 1d01107 350735: 4db73c3 v: v3
- Loading branch information
Linus Torvalds
committed
Feb 20, 2013
1 parent
991dfac
commit a5d38f6
Showing
1,689 changed files
with
56,079 additions
and
19,272 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: fde8bc59c03c0ad1fa4f655e0ed5cc1f76d11e8b | ||
refs/heads/master: 10b6339e93244156fac901560117e94bf9dca120 |
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
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>; | ||
}; |
53 changes: 53 additions & 0 deletions
53
trunk/Documentation/devicetree/bindings/input/imx-keypad.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,53 @@ | ||
* Freescale i.MX Keypad Port(KPP) device tree bindings | ||
|
||
The KPP is designed to interface with a keypad matrix with 2-point contact | ||
or 3-point contact keys. The KPP is designed to simplify the software task | ||
of scanning a keypad matrix. The KPP is capable of detecting, debouncing, | ||
and decoding one or multiple keys pressed simultaneously on a keypad. | ||
|
||
Required SoC Specific Properties: | ||
- compatible: Should be "fsl,<soc>-kpp". | ||
|
||
- reg: Physical base address of the KPP and length of memory mapped | ||
region. | ||
|
||
- interrupts: The KPP interrupt number to the CPU(s). | ||
|
||
- clocks: The clock provided by the SoC to the KPP. Some SoCs use dummy | ||
clock(The clock for the KPP is provided by the SoCs automatically). | ||
|
||
Required Board Specific Properties: | ||
- pinctrl-names: The definition can be found at | ||
pinctrl/pinctrl-bindings.txt. | ||
|
||
- pinctrl-0: The definition can be found at | ||
pinctrl/pinctrl-bindings.txt. | ||
|
||
- linux,keymap: The definition can be found at | ||
bindings/input/matrix-keymap.txt. | ||
|
||
Example: | ||
kpp: kpp@73f94000 { | ||
compatible = "fsl,imx51-kpp", "fsl,imx21-kpp"; | ||
reg = <0x73f94000 0x4000>; | ||
interrupts = <60>; | ||
clocks = <&clks 0>; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&pinctrl_kpp_1>; | ||
linux,keymap = <0x00000067 /* KEY_UP */ | ||
0x0001006c /* KEY_DOWN */ | ||
0x00020072 /* KEY_VOLUMEDOWN */ | ||
0x00030066 /* KEY_HOME */ | ||
0x0100006a /* KEY_RIGHT */ | ||
0x01010069 /* KEY_LEFT */ | ||
0x0102001c /* KEY_ENTER */ | ||
0x01030073 /* KEY_VOLUMEUP */ | ||
0x02000040 /* KEY_F6 */ | ||
0x02010042 /* KEY_F8 */ | ||
0x02020043 /* KEY_F9 */ | ||
0x02030044 /* KEY_F10 */ | ||
0x0300003b /* KEY_F1 */ | ||
0x0301003c /* KEY_F2 */ | ||
0x0302003d /* KEY_F3 */ | ||
0x03030074>; /* KEY_POWER */ | ||
}; |
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.