From 9c99187e616ac54aed572a0eb310aadd06ac8e4b Mon Sep 17 00:00:00 2001 From: Pawel Dembicki Date: Fri, 24 Jan 2020 07:25:54 +0100 Subject: [PATCH] kernel: add package for Seiko S-35390A I2C RTC This patch adds kernel package for Seiko Instruments S-35390A. Signed-off-by: Pawel Dembicki --- 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) -- 2.30.2