summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mvebu
diff options
context:
space:
mode:
authorMylène Josserand <mylene.josserand@free-electrons.com>2016-05-03 12:54:36 +0300
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-05-21 18:06:56 +0300
commitdc492e866a997b3df2a551fa772d6887a19e53b8 (patch)
tree3a91ab494b4129aa92ea1ad5460f47dfe0cd2d6e /arch/arm/mach-mvebu
parentabe2f551efc65760d61668ad6fb511bf834082dc (diff)
downloadlinux-dc492e866a997b3df2a551fa772d6887a19e53b8.tar.xz
rtc: rv3029: fix alarm support
The RTC RV3029 handles different types of alarms : seconds, minutes, ... These alarms can be enabled or disabled individually using an AE_x bit which is the last bit (BIT(7)) on each alarm registers. To prepare the alarm IRQ support, the current code enables all the alarm types by setting each AE_x to 1. It also fixes others alarms issues : - month and weekday errors : it was performing -1 instead of +1. - wrong use of bit mask with bin2bcd Signed-off-by: Mylène Josserand <mylene.josserand@free-electrons.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'arch/arm/mach-mvebu')
0 files changed, 0 insertions, 0 deletions