at91sam9x: driver to use the internal RTT as RTC
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | at91: add defines for RTT and GPBRinclude/ include/ include/ | +7 | 2 replies | |
| 1/2 | at91: add defines for RTT and GPBR | +0 | 1 reply | |
| 2/2 | at91sam9x: driver to use the internal RTT as RTCREADME drivers/ drivers/ | +164 | 0 replies | |
| 2/2 | at91sam9x: driver to use the internal RTT as RTC | +0 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 0/2] at91sam9x: driver to use the internal RTT as RTC
This driver uses the internal RTT as RTC like the linux driver.
To enable it, these defines are needed:
#define CONFIG_CMD_DATE
#define CONFIG_RTC_AT91SAM9
#define CONFIG_RTC_AT91SAM9_RTT AT91_RTT0_BASE /* for AT91SAM9263 */ #define CONFIG_RTC_AT91SAM9_RTT AT91_RTT_BASE /* AT91SAM9260 or AT91SAM9261 */ #define CONFIG_RTC_AT91SAM9_GPBR 0
Tested with an AT91SAM9263.
Regards,
Alexander Holler