rtc: zynqmp: Add calibration set and get support
authorSrinivas Neeli <srinivas.neeli@xilinx.com>
Sun, 26 Jun 2022 07:08:17 +0000 (12:38 +0530)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 26 Jul 2022 09:21:50 +0000 (11:21 +0200)
commit07dcc6f9c76275d6679f28a69e042a2f9dc8f128
tree3533c2d335d335c7f2fa04c2fff0ef3fcc094c99
parent85cab027d4e31beb082ec41b71cb8670eeb6fd46
rtc: zynqmp: Add calibration set and get support

Zynqmp RTC controller has a calibration feature to compensate
time deviation due to input clock inaccuracy.
Set and get calibration API's are used for setting and getting
calibration value from the controller calibration register.

Signed-off-by: Srinivas Neeli <srinivas.neeli@xilinx.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220626070817.3780977-3-srinivas.neeli@xilinx.com
drivers/rtc/rtc-zynqmp.c