DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH] platform: v7a: kernel: Enable RTC for SAMA5D2 based boards
@ 2021-09-16  8:41 Alexander Dahl
  2021-09-16  9:24 ` Ahmad Fatoum
  2021-09-16  9:46 ` Robert Schwebel
  0 siblings, 2 replies; 3+ messages in thread
From: Alexander Dahl @ 2021-09-16  8:41 UTC (permalink / raw)
  To: distrokit; +Cc: Ahmad Fatoum

This way boards can keep time over reboots:

[    2.661867] at91_rtc f80480b0.rtc: registered as rtc0
[    2.666917] at91_rtc f80480b0.rtc: setting system clock to 2021-09-16T08:37:00 UTC (1631781420)
[    2.675817] at91_rtc f80480b0.rtc: AT91 Real Time Clock driver.

Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
 configs/platform-v7a/kernelconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/platform-v7a/kernelconfig b/configs/platform-v7a/kernelconfig
index 99e5c5d..1e00911 100644
--- a/configs/platform-v7a/kernelconfig
+++ b/configs/platform-v7a/kernelconfig
@@ -2903,7 +2903,7 @@ CONFIG_RTC_I2C_AND_SPI=y
 CONFIG_RTC_DRV_OMAP=y
 # CONFIG_RTC_DRV_PL030 is not set
 # CONFIG_RTC_DRV_PL031 is not set
-# CONFIG_RTC_DRV_AT91RM9200 is not set
+CONFIG_RTC_DRV_AT91RM9200=y
 # CONFIG_RTC_DRV_AT91SAM9 is not set
 # CONFIG_RTC_DRV_CADENCE is not set
 # CONFIG_RTC_DRV_FTRTC010 is not set

base-commit: 97233ca74a920db0b53232b95ccf2a9bc3b074dd
-- 
2.30.2


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-16  9:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-16  8:41 [DistroKit] [PATCH] platform: v7a: kernel: Enable RTC for SAMA5D2 based boards Alexander Dahl
2021-09-16  9:24 ` Ahmad Fatoum
2021-09-16  9:46 ` Robert Schwebel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox