aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules/other.mk
diff options
context:
space:
mode:
authorMathew McBride <matt@traverse.com.au>2019-10-03 16:34:51 +1000
committerHauke Mehrtens <hauke@hauke-m.de>2019-10-19 12:49:11 +0200
commit97bcbc690c9df352a937194ad2444fce63e22c72 (patch)
tree2723918077435f8ffc356df252bcfac051e802c0 /package/kernel/linux/modules/other.mk
parente6cadb215cba051464eaeba8040d8c82d524b088 (diff)
downloadupstream-97bcbc690c9df352a937194ad2444fce63e22c72.tar.gz
upstream-97bcbc690c9df352a937194ad2444fce63e22c72.tar.bz2
upstream-97bcbc690c9df352a937194ad2444fce63e22c72.zip
kernel: add package for Epson RX-8025 and compatible I2C RTC
RX-8025 is an I2C RTC from Epson, some newer products such as the RX-8035 are also compatible. Signed-off-by: Mathew McBride <matt@traverse.com.au>
Diffstat (limited to 'package/kernel/linux/modules/other.mk')
-rw-r--r--package/kernel/linux/modules/other.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index 276a8f09ac..0ffaac2014 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -650,6 +650,23 @@ endef
$(eval $(call KernelPackage,rtc-rs5c372a))
+define KernelPackage/rtc-rx8025
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=Epson RX-8025 / RX-8035
+ DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
+ DEPENDS:=+kmod-i2c-core
+ KCONFIG:=CONFIG_RTC_DRV_RX8025 \
+ CONFIG_RTC_CLASS=y
+ FILES:=$(LINUX_DIR)/drivers/rtc/rtc-rx8025.ko
+ AUTOLOAD:=$(call AutoLoad,50,rtc-rx8025,1)
+endef
+
+define KernelPackage/rtc-rx8025/description
+ Kernel module for Epson RX-8025 and RX-8035 I2C RTC chip
+endef
+
+$(eval $(call KernelPackage,rtc-rx8025))
+
define KernelPackage/mtdtests
SUBMENU:=$(OTHER_MENU)