diff options
author | Alexandre Torgue <alexandre.torgue@st.com> | 2013-07-03 15:07:45 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 16:07:59 -0700 |
commit | 25d053cf1040e6430fff679854b3710edb0b7fee (patch) | |
tree | 634f4687c40095081c1bef141085d2c7e1f30732 /drivers/rtc/rtc-ds1302.c | |
parent | 65ee88c9c68ad533463d1030d2abd859d7a4d9f9 (diff) | |
download | linux-25d053cf1040e6430fff679854b3710edb0b7fee.tar.bz2 |
drivers/rtc/rtc-ab8500.c: add second resolution to rtc driver
Android expects the RTC to have second resolution. On ab8540 cut2 RTC
block has a new register which allows setting seconds for wakeup alarms.
Existing registers (minutes hi, mid and low) have seen their offsets
changed. Here is the new mapping:
* AlarmSec (A) 0x22
* AlarmMinLow (M) from 0x8 to 0x23
* AlarmMinMid (M) from 0x9 to 0x24
* AlarmMinHigh (M) from 0xA to 0x25
Signed-off-by: Julien Delacou <julien.delacou@stericsson.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-ds1302.c')
0 files changed, 0 insertions, 0 deletions