aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Larysch <fl@n621.de>2016-08-04 14:00:33 +0200
committerFelix Fietkau <nbd@nbd.name>2016-11-08 10:49:40 +0100
commitdfc14bd145c18787262680b6f08496a66d08405a (patch)
tree7f1df3c4350228433d547dcda27813161d791024
parent51b1d76f16c2a18b791d95bec556d07b1b6c8a3d (diff)
downloadupstream-dfc14bd145c18787262680b6f08496a66d08405a.tar.gz
upstream-dfc14bd145c18787262680b6f08496a66d08405a.tar.bz2
upstream-dfc14bd145c18787262680b6f08496a66d08405a.zip
kernel: add kernel module package for the DS1374 RTC
Package the driver for the DS1374 chip present on the T4240RDB. Signed-off-by: Florian Larysch <fl@n621.de> Signed-off-by: Felix Fietkau <nbd@nbd.name> [fix missing symbol]
-rw-r--r--package/kernel/linux/modules/other.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index 38b98f3a10..5ba0e5e420 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -531,6 +531,24 @@ endef
$(eval $(call KernelPackage,rtc-ds1307))
+define KernelPackage/rtc-ds1374
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=Dallas/Maxim DS1374 RTC support
+ DEPENDS:=@RTC_SUPPORT +kmod-i2c-core
+ KCONFIG:=CONFIG_RTC_DRV_DS1374 \
+ CONFIG_RTC_DRV_DS1374_WDT=n \
+ CONFIG_RTC_CLASS=y
+ FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1374.ko
+ AUTOLOAD:=$(call AutoProbe,rtc-ds1374)
+endef
+
+define KernelPackage/rtc-ds1374/description
+ Kernel module for Dallas/Maxim DS1374.
+endef
+
+$(eval $(call KernelPackage,rtc-ds1374))
+
+
define KernelPackage/rtc-ds1672
SUBMENU:=$(OTHER_MENU)
TITLE:=Dallas/Maxim DS1672 RTC support