kernel: add kernel package for the rs5c372a rtc module

This RTC is used on the Buffalo Terastation Pro II/Live devices.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
master
Florian Fainelli 8 years ago committed by Felix Fietkau
parent a909a5d676
commit 5763e438f6
  1. 16
      package/kernel/linux/modules/other.mk

@ -666,6 +666,22 @@ endef
$(eval $(call KernelPackage,rtc-snvs)) $(eval $(call KernelPackage,rtc-snvs))
define KernelPackage/rtc-rs5c372a
SUBMENU:=$(OTHER_MENU)
TITLE:=Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A
DEPENDS:=@RTC_SUPPORT +kmod-i2c-core
KCONFIG:=CONFIG_RTC_DRV_RS5C372 \
CONFIG_RTC_CLASS=y
FILES:=$(LINUX_DIR)/drivers/rtc/rtc-rs5c372.ko
AUTOLOAD:=$(call AutoLoad,50,rtc-rs5c372,1)
endef
define KernelPackage/rtc-rs5c372a/description
Kernel module for Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A RTC on chip module
endef
$(eval $(call KernelPackage,rtc-rs5c372a))
define KernelPackage/mtdtests define KernelPackage/mtdtests
SUBMENU:=$(OTHER_MENU) SUBMENU:=$(OTHER_MENU)

Loading…
Cancel
Save