summaryrefslogtreecommitdiff
path: root/drivers/rtc/bfin_rtc.c
AgeCommit message (Collapse)Author
2017-04-18drivers: remove Blackfin specific driversMasahiro Yamada
These drivers have no user since commit ea3310e8aafa ("Blackfin: Remove"). Signed-off-by: Masahiro Yamada <[email protected]> Reviewed-by: Simon Glass <[email protected]> Acked-by: Michal Simek <[email protected]> Acked-by: Jaehoon Chung <[email protected]>
2015-05-05dm: rtc: Rename mktime() and reduce the number of parametersSimon Glass
Most callers unpack the structure and pass each member. It seems better to pass the whole structure instead, as with the C library. Also add an rtc_ prefix. Signed-off-by: Simon Glass <[email protected]> Acked-by: Heiko Schocher <[email protected]>
2015-05-05dm: rtc: Rename to_tm() to rtc_to_tm() and add error codeSimon Glass
Rename this function so that it is clear that it is provided by the RTC. Also return an error when it cannot function as expected. This is unlikely to occur since it works for dates since 1752 and many RTCs do not support such old dates. Still it is better to be accurate. Signed-off-by: Simon Glass <[email protected]> Acked-by: Heiko Schocher <[email protected]>
2014-11-25rtc: mc146818: Set up RTC at start of daySimon Glass
Provide a function to set up the RTC ready for use. Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Bin Meng <[email protected]>
2013-10-14Coding Style cleanup: replace leading SPACEs by TABsWolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]> [trini: Drop changes for PEP 4 following python tools] Signed-off-by: Tom Rini <[email protected]>
2008-10-23Blackfin: only initialize the RTC when actually usedMike Frysinger
Signed-off-by: Mike Frysinger <[email protected]>
2008-09-07rtc: allow rtc_set to return an error and use it in cmd_dateJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
2008-08-18rtc: Clean drivers/rtc/MakefileMichal Simek
Signed-off-by: Michal Simek <[email protected]>
2008-03-20LWMON5: POST RTC fixYuri Tikhonov
Modify the RTC API to provide one a status for the time reported by the rtc_get() function: 0 - a reliable time is guaranteed, < 0 - a reliable time isn't guaranteed (power fault, clock issues, and so on). The RTC chip drivers are responsible for providing this info if the corresponding chip supports such functionality. If not - always report that the time is reliable. The POST RTC test was modified to detect the RTC faults utilizing this new rtc_get() feature. Signed-off-by: Yuri Tikhonov <[email protected]>
2008-02-04rewrite/cleanup Blackfin RTC driverMike Frysinger
Signed-off-by: Mike Frysinger <[email protected]>