summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-sensorhub.c
AgeCommit message (Collapse)Author
2014-09-26IKXCLOCK-3996 alarm: Add alarm scheduling debugDoug Zobel
Add alarm scheduling debugging in case issue with alarms being scheduled in the past is seen again.
2014-06-04IKXCLOCK-1901 Fix RTC settimeofday HandlingEric Tashakkor
Removed hctosys from the defconfig (it would set time before the RTC was ready). Added setting the time to the pre-flash callback (framework needs this). Updated the kernel prints to include the times we were setting/saving. Updated the kernel prints to print time of day only if we were able to set it. Change-Id: Id8937815243f4d4a470cd1da95f0440b57a6dc9b Signed-off-by: Eric Tashakkor <w36098@motorola.com>
2014-05-29IKXCLOCK-1703 Add M4 Pre-Flash Callback for RTCEric Tashakkor
Added a pre-flash callback system for drivers with timing restrictions like RTC Updated the RTC driver to save and use set time requests until M4 is ready Fixed a bug where uninitialized memory was preventing the time being set Minor clean up of driver files to meet checkpatch style requirements Change-Id: I9e03f373226e678e8e884c836f68fcb265f39a57 Signed-off-by: Eric Tashakkor <w36098@motorola.com>
2014-05-14IKXCLOCK-1233: Hold a timed wakelock for m4 eventsViditha Hanumanthareddy
A few m4 interrupts/events like gesture, rtc alarm that can occur when kernel is suspended need enough time to allow the event to reach the higher layer before kernel suspends again. The absence of this was causing gestures & rtc alarm to get missed by the higher layers. Change-Id: Ibf10a1a031bd279ef2a488214498036c648220dc
2014-04-03Revert "rtc: rtc-sensorhub: use ANDROID_EPOCH as the earliest RTC time"Benoit Goby
This reverts commit 6dc19f1009dee8f225bcefc07d1f87b9edc9ccf5. Bug: 13786555 Change-Id: I4bb0d91fc451dfe96b1c34a1dd93d0a47c6dd7fb
2014-03-19rtc: rtc-sensorhub: use ANDROID_EPOCH as the earliest RTC timeSimon Wilson
Android requires the earliest time returned by the RTC to be ANDROID_EPOCH. Change-Id: I8b37a73426de285699bef080a43a52ee923bfed8 Signed-off-by: Simon Wilson <simonwilson@google.com>
2014-03-19IKXCLOCK-376: RTC driver and sensorhub based alarmAmit Jain
2014-03-05IKXCLOCK-193:Init mechanism of M4 based driversAmit Jain
Change-Id: I3c665f1c31d14e73d3776982d570c250e6f8c3b1 Reviewed-on: http://gerrit.pcs.mot.com/608745 SLTApproved: Slta Waiver <sltawvr@motorola.com> Tested-by: Jira Key <jirakey@motorola.com> Reviewed-by: Sajid Dalvi <fsd017@motorola.com> Submit-Approved: Jira Key <jirakey@motorola.com>
2014-03-05IKXCLOCK-189: RTC driver should register with M4 for correct initialization ↵Amit Jain
sequence Change-Id: Ibca92600a7d84587e4528c6615ccb8f37210c333 Reviewed-on: http://gerrit.pcs.mot.com/608402 SLTApproved: Slta Waiver <sltawvr@motorola.com> Tested-by: Jira Key <jirakey@motorola.com> Reviewed-by: Douglas Zobel <dzobel1@motorola.com> Submit-Approved: Jira Key <jirakey@motorola.com>
2014-03-05IKXCLOCK-157: RTC driver functionality for gettime and settimeAmit Jain
Change-Id: I1844797379546be34813e0b687a63667c60e0e14 Reviewed-on: http://gerrit.pcs.mot.com/607878 SLTApproved: Slta Waiver <sltawvr@motorola.com> Tested-by: Jira Key <jirakey@motorola.com> Reviewed-by: Douglas Zobel <dzobel1@motorola.com> Submit-Approved: Jira Key <jirakey@motorola.com>
2014-03-05IKXCLOCK-148: Skeleton RTC driver for minnowAmit Jain
Change-Id: Idafd43add6787f8ce752df9a0455db9bd9257ea7 Reviewed-on: http://gerrit.pcs.mot.com/607099 SLTApproved: Slta Waiver <sltawvr@motorola.com> Tested-by: Jira Key <jirakey@motorola.com> Reviewed-by: Douglas Zobel <dzobel1@motorola.com> Submit-Approved: Jira Key <jirakey@motorola.com>