[OpenWrt-Devel] [PATCH 1/3] kernel: add Ricoh RS5C372 RTC module support
Daniel Golle
daniel at makrotopia.org
Tue Jul 14 17:40:17 EDT 2015
Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
package/kernel/linux/modules/other.mk | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index 473f063..b4907f4 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -643,6 +643,21 @@ endef
$(eval $(call KernelPackage,rtc-pt7c4338))
+define KernelPackage/rtc-rs5c372
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=Ricoh RS5C372A/B (and compatbile) RTC support
+ DEPENDS:=@RTC_SUPPORT +kmod-i2c-core
+ KCONFIG:=CONFIG_RTC_DRV_RS5C372
+ FILES:=$(LINUX_DIR)/drivers/rtc/rtc-rs5c372.ko
+ AUTOLOAD:=$(call AutoProbe,rtc-rs5c372)
+endef
+
+define KernelPackage/rtc-rs5c372/description
+ Kernel module for Ricoh R2025S/D, RS5C372A, RS5C372B, RV5C386
+ and RV5C387A RTC chips
+endef
+
+$(eval $(call KernelPackage,rtc-rs5c372))
define KernelPackage/mtdtests
SUBMENU:=$(OTHER_MENU)
--
2.4.5
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list