aboutsummaryrefslogtreecommitdiff
path: root/include/linux/thermal.h
AgeCommit message (Collapse)AuthorFilesLines
2008-04-29thermal: add hwmon sysfs I/FZhang Rui1-0/+24
Add hwmon sys I/F for generic thermal driver. Note: we have one hwmon class device for EACH TYPE of the thermal zone device. Signed-off-by: Zhang Rui <[email protected]> Acked-by: Jean Delvare <[email protected]> Signed-off-by: Len Brown <[email protected]>
2008-04-29thermal: add new get_crit_temp callbackZhang, Rui1-0/+1
Add a new callback so that the generic thermal can get the critical trip point info of a thermal zone, which is needed for building the tempX_crit hwmon sysfs attribute. Signed-off-by: Zhang Rui <[email protected]> Acked-by: Jean Delvare <[email protected]> Signed-off-by: Len Brown <[email protected]>
2008-04-29thermal: add the support for building the generic thermal as a moduleZhang Rui1-14/+0
Build the generic thermal driver as module "thermal_sys". Make ACPI thermal, video, processor and fan SELECT the generic thermal driver, as these drivers rely on it to build the sysfs I/F. Signed-off-by: Zhang Rui <[email protected]> Acked-by: Jean Delvare <[email protected]> Signed-off-by: Len Brown <[email protected]>
2008-04-15acpi thermal trip points increased to 12Krzysztof Helt1-1/+1
The THERMAL_MAX_TRIPS value is set to 10. It is too few for the Compaq AP550 machine which has 12 trip points. Signed-off-by: Krzysztof Helt <[email protected]> Cc: Len Brown <[email protected]> Cc: Zhang Rui <[email protected]> Cc: "Rafael J. Wysocki" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-02-09ACPI: thermal: buildfix for CONFIG_THERMAL=nLen Brown1-3/+20
This fixes the build, but acpi_fan_add() still needs to be updated to handle thermal_cooling_device_register() returning NULL as a non-fatal condition. Signed-off-by: Len Brown <[email protected]>
2008-02-01ACPI: CELSIUS_TO_KELVIN fixupZhang Rui1-0/+4
Fix an imprecision in CELSIUS_TO_KELVIN and move these two macroes to a proper place. Signed-off-by: Zhang Rui <[email protected]> Signed-off-by: Thomas Sujith <[email protected]> Signed-off-by: Len Brown <[email protected]>
2008-02-01the generic thermal sysfs driverZhang Rui1-0/+90
The Generic Thermal sysfs driver for thermal management. Signed-off-by: Zhang Rui <[email protected]> Signed-off-by: Thomas Sujith <[email protected]> Signed-off-by: Len Brown <[email protected]>