|
@@ -2,6 +2,40 @@
|
|
|
#
|
|
|
# Copyright (C) 2013-2016 OpenWrt.org
|
|
|
|
|
|
+define KernelPackage/mfd-ac100
|
|
|
+ SUBMENU:=$(OTHER_MENU)
|
|
|
+ TITLE:=X-Powers AC100 MFD support
|
|
|
+ DEPENDS:=@TARGET_sunxi
|
|
|
+ KCONFIG:= \
|
|
|
+ CONFIG_MFD_AC100
|
|
|
+ FILES:=$(LINUX_DIR)/drivers/mfd/ac100.ko
|
|
|
+ AUTOLOAD:=$(call AutoLoad,50,ac100)
|
|
|
+endef
|
|
|
+
|
|
|
+define KernelPackage/mfd-ac100/description
|
|
|
+ Support for the X-Powers AC100 RTC/audio chip
|
|
|
+endef
|
|
|
+
|
|
|
+$(eval $(call KernelPackage,mfd-ac100))
|
|
|
+
|
|
|
+define KernelPackage/rtc-ac100
|
|
|
+ SUBMENU:=$(OTHER_MENU)
|
|
|
+ TITLE:=X-Powers AC100 RTC support
|
|
|
+ DEPENDS:=@TARGET_sunxi +kmod-mfd-ac100
|
|
|
+ $(call AddDepends/rtc)
|
|
|
+ KCONFIG:= \
|
|
|
+ CONFIG_RTC_DRV_AC100 \
|
|
|
+ CONFIG_RTC_CLASS=y
|
|
|
+ FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ac100.ko
|
|
|
+ AUTOLOAD:=$(call AutoLoad,50,rtc-ac100)
|
|
|
+endef
|
|
|
+
|
|
|
+define KernelPackage/rtc-ac100/description
|
|
|
+ Support for the X-Powers AC100 RTC
|
|
|
+endef
|
|
|
+
|
|
|
+$(eval $(call KernelPackage,rtc-ac100))
|
|
|
+
|
|
|
define KernelPackage/rtc-sunxi
|
|
|
SUBMENU:=$(OTHER_MENU)
|
|
|
TITLE:=Sunxi SoC built-in RTC support
|