acpi: thermal: display forced passive trip points in proc
authorFrans Pop <elendil@planet.nl>
Mon, 26 Oct 2009 07:39:01 +0000 (08:39 +0100)
committerLen Brown <len.brown@intel.com>
Thu, 5 Nov 2009 23:17:03 +0000 (18:17 -0500)
commit7fb2616e249184e217f9818a7662596165710ea4
tree2e96ca2686de3b2852155380957745c32c231a13
parent29226ed3c3b5cd0b2b0b1fb40ffeac3f796b80e9
acpi: thermal: display forced passive trip points in proc

Users can force a passive trip point for a thermal zone that does not
have _PSV defined in ACPI by setting the passive attribute in sysfs.
It's useful to display such trip points in /proc/acpi/thermal_zone.

.../TZ1/cooling_mode:<setting not supported>
.../TZ1/polling_frequency:polling frequency:       10 seconds
.../TZ1/state:state:                   ok
.../TZ1/temperature:temperature:             53 C
.../TZ1/trip_points:critical (S5):           110 C
.../TZ1/trip_points:passive (forced):        95 C

And if not set (passive is 0):
.../TZ1/trip_points:passive (forced):<not set>

Signed-off-by: Frans Pop <elendil@planet.nl>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/thermal.c
This page took 0.02615 seconds and 5 git commands to generate.