]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/rtc/rtc-s5m.c: add support for S2MPS13 RTC
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Thu, 16 Apr 2015 19:45:45 +0000 (12:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 17 Apr 2015 13:04:01 +0000 (09:04 -0400)
commitec05d5ee1937ffefbdc8897d4ff4ba5d9b8bdff1
tree05e530ad0d0f25c3546e3fd305b92be6687dbec0
parent8f99aa2840db263b46b91967a3e60d9aedd861cb
drivers/rtc/rtc-s5m.c: add support for S2MPS13 RTC

The S2MPS13 RTC is almost the same as S2MPS14. The differences when
updating alarm are:
1. Set WUDR+AUDR field instead of WUDR+RUDR.
2. Clear the AUDR field later (it is not auto-cleared).

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-s5m.c
include/linux/mfd/samsung/rtc.h