aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-03-18 19:49:17 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-03-18 19:49:17 +0000
commitc31627a11225aca357bc3f81f08eac8512e22732 (patch)
tree75e124318b582ba2688f5cf47777b418247fafb0 /package
parent0a18161da104a58750bc03b446351012935ecefe (diff)
downloadupstream-c31627a11225aca357bc3f81f08eac8512e22732.tar.gz
upstream-c31627a11225aca357bc3f81f08eac8512e22732.tar.bz2
upstream-c31627a11225aca357bc3f81f08eac8512e22732.zip
This patch adds a kmod in hwmon for the SHT21 sensor (I2C temperature and humidity sensor)
Signed-off-by: Christian Gagneraud <chris@techworks.ie> SVN-Revision: 30986
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/hwmon.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/kernel/modules/hwmon.mk b/package/kernel/modules/hwmon.mk
index 57dd5684cb..61b5b3d602 100644
--- a/package/kernel/modules/hwmon.mk
+++ b/package/kernel/modules/hwmon.mk
@@ -103,6 +103,19 @@ endef
$(eval $(call KernelPackage,hwmon-lm95241))
+define KernelPackage/hwmon-sht21
+ TITLE:=Sensiron SHT21 and compat. monitoring support
+ KCONFIG:=CONFIG_SENSORS_SHT21
+ FILES:=$(LINUX_DIR)/drivers/hwmon/sht21.ko
+ AUTOLOAD:=$(call AutoLoad,60,sht21)
+ $(call AddDepends/hwmon,+kmod-i2c-core)
+endef
+
+define KernelPackage/hwmon-sht21/description
+ Kernel module for Sensirion SHT21 and SHT25 temperature and humidity sensors chip
+endef
+
+$(eval $(call KernelPackage,hwmon-sht21))
define KernelPackage/hwmon-pc87360
TITLE:=PC87360 monitoring support