-
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: 350542 b: refs/heads/master c: 8a3a11f h: refs/heads/master v: v3
- Loading branch information
Linus Torvalds
committed
Feb 20, 2013
1 parent
c31cc4e
commit 372f51d
Showing
1,482 changed files
with
35,826 additions
and
15,464 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: ade158eb53eed40f6090e9f7ee6ee3513ec1eec4 | ||
refs/heads/master: 8a3a11f91def34424b1995cb54ccd658efde8568 |
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,91 @@ | ||
TPS6507x Power Management Integrated Circuit | ||
|
||
Required properties: | ||
- compatible: "ti,tps6507x" | ||
- reg: I2C slave address | ||
- regulators: This is the list of child nodes that specify the regulator | ||
initialization data for defined regulators. Not all regulators for the | ||
given device need to be present. The definition for each of these nodes | ||
is defined using the standard binding for regulators found at | ||
Documentation/devicetree/bindings/regulator/regulator.txt. | ||
The regulator is matched with the regulator-compatible. | ||
|
||
The valid regulator-compatible values are: | ||
tps6507x: vdcdc1, vdcdc2, vdcdc3, vldo1, vldo2 | ||
- xxx-supply: Input voltage supply regulator. | ||
These entries are required if regulators are enabled for a device. | ||
Missing of these properties can cause the regulator registration | ||
fails. | ||
If some of input supply is powered through battery or always-on | ||
supply then also it is require to have these parameters with proper | ||
node handle of always on power supply. | ||
tps6507x: | ||
vindcdc1_2-supply: VDCDC1 and VDCDC2 input. | ||
vindcdc3-supply : VDCDC3 input. | ||
vldo1_2-supply : VLDO1 and VLDO2 input. | ||
|
||
Regulator Optional properties: | ||
- defdcdc_default: It's property of DCDC2 and DCDC3 regulators. | ||
0: If defdcdc pin of DCDC2/DCDC3 is pulled to GND. | ||
1: If defdcdc pin of DCDC2/DCDC3 is driven HIGH. | ||
If this property is not defined, it defaults to 0 (not enabled). | ||
|
||
Example: | ||
|
||
pmu: tps6507x@48 { | ||
compatible = "ti,tps6507x"; | ||
reg = <0x48>; | ||
|
||
vindcdc1_2-supply = <&vbat>; | ||
vindcdc3-supply = <...>; | ||
vinldo1_2-supply = <...>; | ||
|
||
regulators { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
vdcdc1_reg: regulator@0 { | ||
regulator-compatible = "VDCDC1"; | ||
reg = <0>; | ||
regulator-min-microvolt = <3150000>; | ||
regulator-max-microvolt = <3450000>; | ||
regulator-always-on; | ||
regulator-boot-on; | ||
}; | ||
vdcdc2_reg: regulator@1 { | ||
regulator-compatible = "VDCDC2"; | ||
reg = <1>; | ||
regulator-min-microvolt = <1710000>; | ||
regulator-max-microvolt = <3450000>; | ||
regulator-always-on; | ||
regulator-boot-on; | ||
defdcdc_default = <1>; | ||
}; | ||
vdcdc3_reg: regulator@2 { | ||
regulator-compatible = "VDCDC3"; | ||
reg = <2>; | ||
regulator-min-microvolt = <950000> | ||
regulator-max-microvolt = <1350000>; | ||
regulator-always-on; | ||
regulator-boot-on; | ||
defdcdc_default = <1>; | ||
}; | ||
ldo1_reg: regulator@3 { | ||
regulator-compatible = "LDO1"; | ||
reg = <3>; | ||
regulator-min-microvolt = <1710000>; | ||
regulator-max-microvolt = <1890000>; | ||
regulator-always-on; | ||
regulator-boot-on; | ||
}; | ||
ldo2_reg: regulator@4 { | ||
regulator-compatible = "LDO2"; | ||
reg = <4>; | ||
regulator-min-microvolt = <1140000>; | ||
regulator-max-microvolt = <1320000>; | ||
regulator-always-on; | ||
regulator-boot-on; | ||
}; | ||
}; | ||
|
||
}; |
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
Oops, something went wrong.