]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (coretemp) Add support for thermal threshold attributes
authorGuenter Roeck <guenter.roeck@ericsson.com>
Tue, 20 Sep 2011 15:18:28 +0000 (08:18 -0700)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Fri, 23 Sep 2011 17:40:03 +0000 (10:40 -0700)
commit163a0e719be7d527e1ea410cff961f412d091c80
treec2661cd404f7430b2cfb73b1696e4bc42debac54
parentaf8364ec179eee29527fb008965ae5f329229e64
hwmon: (coretemp) Add support for thermal threshold attributes

Add support for T0 and T1 temperature thresholds using the new sysfs ABI
attributes tempX_thresholdY and tempX_thresholdY_triggered.

This patch is based on commit c814a4c7c4aad795835583344353963a0a673eb0, which
was reverted. For details on the threshold registers, see IA Manual vol 3A,
which can be downloaded from here:
        http://download.intel.com/design/processor/manuals/253668.pdf

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: Durgadoss R <durgadoss.r@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Documentation/hwmon/coretemp
drivers/hwmon/coretemp.c