summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/recipes-kernel/linux/linux/rtc.cfg
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2018-12-19 00:52:16 +0100
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2018-12-19 00:52:16 +0100
commit62193151c121536114c0f0fc652859685f65649f (patch)
tree156adf04913cfd3463fd964089b3bc9753ab62c7 /meta-agl-bsp/recipes-kernel/linux/linux/rtc.cfg
parentc030543ba34409f719e34ffbd75958d91819bee3 (diff)
Support external RTCs for boards without it
We add the rtc driver as module so we can attach e.g. http://wiki.seeedstudio.com/Grove-RTC/ Add the necessary drivers as module. Change-Id: I1dde5d275c77ba4c82dcf1eb79f0ad3b2b924b15 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-agl-bsp/recipes-kernel/linux/linux/rtc.cfg')
-rw-r--r--meta-agl-bsp/recipes-kernel/linux/linux/rtc.cfg7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-agl-bsp/recipes-kernel/linux/linux/rtc.cfg b/meta-agl-bsp/recipes-kernel/linux/linux/rtc.cfg
new file mode 100644
index 000000000..2641958a0
--- /dev/null
+++ b/meta-agl-bsp/recipes-kernel/linux/linux/rtc.cfg
@@ -0,0 +1,7 @@
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_LIB=y
+CONFIG_RTC_INTF_SYSFS=y
+CONFIG_RTC_INTF_PROC=y
+CONFIG_RTC_INTF_DEV=y
+CONFIG_RTC_DRV_DS1307=m
+CONFIG_RTC_DRV_DS3232=m