summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-03-24 15:23:56 +0100
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:44:57 +0900
commitd245fafe51217394bb343052a816d90e1038a887 (patch)
tree26bba5620fdf941ba1251e98d5210f63b20afc85 /drivers/rtc
parentf67355789bcb7bc857070c7847c5d2f1d887224b (diff)
local/rtc: s5m: 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>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-s5m.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-s5m.c b/drivers/rtc/rtc-s5m.c
index ab60287ee72d..ed38609b48c2 100644
--- a/drivers/rtc/rtc-s5m.c
+++ b/drivers/rtc/rtc-s5m.c
@@ -805,6 +805,7 @@ static const struct platform_device_id s5m_rtc_id[] = {
{ "s5m-rtc", S5M8767X },
{ "s2mps13-rtc", S2MPS13X },
{ "s2mps14-rtc", S2MPS14X },
+ { "s2mps13-rtc", S2MPS13X },
{ },
};