rtc: at91rm9200: add correction support
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 8 Nov 2020 23:20:00 +0000 (00:20 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 17 Nov 2020 18:32:12 +0000 (19:32 +0100)
commitf6a46f8b302d9bfcf347577cbf1dd22f19dfe555
treeff39260ceae9edc57970cdd377333c0baa9f8844
parent767fbb7102c69bedb8dca5a877c4eae4bbf8cf9b
rtc: at91rm9200: add correction support

The sama5d4 and sama5d2 RTCs are able to correct for imprecise crystals, up
to 1953 ppm.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20201108232001.1580128-1-alexandre.belloni@bootlin.com
drivers/rtc/rtc-at91rm9200.c