iio: Add si7005 relative humidity and temperature sensor driver
authorPeter Meerwald <pmeerw@pmeerw.net>
Wed, 1 Oct 2014 11:03:00 +0000 (12:03 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 11 Jan 2014 11:12:44 +0000 (11:12 +0000)
commit049973b23a6c77186dae45f708cdc0aa52b3a09e
tree7e61a880881046745e19d5e53eb14c20d20850b8
parent4c45b1a80ee9c85aee13445b85fd55541ec26d27
iio: Add si7005 relative humidity and temperature sensor driver

sensor provides 12-bit relative humidity and 14-bit temperature
via I2C interface; temperature and linearity compensation is not
implemented (yet)

driver also supports the Si7015, but not the 2nd generation
sensors Si7013/Si7020/Si7021

datasheet is here
http://www.silabs.com/Support%20Documents/TechnicalDocs/Si7005.pdf

v2: (thanks to Lars-Peter Clausen)
* fix coding style
* use devm_iio_device_register()
* change copyright year to 2014

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/humidity/Kconfig
drivers/iio/humidity/Makefile
drivers/iio/humidity/si7005.c [new file with mode: 0644]