summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-snvs.c
AgeCommit message (Collapse)Author
2012-04-09ENGR00179178 [RTC]Enable both wakealarm and common power wakeupAnson Huang
For RTC driver, as not all RTCs support alarm and wakeup, so the framework only support alarm or wakeup, not both of them, as our rtc can support alarm and wakeup function, to simplify the unit test interface for power off and wakeup, we add both wakealarm and common power wakeup sysfs interface to our RTC driver. Signed-off-by: Anson Huang <b20788@freescale.com>
2012-04-06ENGR00179059 RTC: enable wakealarm attributeFrank Li
Set 10s wake alarm from now by below command echo +10 > /sys/class/rtc/rtc0/wakealarm Signed-off-by: Frank Li <Frank.Li@freescale.com>
2012-01-09ENGR00171064 [MX6]Complete SNVS RTC featureAnson Huang
Add ioctl support to complete RTC feature. Signed-off-by: Anson Huang <b20788@freescale.com>
2012-01-09build fix and driver fixJason Liu
Signed-off-by: Jason Liu <jason.hui@linaro.org>
2012-01-09ENGR00154429 rtc-snvs: request_irq too earlyRichard Zhao
request_irq should be after hw init. It can avoid meaningless interrupt. Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
2012-01-09ENGR00154209 SNVS RTC: Update comments for errata numberAnish Trivedi
Add TKT052983 errata number to comments field. This errata requires reading the counter value twice until both values match to ensure integrity of read value. Signed-off-by: Anish Trivedi <anish@freescale.com>
2012-01-09ENGR00153208-2 Add SNVS RTC driverAnish Trivedi
This adds an RTC driver for the Low Power (LP) section of SNVS. It hooks into the /dev/rtc interface. It only uses the RTC hw in non-secure mode. Signed-off-by: Anish Trivedi <anish@freescale.com>