forked from torvalds/linux
-
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.
Merge tag 'pm+acpi-3.10-rc1' of git://git.kernel.org/pub/scm/linux/ke…
…rnel/git/rafael/linux-pm Pull power management and ACPI updates from Rafael J Wysocki: - ARM big.LITTLE cpufreq driver from Viresh Kumar. - exynos5440 cpufreq driver from Amit Daniel Kachhap. - cpufreq core cleanup and code consolidation from Viresh Kumar and Stratos Karafotis. - cpufreq scalability improvement from Nathan Zimmer. - AMD "frequency sensitivity feedback" powersave bias for the ondemand cpufreq governor from Jacob Shin. - cpuidle code consolidation and cleanups from Daniel Lezcano. - ARM OMAP cpuidle fixes from Santosh Shilimkar and Daniel Lezcano. - ACPICA fixes and other improvements from Bob Moore, Jung-uk Kim, Lv Zheng, Yinghai Lu, Tang Chen, Colin Ian King, and Linn Crosetto. - ACPI core updates related to hotplug from Toshi Kani, Paul Bolle, Yasuaki Ishimatsu, and Rafael J Wysocki. - Intel Lynxpoint LPSS (Low-Power Subsystem) support improvements from Rafael J Wysocki and Andy Shevchenko. * tag 'pm+acpi-3.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (192 commits) cpufreq: Revert incorrect commit 5800043 cpufreq: MAINTAINERS: Add co-maintainer cpuidle: add maintainer entry ACPI / thermal: do not always return THERMAL_TREND_RAISING for active trip points ARM: s3c64xx: cpuidle: use init/exit common routine cpufreq: pxa2xx: initialize variables ACPI: video: correct acpi_video_bus_add error processing SH: cpuidle: use init/exit common routine ARM: S5pv210: compiling issue, ARM_S5PV210_CPUFREQ needs CONFIG_CPU_FREQ_TABLE=y ACPI: Fix wrong parameter passed to memblock_reserve cpuidle: fix comment format pnp: use %*phC to dump small buffers isapnp: remove debug leftovers ARM: imx: cpuidle: use init/exit common routine ARM: davinci: cpuidle: use init/exit common routine ARM: kirkwood: cpuidle: use init/exit common routine ARM: calxeda: cpuidle: use init/exit common routine ARM: tegra: cpuidle: use init/exit common routine for tegra3 ARM: tegra: cpuidle: use init/exit common routine for tegra2 ARM: OMAP4: cpuidle: use init/exit common routine ...
- Loading branch information
Showing
253 changed files
with
6,938 additions
and
4,145 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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
What: /sys/devices/.../lpss_ltr/ | ||
Date: March 2013 | ||
Contact: Rafael J. Wysocki <[email protected]> | ||
Description: | ||
The /sys/devices/.../lpss_ltr/ directory is only present for | ||
devices included into the Intel Lynxpoint Low Power Subsystem | ||
(LPSS). If present, it contains attributes containing the LTR | ||
mode and the values of LTR registers of the device. | ||
|
||
What: /sys/devices/.../lpss_ltr/ltr_mode | ||
Date: March 2013 | ||
Contact: Rafael J. Wysocki <[email protected]> | ||
Description: | ||
The /sys/devices/.../lpss_ltr/ltr_mode attribute contains an | ||
integer number (0 or 1) indicating whether or not the devices' | ||
LTR functionality is working in the software mode (1). | ||
|
||
This attribute is read-only. If the device's runtime PM status | ||
is not "active", attempts to read from this attribute cause | ||
-EAGAIN to be returned. | ||
|
||
What: /sys/devices/.../lpss_ltr/auto_ltr | ||
Date: March 2013 | ||
Contact: Rafael J. Wysocki <[email protected]> | ||
Description: | ||
The /sys/devices/.../lpss_ltr/auto_ltr attribute contains the | ||
current value of the device's AUTO_LTR register (raw) | ||
represented as an 8-digit hexadecimal number. | ||
|
||
This attribute is read-only. If the device's runtime PM status | ||
is not "active", attempts to read from this attribute cause | ||
-EAGAIN to be returned. | ||
|
||
What: /sys/devices/.../lpss_ltr/sw_ltr | ||
Date: March 2013 | ||
Contact: Rafael J. Wysocki <[email protected]> | ||
Description: | ||
The /sys/devices/.../lpss_ltr/auto_ltr attribute contains the | ||
current value of the device's SW_LTR register (raw) represented | ||
as an 8-digit hexadecimal number. | ||
|
||
This attribute is read-only. If the device's runtime PM status | ||
is not "active", attempts to read from this attribute cause | ||
-EAGAIN to be returned. |
13 changes: 13 additions & 0 deletions
13
Documentation/ABI/testing/sysfs-devices-power_resources_wakeup
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,13 @@ | ||
What: /sys/devices/.../power_resources_wakeup/ | ||
Date: April 2013 | ||
Contact: Rafael J. Wysocki <[email protected]> | ||
Description: | ||
The /sys/devices/.../power_resources_wakeup/ directory is only | ||
present for device objects representing ACPI device nodes that | ||
require ACPI power resources for wakeup signaling. | ||
|
||
If present, it contains symbolic links to device directories | ||
representing ACPI power resources that need to be turned on for | ||
the given device node to be able to signal wakeup. The names of | ||
the links are the same as the names of the directories they | ||
point to. |
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 |
---|---|---|
|
@@ -18,6 +18,32 @@ Description: | |
yoffset: The number of pixels between the top of the screen | ||
and the top edge of the image. | ||
|
||
What: /sys/firmware/acpi/hotplug/ | ||
Date: February 2013 | ||
Contact: Rafael J. Wysocki <[email protected]> | ||
Description: | ||
There are separate hotplug profiles for different classes of | ||
devices supported by ACPI, such as containers, memory modules, | ||
processors, PCI root bridges etc. A hotplug profile for a given | ||
class of devices is a collection of settings defining the way | ||
that class of devices will be handled by the ACPI core hotplug | ||
code. Those profiles are represented in sysfs as subdirectories | ||
of /sys/firmware/acpi/hotplug/. | ||
|
||
The following setting is available to user space for each | ||
hotplug profile: | ||
|
||
enabled: If set, the ACPI core will handle notifications of | ||
hotplug events associated with the given class of | ||
devices and will allow those devices to be ejected with | ||
the help of the _EJ0 control method. Unsetting it | ||
effectively disables hotplug for the correspoinding | ||
class of devices. | ||
|
||
The value of the above attribute is an integer number: 1 (set) | ||
or 0 (unset). Attempts to write any other values to it will | ||
cause -EINVAL to be returned. | ||
|
||
What: /sys/firmware/acpi/interrupts/ | ||
Date: February 2008 | ||
Contact: Len Brown <[email protected]> | ||
|
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
65 changes: 65 additions & 0 deletions
65
Documentation/devicetree/bindings/cpufreq/arm_big_little_dt.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,65 @@ | ||
Generic ARM big LITTLE cpufreq driver's DT glue | ||
----------------------------------------------- | ||
|
||
This is DT specific glue layer for generic cpufreq driver for big LITTLE | ||
systems. | ||
|
||
Both required and optional properties listed below must be defined | ||
under node /cpus/cpu@x. Where x is the first cpu inside a cluster. | ||
|
||
FIXME: Cpus should boot in the order specified in DT and all cpus for a cluster | ||
must be present contiguously. Generic DT driver will check only node 'x' for | ||
cpu:x. | ||
|
||
Required properties: | ||
- operating-points: Refer to Documentation/devicetree/bindings/power/opp.txt | ||
for details | ||
|
||
Optional properties: | ||
- clock-latency: Specify the possible maximum transition latency for clock, | ||
in unit of nanoseconds. | ||
|
||
Examples: | ||
|
||
cpus { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
cpu@0 { | ||
compatible = "arm,cortex-a15"; | ||
reg = <0>; | ||
next-level-cache = <&L2>; | ||
operating-points = < | ||
/* kHz uV */ | ||
792000 1100000 | ||
396000 950000 | ||
198000 850000 | ||
>; | ||
clock-latency = <61036>; /* two CLK32 periods */ | ||
}; | ||
|
||
cpu@1 { | ||
compatible = "arm,cortex-a15"; | ||
reg = <1>; | ||
next-level-cache = <&L2>; | ||
}; | ||
|
||
cpu@100 { | ||
compatible = "arm,cortex-a7"; | ||
reg = <100>; | ||
next-level-cache = <&L2>; | ||
operating-points = < | ||
/* kHz uV */ | ||
792000 950000 | ||
396000 750000 | ||
198000 450000 | ||
>; | ||
clock-latency = <61036>; /* two CLK32 periods */ | ||
}; | ||
|
||
cpu@101 { | ||
compatible = "arm,cortex-a7"; | ||
reg = <101>; | ||
next-level-cache = <&L2>; | ||
}; | ||
}; |
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
28 changes: 28 additions & 0 deletions
28
Documentation/devicetree/bindings/cpufreq/cpufreq-exynos5440.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,28 @@ | ||
|
||
Exynos5440 cpufreq driver | ||
------------------- | ||
|
||
Exynos5440 SoC cpufreq driver for CPU frequency scaling. | ||
|
||
Required properties: | ||
- interrupts: Interrupt to know the completion of cpu frequency change. | ||
- operating-points: Table of frequencies and voltage CPU could be transitioned into, | ||
in the decreasing order. Frequency should be in KHz units and voltage | ||
should be in microvolts. | ||
|
||
Optional properties: | ||
- clock-latency: Clock monitor latency in microsecond. | ||
|
||
All the required listed above must be defined under node cpufreq. | ||
|
||
Example: | ||
-------- | ||
cpufreq@160000 { | ||
compatible = "samsung,exynos5440-cpufreq"; | ||
reg = <0x160000 0x1000>; | ||
interrupts = <0 57 0>; | ||
operating-points = < | ||
1000000 975000 | ||
800000 925000>; | ||
clock-latency = <100000>; | ||
}; |
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 |
---|---|---|
|
@@ -2203,12 +2203,34 @@ F: drivers/net/ethernet/ti/cpmac.c | |
|
||
CPU FREQUENCY DRIVERS | ||
M: Rafael J. Wysocki <[email protected]> | ||
M: Viresh Kumar <[email protected]> | ||
L: [email protected] | ||
L: [email protected] | ||
S: Maintained | ||
T: git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git | ||
F: drivers/cpufreq/ | ||
F: include/linux/cpufreq.h | ||
|
||
CPU FREQUENCY DRIVERS - ARM BIG LITTLE | ||
M: Viresh Kumar <[email protected]> | ||
M: Sudeep KarkadaNagesha <[email protected]> | ||
L: [email protected] | ||
L: [email protected] | ||
W: http://www.arm.com/products/processors/technologies/biglittleprocessing.php | ||
S: Maintained | ||
F: drivers/cpufreq/arm_big_little.h | ||
F: drivers/cpufreq/arm_big_little.c | ||
F: drivers/cpufreq/arm_big_little_dt.c | ||
|
||
CPUIDLE DRIVERS | ||
M: Rafael J. Wysocki <[email protected]> | ||
M: Daniel Lezcano <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
T: git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git | ||
F: drivers/cpuidle/* | ||
F: include/linux/cpuidle.h | ||
|
||
CPUID/MSR DRIVER | ||
M: "H. Peter Anvin" <[email protected]> | ||
S: Maintained | ||
|
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.