summaryrefslogtreecommitdiff
path: root/firmware/drivers/rtc/rtc_imx233.c (follow)
Commit message (Collapse)AuthorAge
* imx233: generate register headers using headergen_v2 and update code for itAmaury Pouly2016-05-28
| | | | | | | | | | | | | | | | | | | | | | | | | NOTE: this commit does not introduce any change, ideally even the binary should be almost the same. I checked the disassembly by hand and there are only a few differences here and there, mostly the compiler decides to compile very close expressions slightly differently. I tried to run the new code on several targets to make sure and saw no difference. The major syntax changes of the new headers are as follows: - BF_{WR,SET,CLR} are now superpowerful and allows to set several fileds at once: BF_WR(reg, field1(value1), field2(value2), ...) - BF_CS (use like BF_WR) does a write to reg_CLR and then reg_SET instead of RMW - there is no more need for macros like BF_{WR_,SET,CLR}_V, since one can simply BF_WR with field_V(name) - the old BF_SETV macro has no trivial equivalent and is replaced with its its equivalent for BF_WR(reg_SET, ...) I also rename the register headers: "regs/regs-x.h" -> "regs/x.h" to avoid the redundant "regs". Final note: the registers were generated using the following command: ./headergen_v2 -g imx -o ../../firmware/target/arm/imx233/regs/ desc/regs-stmp3{600,700,780}.xml Change-Id: I7485e8b4315a0929a8edb63e7fa1edcaa54b1edc
* sonynwz: fix time handlingAmaury Pouly2013-09-26
| | | | | | Be consistent with the OF and use RTC PERSISTENT2 as offset Change-Id: Ic8b970cbc4096d1f4efa0380a3af51c93484fe58
* imx233: implement alarm wake upAmaury Pouly2013-07-02
| | | | | | | | | | This adds the application part of alarm wake up. On some targets like the Fuze+, it will also require a bootloader change to make sure that the device doesn't power down on alarm wake up (for example on the Fuze+ the bootloader requires the power button to be hold sufficiently long, thus preventing alarm wake up to work) Change-Id: I5d01957852355fddbd48110d3d75a5533f07879e
* zenxfi3: RTC is used in same was as in fuze+, using seconds-since-1970 plus ↵Bertrik Sikken2012-05-27
| | | | | | an offset Change-Id: Iab2e6e15c790c26d3bf2679e9f965a409d162783
* imx233: move rtc init from drivers/ to firmware/Amaury Pouly2012-05-19
| | | | Change-Id: Id816987a4bb1191d5c9cf8a85c51d75fbb2da7c8
* Convert IMX233 RTC driver (used in fuze+) to use mktime and gmtimeBertrik Sikken2012-03-13
| | | | Change-Id: Ie71d495509a81db5e02078398f5d722c00136072
* imx233/fuze+: implement rtc (time only, alarm still to implement)Amaury Pouly2011-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31473 a1c6a512-1295-4272-9138-f99709370657
* imx233/fuze+: huge reworkAmaury Pouly2011-07-23
- enable MMU -rework lcd frame buffer - add rtc/adc/power stubs (or not) - fix a few MMC related defines (hopefully) - implement cache handling for DMA - more SD work - add keymap (based on clip) - add virtual buttons - update linker scripts - big step toward apps actually compiling git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30200 a1c6a512-1295-4272-9138-f99709370657