[PATCH 0/4] rtc:abx80x: Enable distributed digital calibration

From: Kirill Kapranov
Date: Sun Mar 28 2021 - 17:32:53 EST


This patch series enables a Distributed Digital Calibration function for
the RTC of the family. This feature allows to improve the RTC accuracy by
means of compensation an XT oscillator drift. To learn more, see:
AB08XX Series Ultra Low Power RTC IC User's Guide
https://abracon.com/realtimeclock/AB08XX-Application-Manual.pdf

The patches 1 and 2 enable SQW output, that is necessary for subsequent
measurement and computation. However, this feature may be enabled and used
independently, as is.

The patches 3 and 4 enable the XT calibration feature per se. The SQW
output must be enabled for usage of this feature.

TIA!
Kirill

Kirill Kapranov (4):
dt-bindings: rtc: abracon,abx80x: Add sqw property
rtc:abx80x: Enable SQW output
dt-bindings: rtc: abracon,abx80x: Add xt-frequency property
rtc:abx80x: Enable xt digital calibration

.../devicetree/bindings/rtc/abracon,abx80x.txt | 25 ++
drivers/rtc/rtc-abx80x.c | 252 +++++++++++++++++++++
2 files changed, 277 insertions(+)

--
2.11.0