diff options
author | Zhang Rui <rui.zhang@intel.com> | 2008-01-17 02:51:11 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-02-01 23:12:19 -0500 |
commit | 3f655ef8c439e0775ffb7d1ead5d1d4f060e1f8b (patch) | |
tree | 9ac375f1f4c54a698e3f2736497193c0f00d638c /drivers/acpi/Kconfig | |
parent | 203d3d4aa482339b4816f131f713e1b8ee37f6dd (diff) |
ACPI: register ACPI thermal zone as generic thermal zone devices
Register ACPI thermal zone as thermal zone device.
the new sys I/F for ACPI thermal zone will be like this:
/sys/class/thermal:
|thermal_zone1:
|-----type: "ACPI thermal zone". RO
|-----temp: the current temperature. RO
|-----mode: the current working mode. RW.
the default value is "kernel" which means thermal
management is done by ACPI thermal driver.
"echo user > mode" prevents all the ACPI thermal driver
actions upon any trip points.
|-----trip_point_0_temp: the threshold of trip point 0. RO.
|-----trip_point_0_type: "critical". RO.
the type of trip point 0
This may be one of critical/hot/passive/active[x]
for an ACPI thermal zone.
...
|-----trip_point_3_temp:
|-----trip_point_3_type: "active[1]"
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Thomas Sujith <sujith.thomas@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/Kconfig')
-rw-r--r-- | drivers/acpi/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index ccf6ea95f68c..558372957fd3 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig | |||
@@ -186,6 +186,7 @@ config ACPI_HOTPLUG_CPU | |||
186 | config ACPI_THERMAL | 186 | config ACPI_THERMAL |
187 | tristate "Thermal Zone" | 187 | tristate "Thermal Zone" |
188 | depends on ACPI_PROCESSOR | 188 | depends on ACPI_PROCESSOR |
189 | select THERMAL | ||
189 | default y | 190 | default y |
190 | help | 191 | help |
191 | This driver adds support for ACPI thermal zones. Most mobile and | 192 | This driver adds support for ACPI thermal zones. Most mobile and |