This adds the rtc-class and rtc-pcf8563 modules for the real time clock used in the NBG460N/550N/550NH.
Signed-off-by: Michael Kurz <[email protected]> --- package/kernel/modules/other.mk | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Index: package/kernel/modules/other.mk =================================================================== --- package/kernel/modules/other.mk (revision 21354) +++ package/kernel/modules/other.mk (working copy) @@ -712,3 +712,34 @@ endef $(eval $(call KernelPackage,wdt-scx200)) + +define KernelPackage/rtc-core + SUBMENU:=$(OTHER_MENU) + TITLE:=Real Time Clock class support + DEPENDS:=...@linux_2_6 + KCONFIG:=CONFIG_RTC_CLASS + FILES:=$(LINUX_DIR)/drivers/rtc/rtc-core.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,29,rtc-core) +endef + +define KernelPackage/rtc-core/description + Generic RTC class support. +endef + +$(eval $(call KernelPackage,rtc-core)) + +define KernelPackage/rtc-pcf8563 + SUBMENU:=$(OTHER_MENU) + TITLE:=Philips PCF8563/Epson RTC8564 RTC support + DEPENDS:=...@target_ar71xx_generic_nbg_460n_550n_550nh +kmod-rtc-core + KCONFIG:=CONFIG_RTC_DRV_PCF8563 + FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,30,rtc-pcf8563) +endef + +define KernelPackage/rtc-pcf8563/description + Kernel module for Philips PCF8563 RTC chip. + The Epson RTC8564 should work as well. +endef + +$(eval $(call KernelPackage,rtc-pcf8563)) _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
