Uwe Kleine-König
8e6583f1b5
rtc: s35390a: implement reset routine as suggested by the reference
...
There were two deviations from the reference manual: you have to wait
half a second when POC is active and you might have to repeat
initialization when POC or BLD are still set after the sequence.
Note however that as POC and BLD are cleared by read the driver might
not be able to detect that a reset is necessary. I don't have a good
idea how to fix this.
Additionally report the value read from STATUS1 to the caller. This
prepares the next patch.
Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2016-07-11 23:22:34 +02:00
..
2016-03-14 17:08:18 +01:00
2015-04-17 09:04:02 -04:00
2016-06-04 15:43:22 +02:00
2016-06-26 01:20:08 +02:00
2016-06-26 01:20:08 +02:00
2015-09-05 13:19:05 +02:00
2014-10-20 16:21:31 +02:00
2015-04-03 08:18:25 +02:00
2015-11-08 14:12:25 +01:00
2015-09-05 13:19:08 +02:00
2016-03-25 02:41:13 +01:00
2015-09-05 19:37:22 +02:00
2016-03-14 17:08:25 +01:00
2016-03-19 00:02:55 +01:00
2015-06-25 01:12:50 +02:00
2015-11-08 14:12:28 +01:00
2013-04-05 09:36:53 -07:00
2016-05-20 12:33:51 +02:00
2014-10-20 16:21:31 +02:00
2015-09-05 13:19:09 +02:00
2015-09-05 13:19:06 +02:00
2014-10-20 16:21:31 +02:00
2016-07-09 10:24:45 +02:00
2015-09-05 19:37:22 +02:00
2015-09-05 13:19:07 +02:00
2016-05-20 12:33:51 +02:00
2014-10-20 16:21:31 +02:00
2016-01-11 20:19:57 +01:00
2015-11-08 14:12:29 +01:00
2015-09-05 13:19:07 +02:00
2015-04-17 09:04:01 -04:00
2014-10-20 16:21:31 +02:00
2016-05-20 12:33:51 +02:00
2016-07-08 16:23:11 +02:00
2016-05-20 12:33:51 +02:00
2016-07-09 10:24:45 +02:00
2016-07-09 10:24:45 +02:00
2016-07-09 10:24:45 +02:00
2015-10-28 10:30:17 +09:00
2015-09-05 19:37:22 +02:00
2015-11-10 10:01:21 -08:00
2016-05-20 12:33:51 +02:00
2016-05-20 12:33:51 +02:00
2016-05-20 12:33:51 +02:00
2016-07-09 10:24:45 +02:00
2016-05-20 12:33:51 +02:00
2016-06-27 10:48:28 +02:00
2016-07-09 10:24:45 +02:00
2015-04-17 09:04:02 -04:00
2016-06-06 17:07:33 +02:00
2015-04-17 09:03:59 -04:00
2016-05-20 12:33:51 +02:00
2015-09-05 13:19:06 +02:00
2016-05-20 12:33:51 +02:00
2016-06-04 00:23:35 +02:00
2015-06-19 20:03:20 +02:00
2016-07-09 10:24:45 +02:00
2016-01-11 20:19:58 +01:00
2016-05-20 12:33:51 +02:00
2016-05-20 12:33:51 +02:00
2016-07-11 23:22:32 +02:00
2014-10-20 16:21:31 +02:00
2014-11-21 12:00:00 -08:00
2014-10-20 16:21:31 +02:00
2015-09-05 13:19:06 +02:00
2016-01-11 20:19:59 +01:00
2015-06-21 21:53:59 +02:00
2016-07-09 10:24:45 +02:00
2015-10-28 10:30:17 +09:00
2015-10-28 10:30:17 +09:00
2016-05-20 12:33:51 +02:00
2015-09-05 13:19:10 +02:00
2016-06-27 18:15:25 +02:00
2016-05-20 12:33:51 +02:00
2015-10-28 10:30:17 +09:00
2016-06-04 16:05:59 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-09-05 19:37:21 +02:00
2015-06-25 01:13:36 +02:00
2016-03-14 17:08:27 +01:00
2016-05-20 12:33:51 +02:00
2016-06-26 01:20:08 +02:00
2016-03-21 22:55:29 +01:00
2015-09-05 19:37:22 +02:00
2015-09-05 19:37:22 +02:00
2016-07-09 10:24:45 +02:00
2015-04-17 09:04:02 -04:00
2016-03-14 17:08:26 +01:00
2015-09-05 19:37:22 +02:00
2016-05-20 12:33:51 +02:00
2014-10-20 16:21:31 +02:00
2015-09-05 19:37:21 +02:00
2015-12-16 12:54:04 +11:00
2016-03-14 17:08:22 +01:00
2014-10-20 16:21:31 +02:00
2016-06-04 15:50:44 +02:00
2016-03-14 17:08:41 +01:00
2016-03-14 17:08:30 +01:00
2016-07-09 10:24:45 +02:00
2015-09-05 13:19:06 +02:00
2013-04-29 18:28:38 -07:00
2016-03-14 17:08:30 +01:00
2016-03-14 17:08:21 +01:00
2013-11-13 12:09:31 +09:00
2015-11-08 14:12:24 +01:00
2014-11-03 19:53:56 -08:00
2016-01-11 20:19:55 +01:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-09-05 19:37:16 +02:00
2015-10-28 10:30:17 +09:00
2014-10-20 16:21:31 +02:00
2015-12-20 13:39:00 +01:00
2015-09-05 13:19:10 +02:00
2016-05-20 12:33:51 +02:00
2016-05-20 12:33:51 +02:00
2016-07-09 10:24:45 +02:00
2016-05-21 17:07:16 +02:00
2016-07-09 10:24:45 +02:00
2015-10-28 10:30:17 +09:00
2016-03-14 17:08:10 +01:00
2016-07-09 10:24:45 +02:00
2016-07-09 10:24:45 +02:00
2016-05-20 12:33:51 +02:00
2016-07-09 10:24:45 +02:00
2013-04-19 13:51:25 +02:00
2016-03-14 17:08:18 +01:00
2016-07-11 23:22:34 +02:00
2015-09-05 19:37:16 +02:00
2015-09-05 19:37:16 +02:00
2016-07-11 23:22:33 +02:00
2015-09-05 13:19:06 +02:00
2016-05-20 12:33:51 +02:00
2015-06-25 01:13:40 +02:00
2015-07-23 17:07:35 +01:00
2014-10-20 16:21:31 +02:00
2016-05-20 12:33:51 +02:00
2016-05-20 12:33:51 +02:00
2014-10-20 16:21:31 +02:00
2014-09-19 12:39:19 +02:00
2016-01-11 20:19:57 +01:00
2016-03-14 17:08:16 +01:00
2016-07-09 10:24:45 +02:00
2015-04-03 08:18:24 +02:00
2014-10-20 16:21:31 +02:00
2016-05-21 17:07:17 +02:00
2016-03-14 17:08:23 +01:00
2016-03-14 17:08:24 +01:00
2015-04-17 09:04:02 -04:00
2015-09-05 13:19:10 +02:00
2016-07-09 10:24:21 +02:00
2016-03-14 17:08:25 +01:00
2015-09-05 19:37:22 +02:00
2013-07-03 16:07:59 -07:00
2013-04-29 18:28:32 -07:00
2016-05-20 12:33:51 +02:00
2014-10-20 16:21:31 +02:00
2016-05-20 12:33:51 +02:00
2015-06-25 01:13:42 +02:00