-
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: 361418 b: refs/heads/master c: 35f8c76 h: refs/heads/master v: v3
- Loading branch information
Linus Torvalds
committed
Mar 18, 2013
1 parent
9a01656
commit e69fccc
Showing
1,051 changed files
with
42,677 additions
and
6,228 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: 5bc7c33ca93a285dcfe7b7fd64970f6314440ad1 | ||
refs/heads/master: 35f8c769aa5f3d9a81d50e9bdcbfd4151e72a0c9 |
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,83 @@ | ||
What: /sys/devices/platform/msi-laptop-pf/lcd_level | ||
Date: Oct 2006 | ||
KernelVersion: 2.6.19 | ||
Contact: "Lennart Poettering <mzxreary@0pointer.de>" | ||
Description: | ||
Screen brightness: contains a single integer in the range 0..8. | ||
|
||
What: /sys/devices/platform/msi-laptop-pf/auto_brightness | ||
Date: Oct 2006 | ||
KernelVersion: 2.6.19 | ||
Contact: "Lennart Poettering <mzxreary@0pointer.de>" | ||
Description: | ||
Enable automatic brightness control: contains either 0 or 1. If | ||
set to 1 the hardware adjusts the screen brightness | ||
automatically when the power cord is plugged/unplugged. | ||
|
||
What: /sys/devices/platform/msi-laptop-pf/wlan | ||
Date: Oct 2006 | ||
KernelVersion: 2.6.19 | ||
Contact: "Lennart Poettering <mzxreary@0pointer.de>" | ||
Description: | ||
WLAN subsystem enabled: contains either 0 or 1. | ||
|
||
What: /sys/devices/platform/msi-laptop-pf/bluetooth | ||
Date: Oct 2006 | ||
KernelVersion: 2.6.19 | ||
Contact: "Lennart Poettering <mzxreary@0pointer.de>" | ||
Description: | ||
Bluetooth subsystem enabled: contains either 0 or 1. Please | ||
note that this file is constantly 0 if no Bluetooth hardware is | ||
available. | ||
|
||
What: /sys/devices/platform/msi-laptop-pf/touchpad | ||
Date: Nov 2012 | ||
KernelVersion: 3.8 | ||
Contact: "Maxim Mikityanskiy <maxtram95@gmail.com>" | ||
Description: | ||
Contains either 0 or 1 and indicates if touchpad is turned on. | ||
Touchpad state can only be toggled by pressing Fn+F3. | ||
|
||
What: /sys/devices/platform/msi-laptop-pf/turbo_mode | ||
Date: Nov 2012 | ||
KernelVersion: 3.8 | ||
Contact: "Maxim Mikityanskiy <maxtram95@gmail.com>" | ||
Description: | ||
Contains either 0 or 1 and indicates if turbo mode is turned | ||
on. In turbo mode power LED is orange and processor is | ||
overclocked. Turbo mode is available only if charging. It is | ||
only possible to toggle turbo mode state by pressing Fn+F10, | ||
and there is a few seconds cooldown between subsequent toggles. | ||
If user presses Fn+F10 too frequent, turbo mode state is not | ||
changed. | ||
|
||
What: /sys/devices/platform/msi-laptop-pf/eco_mode | ||
Date: Nov 2012 | ||
KernelVersion: 3.8 | ||
Contact: "Maxim Mikityanskiy <maxtram95@gmail.com>" | ||
Description: | ||
Contains either 0 or 1 and indicates if ECO mode is turned on. | ||
In ECO mode power LED is green and userspace should do some | ||
powersaving actions. ECO mode is available only on battery | ||
power. ECO mode can only be toggled by pressing Fn+F10. | ||
|
||
What: /sys/devices/platform/msi-laptop-pf/turbo_cooldown | ||
Date: Nov 2012 | ||
KernelVersion: 3.8 | ||
Contact: "Maxim Mikityanskiy <maxtram95@gmail.com>" | ||
Description: | ||
Contains value in range 0..3: | ||
* 0 -> Turbo mode is off | ||
* 1 -> Turbo mode is on, cannot be turned off yet | ||
* 2 -> Turbo mode is off, cannot be turned on yet | ||
* 3 -> Turbo mode is on | ||
|
||
What: /sys/devices/platform/msi-laptop-pf/auto_fan | ||
Date: Nov 2012 | ||
KernelVersion: 3.8 | ||
Contact: "Maxim Mikityanskiy <maxtram95@gmail.com>" | ||
Description: | ||
Contains either 0 or 1 and indicates if fan speed is controlled | ||
automatically (1) or fan runs at maximal speed (0). Can be | ||
toggled in software. | ||
|
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
82 changes: 82 additions & 0 deletions
82
trunk/Documentation/devicetree/bindings/metag/meta-intc.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,82 @@ | ||
* Meta External Trigger Controller Binding | ||
|
||
This binding specifies what properties must be available in the device tree | ||
representation of a Meta external trigger controller. | ||
|
||
Required properties: | ||
|
||
- compatible: Specifies the compatibility list for the interrupt controller. | ||
The type shall be <string> and the value shall include "img,meta-intc". | ||
|
||
- num-banks: Specifies the number of interrupt banks (each of which can | ||
handle 32 interrupt sources). | ||
|
||
- interrupt-controller: The presence of this property identifies the node | ||
as an interupt controller. No property value shall be defined. | ||
|
||
- #interrupt-cells: Specifies the number of cells needed to encode an | ||
interrupt source. The type shall be a <u32> and the value shall be 2. | ||
|
||
- #address-cells: Specifies the number of cells needed to encode an | ||
address. The type shall be <u32> and the value shall be 0. As such, | ||
'interrupt-map' nodes do not have to specify a parent unit address. | ||
|
||
Optional properties: | ||
|
||
- no-mask: The controller doesn't have any mask registers. | ||
|
||
* Interrupt Specifier Definition | ||
|
||
Interrupt specifiers consists of 2 cells encoded as follows: | ||
|
||
- <1st-cell>: The interrupt-number that identifies the interrupt source. | ||
|
||
- <2nd-cell>: The Linux interrupt flags containing level-sense information, | ||
encoded as follows: | ||
1 = edge triggered | ||
4 = level-sensitive | ||
|
||
* Examples | ||
|
||
Example 1: | ||
|
||
/* | ||
* Meta external trigger block | ||
*/ | ||
intc: intc { | ||
// This is an interrupt controller node. | ||
interrupt-controller; | ||
|
||
// No address cells so that 'interrupt-map' nodes which | ||
// reference this interrupt controller node do not need a parent | ||
// address specifier. | ||
#address-cells = <0>; | ||
|
||
// Two cells to encode interrupt sources. | ||
#interrupt-cells = <2>; | ||
|
||
// Number of interrupt banks | ||
num-banks = <2>; | ||
|
||
// No HWMASKEXT is available (specify on Chorus2 and Comet ES1) | ||
no-mask; | ||
|
||
// Compatible with Meta hardware trigger block. | ||
compatible = "img,meta-intc"; | ||
}; | ||
|
||
Example 2: | ||
|
||
/* | ||
* An interrupt generating device that is wired to a Meta external | ||
* trigger block. | ||
*/ | ||
uart1: uart@0x02004c00 { | ||
// Interrupt source '5' that is level-sensitive. | ||
// Note that there are only two cells as specified in the | ||
// interrupt parent's '#interrupt-cells' property. | ||
interrupts = <5 4 /* level */>; | ||
|
||
// The interrupt controller that this device is wired to. | ||
interrupt-parent = <&intc>; | ||
}; |
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.