misc: nct1008: sysfs interface for THERM setting
authorBitan Biswas <bbiswas@nvidia.com>
Wed, 9 Feb 2011 12:31:59 +0000 (17:31 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:45:35 +0000 (21:45 -0800)
commit5730ac496edf297a6e72ccfd0b8fce2dce250a51
treedcb893400579808d4762f8a1a90ec7861c9abe32
parent0b05cfbb8ecf835aeb3f643ac6936015edd61f3e
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: I0e3fa35f63df507e875cbfcacf8dd5850d66b751

Rebase-Id: Rc27f97cb6b4fb0b3e34f5b2c84cb705c77e7ab01
arch/arm/mach-tegra/board-cardhu-sensors.c