kernel: Add kmod-rtc-r7301

To support the IXP42x platforms we need a kernel module
for the Epson R7301 RTC so we can load it as an optional
module.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Linus Walleij 2023-10-12 10:42:19 +02:00 committed by Christian Marangi
parent 806b359bbc
commit f2bc4c1f15
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7
1 changed files with 15 additions and 0 deletions

View File

@ -728,6 +728,21 @@ endef
$(eval $(call KernelPackage,rtc-pcf2127))
define KernelPackage/rtc-r7301
SUBMENU:=$(OTHER_MENU)
TITLE:=Epson RTC7301 support
DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
KCONFIG:=CONFIG_RTC_DRV_R7301 \
CONFIG_RTC_CLASS=y
FILES:=$(LINUX_DIR)/drivers/rtc/rtc-r7301.ko
AUTOLOAD:=$(call AutoProbe,rtc-r7301)
endef
define KernelPackage/rtc-r7301/description
Kernel module for Epson RTC7301 RTC chip
endef
$(eval $(call KernelPackage,rtc-r7301))
define KernelPackage/rtc-rs5c372a
SUBMENU:=$(OTHER_MENU)