hwmon:tegra:tsensor driver added
authorBitan Biswas <bbiswas@nvidia.com>
Tue, 22 Feb 2011 13:32:44 +0000 (18:32 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:47:24 +0000 (21:47 -0800)
commit3fe6afb47e87dda83af7b00ef36f0bba185b1e7b
tree5de801873d913ff27f90df4abe995bf6006c7958
parentf9dfd33efa1e74eaa579e5369feb50fdec871624
hwmon:tegra:tsensor driver added

Tegra integrated temperature sensor(tsensor) driver added
 - TH3 counter < current counter causes hardware reset
 - TH2 counter < current counter causes CPU clock to be halved
 - sysfs interface provided for select operations
 - interrupts TH1 TH2 and TH3 working
 - used recommended N,M and clk source settings
 - tsensor counter to temperature conversion added
   tsensor1 counter being used for temperature computations.

Bug 661228

Original-Change-Id: I0fa405c0f542d1b215162291bd913a9ccd55a0f5
Reviewed-on: http://git-master/r/36083
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: R3c910b4fdc630ffee2135d3d649e25015d2b7206
arch/arm/mach-tegra/include/mach/tsensor.h [new file with mode: 0644]
drivers/hwmon/Kconfig
drivers/hwmon/Makefile
drivers/hwmon/tegra-tsensor.c [new file with mode: 0644]