Alim Akhtar
a65e5efa7c
rtc: s5m.c: Add support for S2MPS15 RTC
...
RTC found in s2mps15 is almost same as one found on s2mps13
with few differences in RTC_UPDATE register fields, like:
1> Bit[4] and Bit[1] are reversed
- On s2mps13
WUDR -> bit[4], AUDR -> bit[1]
- On s2mps15
WUDR -> bit[1], AUDR -> bit[4]
2> In case of s2mps13, for alarm register, need to set both
WDUR and ADUR high, whereas for s2mps15 only set AUDR to high.
3> On s2mps15, WUDR, RUDR and AUDR functions should never be used
at the same time.
This patch add required changes to enable s2mps15 rtc timer.
Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com >
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com >
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
2015-11-23 10:34:38 +00:00
..
2015-03-13 23:15:51 +01:00
2015-10-26 14:49:06 +00:00
2015-10-30 17:19:49 +00:00
2015-06-22 12:25:01 +01:00
2015-08-11 15:08:45 +01:00
2015-08-11 15:08:51 +01:00
2015-10-13 11:27:54 +01:00
2015-08-11 15:09:11 +01:00
2015-11-23 10:34:38 +00:00
2015-09-22 17:47:53 -07:00
2013-03-12 09:29:20 +01:00
2015-03-13 23:15:51 +01:00
2013-10-23 16:20:41 +01:00
2015-10-26 14:48:56 +00:00
2014-06-03 08:11:51 +01:00
2014-01-25 13:19:10 -08:00
2014-11-25 16:18:43 +00:00
2015-09-22 13:35:28 +02:00
2014-05-21 10:40:08 +01:00
2015-10-26 15:25:53 +01:00
2015-06-15 13:18:20 +01:00
2015-10-07 15:05:53 -07:00
2014-11-27 11:11:30 +00:00
2013-04-08 13:57:53 +02:00
2014-03-04 08:58:11 +08:00
2014-11-10 16:30:05 +00:00
2014-09-26 08:23:43 +01:00
2015-10-30 17:18:50 +00:00
2015-10-30 17:18:03 +00:00
2014-06-03 08:11:42 +01:00
2014-06-03 08:11:11 +01:00
2014-01-21 08:27:59 +00:00
2013-02-27 19:10:09 -08:00
2015-08-11 15:03:21 +01:00
2013-02-14 00:23:00 +01:00
2014-02-19 13:30:23 +00:00
2013-02-14 07:54:49 +09:00
2014-02-19 13:30:25 +00:00
2013-06-30 23:30:04 +02:00
2014-09-24 15:25:49 +01:00
2014-09-24 15:25:49 +01:00
2015-01-22 16:03:55 +00:00
2015-06-22 12:25:05 +01:00
2015-07-16 21:39:30 +01:00
2015-07-16 21:39:30 +01:00
2015-04-14 17:29:55 -07:00
2015-07-16 21:39:30 +01:00
2014-07-09 14:58:10 +01:00
2014-07-09 14:58:10 +01:00
2013-07-31 02:04:47 +02:00
2015-03-30 10:06:50 +01:00
2015-08-10 21:26:25 +09:00
2015-01-22 16:04:00 +00:00
2014-06-03 08:11:17 +01:00
2013-04-19 00:45:20 +02:00
2015-03-12 09:07:10 +00:00
2014-09-26 08:15:51 +01:00
2015-01-22 15:55:47 +00:00
2015-03-13 23:15:51 +01:00
2014-05-08 08:44:50 +01:00
2015-10-30 17:19:51 +00:00
2014-03-19 08:58:18 +00:00
2013-10-14 15:31:06 +02:00
2013-04-19 18:38:13 +02:00
2013-04-19 18:38:13 +02:00
2015-03-12 09:08:12 +00:00
2015-05-26 14:16:08 -07:00
2015-03-21 01:05:56 +00:00
2014-06-03 08:11:41 +01:00
2015-04-03 17:08:59 -07:00
2015-03-03 16:41:15 +00:00
2015-03-05 21:54:17 +05:30
2015-10-05 10:38:22 +01:00
2013-07-01 11:38:41 -07:00
2014-05-26 16:48:02 +01:00
2014-04-29 10:01:28 -07:00
2014-09-26 08:23:50 +01:00
2014-06-03 08:11:13 +01:00
2014-07-09 16:38:01 +01:00
2013-03-12 09:25:50 +01:00
2014-06-03 08:11:20 +01:00
2013-07-31 02:04:52 +02:00