From: Peter Meerwald Date: Thu, 8 Aug 2013 16:39:00 +0000 (+0100) Subject: iio: Add tmp006 IR temperature sensor X-Git-Tag: v3.12-rc1~183^2~247^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5a639421821c7cd11832fd7fbe6376bfb304880;p=pandora-kernel.git iio: Add tmp006 IR temperature sensor the TI TMP006 is a non-contact temperature sensor with I2C interface; it measures the surface temperature of a distance object using a thermopile to absorb IR energy emitted from the object the sensor has two channels: IR sensor voltage (16-bit) and reference temperature of the chip (14-bit); datasheet is here: http://www.ti.com/lit/ds/symlink/tmp006.pdf v2 (thanks to Grygorii Strashko, Lars-Peter Clausen, Jonathan Cameron for review comments): * power down device on driver remove * use sign_extend32() * style cleanup * add comments what channel raw LSBs mean * spelling of thermopile Signed-off-by: Peter Meerwald Cc: Grygorii Strashko Cc: Lars-Peter Clausen Cc: Jonathan Cameron Cc: LM Sensors Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed