diff options
author | Peter Meerwald <pmeerw@pmeerw.net> | 2013-08-08 16:39:00 (GMT) |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-08-17 14:50:53 (GMT) |
commit | e5a639421821c7cd11832fd7fbe6376bfb304880 (patch) | |
tree | 7ae4df3e33bb99c0c3ad74a148b1b6dc6f1ff888 /drivers/iio/temperature/Makefile | |
parent | 9c6cd3b39048c8bbb83c5cd936f4dffc847321c6 (diff) | |
download | linux-fsl-qoriq-e5a639421821c7cd11832fd7fbe6376bfb304880.tar.xz |
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 <pmeerw@pmeerw.net>
Cc: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: LM Sensors <lm-sensors@lm-sensors.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/temperature/Makefile')
-rw-r--r-- | drivers/iio/temperature/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/iio/temperature/Makefile b/drivers/iio/temperature/Makefile new file mode 100644 index 0000000..24d7b60 --- /dev/null +++ b/drivers/iio/temperature/Makefile @@ -0,0 +1,5 @@ +# +# Makefile for industrial I/O temperature drivers +# + +obj-$(CONFIG_TMP006) += tmp006.o |