aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/rtc/rtc-davinci.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2020-03-05 17:04:51 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2020-03-16 11:12:09 +0100
commitcd65dd4180df66f5b469e2a52caae3bfe38d5526 (patch)
tree3fad5fb24ebf324145589223bc79ed79889de929 /drivers/rtc/rtc-davinci.c
parentrtc: sirfsoc: convert to devm_rtc_allocate_device (diff)
downloadwireguard-linux-cd65dd4180df66f5b469e2a52caae3bfe38d5526.tar.xz
wireguard-linux-cd65dd4180df66f5b469e2a52caae3bfe38d5526.zip
rtc: sirfsoc: set range
This RTC is a 32bit counter running at 16Hz. This overflows every eight years and a half. However, the driver uses the SW_VALUE register to store the overflow, extending the counter to 64bit as long as the update happens before the overflow. Link: https://lore.kernel.org/r/20200305160452.27808-2-alexandre.belloni@bootlin.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-davinci.c')
0 files changed, 0 insertions, 0 deletions