summaryrefslogtreecommitdiff
path: root/firmware/drivers/rtc/rtc_mc13783.c (follow)
Commit message (Collapse)AuthorAge
* mc13783 RTC: Handle years in a better way for the use of struct tm. Make the ↵Michael Sevakis2010-12-24
| | | | | | code less general because all years evenly divisible by 4 in the day range are leap years. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28891 a1c6a512-1295-4272-9138-f99709370657
* rtc_enable_alarm() needs no return valueRafaël Carré2010-05-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26245 a1c6a512-1295-4272-9138-f99709370657
* i.MX31/Gigabeat S: Actually enable DPTC which can set optimal voltage for ↵Michael Sevakis2010-05-04
| | | | | | 528MHz. Requires an SPI and PMIC interface rework because of the low-latency needs for the DPTC to work best with minimal panicing. SPI can work with multitasking and asynchronously from interrupt handlers or normal code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25800 a1c6a512-1295-4272-9138-f99709370657
* FS#10569 RTC driver cleanupNils Wallménius2009-09-26
| | | | | | | | Change the RTC drivers so that the rtc_(read|write)_datetime functions now deal directly with the tm struct instead of passing a string of bcd digits to/from (set|get)_time . This simplifies drivers for rtc's that do not use a bcd representation internally and cleans up some target specific code and #ifdefs in generic code. Implement simple stubs for the sim to avoid #ifdefing for that too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22839 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat S:Michael Sevakis2008-05-21
| | | | | | | | | | | | | 1) Rework event handling and static registration mechanism. No target- specific code in mc13783 driver. GPIO event driver interfaces more cleanly. 2) Somewhat related - enable thread priority for bootloader which is desireable here (ffs is used for GPIO event enabling anyway and that goes along with priority). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17593 a1c6a512-1295-4272-9138-f99709370657
* MC13783 (Gigabeat S PMIC): Complete the header file. Distinguish status, ↵Michael Sevakis2008-05-16
| | | | | | sense and mask bit defines to avoid conflicts within the definitions. Much care taken but give a double check before making new use of anything. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17534 a1c6a512-1295-4272-9138-f99709370657
* Oops, it's called mc13783...Nils Wallménius2008-05-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17416 a1c6a512-1295-4272-9138-f99709370657
* Oops^2, probably a good idea to initialize this.Nils Wallménius2008-05-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17378 a1c6a512-1295-4272-9138-f99709370657
* Oops, forgot one fileNils Wallménius2008-05-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17377 a1c6a512-1295-4272-9138-f99709370657
* Add a PMIC-based RTC driver for Gigabeat S.Michael Sevakis2008-04-24
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17236 a1c6a512-1295-4272-9138-f99709370657