Thermal: Add Hysteresis attributes
authorDurgadoss R <dugardoss.r@intel.com>
Wed, 25 Jul 2012 02:10:59 +0000 (10:10 +0800)
committerLen Brown <len.brown@intel.com>
Wed, 25 Jul 2012 03:19:26 +0000 (23:19 -0400)
commit27365a6c7d64a3bba22ee62109e4a071bbd7f933
treed8a5c1bf246171e2983b7f801b64a758fa6f62e3
parentc56f5c0342dfee11a1a13d2f5bb7618de5b17590
Thermal: Add Hysteresis attributes

The Linux Thermal Framework does not support hysteresis
attributes. Most thermal sensors, today, have a
hysteresis value associated with trip points.

This patch adds hysteresis attributes on a per-trip-point
basis, to the Thermal Framework. These attributes are
optionally writable.

Signed-off-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Documentation/thermal/sysfs-api.txt
drivers/thermal/thermal_sys.c
include/linux/thermal.h