[openwrt/openwrt] kernel: add package for Seiko S-35390A I2C RTC
LEDE Commits
lede-commits at lists.infradead.org
Sat Jul 11 09:54:26 EDT 2020
ynezz pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/9c99187e616ac54aed572a0eb310aadd06ac8e4b
commit 9c99187e616ac54aed572a0eb310aadd06ac8e4b
Author: Pawel Dembicki <paweldembicki at gmail.com>
AuthorDate: Fri Jan 24 07:25:54 2020 +0100
kernel: add package for Seiko S-35390A I2C RTC
This patch adds kernel package for Seiko Instruments S-35390A.
Signed-off-by: Pawel Dembicki <paweldembicki at gmail.com>
---
package/kernel/linux/modules/other.mk | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index 15d67b4679..f74c622ed7 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -732,6 +732,23 @@ endef
$(eval $(call KernelPackage,rtc-rx8025))
+define KernelPackage/rtc-s35390a
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=Seico S-35390A
+ DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
+ DEPENDS:=+kmod-i2c-core
+ KCONFIG:=CONFIG_RTC_DRV_S35390A \
+ CONFIG_RTC_CLASS=y
+ FILES:=$(LINUX_DIR)/drivers/rtc/rtc-s35390a.ko
+ AUTOLOAD:=$(call AutoLoad,50,rtc-s35390a,1)
+endef
+
+define KernelPackage/rtc-s35390a/description
+ Kernel module for Seiko Instruments S-35390A I2C RTC chip
+endef
+
+$(eval $(call KernelPackage,rtc-s35390a))
+
define KernelPackage/mtdtests
SUBMENU:=$(OTHER_MENU)
More information about the lede-commits
mailing list