summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorUwe Kleine-König <uwe@kleine-koenig.org>2016-07-02 17:28:09 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-07-11 23:22:34 +0200
commit8e6583f1b5d1f5f129b873f1428b7e414263d847 (patch)
treef5a155754891e57d25d4d8c2e5890a67af3dd252 /tools
parentf87e904ddd8f0ef120e46045b0addeb1cc88354e (diff)
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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions