aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorUwe Kleine-König <uwe@kleine-koenig.org>2016-07-02 17:28:09 +0200
committerMister Oyster <oysterized@gmail.com>2017-07-04 12:11:15 +0200
commit0f28a9ab10bb1bbeb085f8d1b78a8c8014f325f2 (patch)
tree4b3884fdaf2f9c05ef34fab79e100f010bc6a3cf /include
parente0eb1e8af4013215e32929d2085f18b3731e63c3 (diff)
rtc: s35390a: implement reset routine as suggested by the reference
commit 8e6583f1b5d1f5f129b873f1428b7e414263d847 upstream. 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> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions