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>
Fri, 23 Mar 2012 07:53:07 +0000 (00:53 -0700)
commita8ff5bffe60f5b292724633448255f2b2278be64
tree423bc35cca712841fd4ed6fc13afb0cf02f02b3e
parent95ba2636465ad37220c1943fda7cf236b1df3c0f
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