DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Alexander Dahl <ada@thorsis.com>
To: distrokit@pengutronix.de
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [DistroKit] [PATCH] platform: v7a: kernel: Enable RTC for SAMA5D2 based boards
Date: Thu, 16 Sep 2021 10:41:01 +0200	[thread overview]
Message-ID: <20210916084101.26647-1-ada@thorsis.com> (raw)

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


             reply	other threads:[~2021-09-16  8:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-16  8:41 Alexander Dahl [this message]
2021-09-16  9:24 ` Ahmad Fatoum
2021-09-16  9:46 ` Robert Schwebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210916084101.26647-1-ada@thorsis.com \
    --to=ada@thorsis.com \
    --cc=a.fatoum@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox