diff options
author | Srinivas Neeli <srinivas.neeli@xilinx.com> | 2022-06-26 12:38:16 +0530 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2022-07-26 11:21:50 +0200 |
commit | 85cab027d4e31beb082ec41b71cb8670eeb6fd46 (patch) | |
tree | fd8a16db4b2a1f3a65fedaa7e07410309e042c5e /drivers/rtc | |
parent | f69060c14431f476b6993ea92bef77e20437af4e (diff) | |
download | linux-85cab027d4e31beb082ec41b71cb8670eeb6fd46.tar.bz2 |
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
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rtc-zynqmp.c | 2 |
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 |