aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2016-12-04 14:19:07 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2016-12-10 16:06:40 +0100
commit4dbdba36f83669f3fbbdc21616957be8791d8133 (patch)
treead668bb139fe5d7b6e6d0be449cbe51c777136dc
parentc058f4f22d1ae4dc14115be6894db245e82fe60b (diff)
downloadupstream-4dbdba36f83669f3fbbdc21616957be8791d8133.tar.gz
upstream-4dbdba36f83669f3fbbdc21616957be8791d8133.tar.bz2
upstream-4dbdba36f83669f3fbbdc21616957be8791d8133.zip
kernel: add TI tmp102 and tmp103 temperature sensors
This just adds the kmods for these kernel modules. This is found on some Lantiq / Intel reference boards. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--package/kernel/linux/modules/hwmon.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk
index 56cd0ec995..a6e5b22507 100644
--- a/package/kernel/linux/modules/hwmon.mk
+++ b/package/kernel/linux/modules/hwmon.mk
@@ -328,6 +328,36 @@ endef
$(eval $(call KernelPackage,hwmon-gsc))
+define KernelPackage/hwmon-tmp102
+ TITLE:=Texas Instruments TMP102 monitoring support
+ KCONFIG:=CONFIG_SENSORS_TMP102
+ FILES:=$(LINUX_DIR)/drivers/hwmon/tmp102.ko
+ AUTOLOAD:=$(call AutoProbe,tmp102)
+ $(call AddDepends/hwmon,+kmod-i2c-core)
+endef
+
+define KernelPackage/hwmon-tmp102/description
+ Kernel module for Texas Instruments TMP102 temperature sensors chip
+endef
+
+$(eval $(call KernelPackage,hwmon-tmp102))
+
+
+define KernelPackage/hwmon-tmp103
+ TITLE:=Texas Instruments TMP103 monitoring support
+ KCONFIG:=CONFIG_SENSORS_TMP103
+ FILES:=$(LINUX_DIR)/drivers/hwmon/tmp103.ko
+ AUTOLOAD:=$(call AutoProbe,tmp103)
+ $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap)
+endef
+
+define KernelPackage/hwmon-tmp103/description
+ Kernel module for Texas Instruments TMP103 temperature sensors chip
+endef
+
+$(eval $(call KernelPackage,hwmon-tmp103))
+
+
define KernelPackage/hwmon-tmp421
TITLE:=TI TMP421 and compatible monitoring support
KCONFIG:=CONFIG_SENSORS_TMP421