summaryrefslogtreecommitdiffstats
path: root/drivers/iio/humidity/Makefile
diff options
context:
space:
mode:
authorDavid Barksdale <dbarksdale@uplogix.com>2014-09-29 13:28:55 -0500
committerJonathan Cameron <jic23@kernel.org>2014-10-04 12:43:30 +0100
commit064a74637ccdee608eb898ea3e3847b142b261c6 (patch)
tree339d2db469982d4af35c53804c802ecbac54a654 /drivers/iio/humidity/Makefile
parentef0d5454930aa687ac2c2337107391f1389aa0f1 (diff)
downloadop-kernel-dev-064a74637ccdee608eb898ea3e3847b142b261c6.zip
op-kernel-dev-064a74637ccdee608eb898ea3e3847b142b261c6.tar.gz
IIO: add si7020 driver
This patch adds support to the Industrial IO subsystem for the Silicon Labs Si7013/20/21 Relative Humidity and Temperature Sensors. Website: http://www.silabs.com/products/sensors/humidity-sensors/Pages/si7013-20-21.aspx These are i2c devices which measure relative humidity and temperature and all use the same protocol. The Si7013 has an additional input with programmable linearization which is not supported because that's complicated and I didn't need it. Signed-off-by: David Barksdale <dbarksdale@uplogix.com> -- Changes since v1: * Renamed to si7020 and replaced Si701x/2x with Si7013/20/21. * Removed unneeded mutex. * Pre-computed floating-point constant expressions. * Removed address_list and I2C_CLASS_HWMON. Changes since v2: * Return correct raw sensor values. * Rename dev variable to indio_dev. * Issue a software reset command during probe. * Un-broke string literal. Changes since v3: * enum changed to #define Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/humidity/Makefile')
-rw-r--r--drivers/iio/humidity/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/humidity/Makefile b/drivers/iio/humidity/Makefile
index e3f3d94..86e2d26 100644
--- a/drivers/iio/humidity/Makefile
+++ b/drivers/iio/humidity/Makefile
@@ -4,3 +4,4 @@
obj-$(CONFIG_DHT11) += dht11.o
obj-$(CONFIG_SI7005) += si7005.o
+obj-$(CONFIG_SI7020) += si7020.o
OpenPOWER on IntegriCloud