summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_em86.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2017-09-29 12:23:36 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-10-25 23:05:52 +0200
commitbc3bee0252725240ffa62180d387cc245179c549 (patch)
tree73b8634bb8056d545ef1df0f5277fba0424edcba /fs/binfmt_em86.c
parentrtc: armada38x: add support for trimming the RTC (diff)
downloadlinux-bc3bee0252725240ffa62180d387cc245179c549.tar.xz
linux-bc3bee0252725240ffa62180d387cc245179c549.zip
rtc: pcf8523: add support for trimming the RTC oscillator
Add support for reading and writing the RTC offset register, converting it to the corresponding parts-per-billion value. When setting the drift, the PCF8523 has two modes: one applies the adjustment every two hours, the other applies the adjustment every minute. We select between these two modes according to which ever gives the closest PPB value to the one requested. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'fs/binfmt_em86.c')
0 files changed, 0 insertions, 0 deletions