summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorUwe Kleine-König <uwe@kleine-koenig.org>2016-07-02 18:28:09 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-22 08:15:00 +0300
commitda5284394a085084d343dbcb9a4c8f70c80f617a (patch)
tree97e14dcd630615e1d3d6fd6910a5da07c6ab1f9f /Makefile
parentae3e89ca207152832d6425546d1ebc2eefad616b (diff)
downloadlinux-da5284394a085084d343dbcb9a4c8f70c80f617a.tar.xz
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions