misc: nct1008: sysfs interface for THERM setting
authorDan Willemsen <dwillemsen@nvidia.com>
Fri, 1 Apr 2011 04:46:58 +0000 (21:46 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:43:04 +0000 (21:43 -0800)
commitcaee6aa4687cbc2ac248942545f315eda413f283
tree9e1909436d1624f008a7d0da1790bd6a85de62fb
parent82dcbbd7e9acf086cfcefcd7b2ce0672e6bfb621
misc: nct1008: sysfs interface for THERM setting

Enabling external temperature sensor for honeycomb t30
- added sysfs interface in external temperature sensor
- Set THERM threshold for nct1008 external temperature sensor
as 75 degree celsius
- hysteresis of 5 deg celsius selected to prevent
system going in and out of reset for threshold
temperatures.

Bug 789904

Original-Change-Id: I305a05bc57ae485334ccf2dc1bde3d6afd4fceae
Reviewed-on: http://git-master/r/18894
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Original-Change-Id: I2b0c97ecef1a11282e92d4d8f3e64b3633bb362e

Rebase-Id: R53e6608ce50ae1a7e5f335429b782c5e82dfb071
drivers/misc/nct1008.c