Skip to content

Commit

Permalink
This patch adds a kmod in hwmon for the SHT21 sensor (I2C temperature…
Browse files Browse the repository at this point in the history
… and humidity sensor)

Signed-off-by: Christian Gagneraud <chris@techworks.ie>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30986 3c298f89-4303-0410-b956-a3cf2f4a3e73
  • Loading branch information
jow committed Mar 18, 2012
1 parent 6f77ae2 commit a79a87a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions package/kernel/modules/hwmon.mk
Expand Up @@ -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
Expand Down

0 comments on commit a79a87a

Please sign in to comment.