aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivas Neeli <srinivas.neeli@xilinx.com>2022-06-26 12:38:16 +0530
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2022-07-26 11:21:50 +0200
commit85cab027d4e31beb082ec41b71cb8670eeb6fd46 (patch)
treefd8a16db4b2a1f3a65fedaa7e07410309e042c5e
parentdt-bindings: rtc: zynqmp: Add clock information (diff)
downloadlinux-dev-85cab027d4e31beb082ec41b71cb8670eeb6fd46.tar.xz
linux-dev-85cab027d4e31beb082ec41b71cb8670eeb6fd46.zip
rtc: zynqmp: Updated calibration value
As per RTC spec default calibration value is 0x7FFF. We are in process to update the 0x7FFF as default value in the next version of TRM. Signed-off-by: Srinivas Neeli <srinivas.neeli@xilinx.com> Acked-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20220626070817.3780977-2-srinivas.neeli@xilinx.com
-rw-r--r--drivers/rtc/rtc-zynqmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-zynqmp.c b/drivers/rtc/rtc-zynqmp.c
index f440bb52be92..5da33d760419 100644
--- a/drivers/rtc/rtc-zynqmp.c
+++ b/drivers/rtc/rtc-zynqmp.c
@@ -36,7 +36,7 @@
#define RTC_OSC_EN BIT(24)
#define RTC_BATT_EN BIT(31)
-#define RTC_CALIB_DEF 0x198233
+#define RTC_CALIB_DEF 0x7FFF
#define RTC_CALIB_MASK 0x1FFFFF
#define RTC_ALRM_MASK BIT(1)
#define RTC_MSEC 1000