]> git.baikalelectronics.ru Git - kernel.git/commitdiff
rtc: at91rm9200: Add sam9x60 compatible
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 17 Nov 2020 13:39:20 +0000 (14:39 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 17 Nov 2020 18:35:09 +0000 (19:35 +0100)
Handle the sam9x60 RTC. While it can work with the at91sam9x5 fallback, it
has crystal correction support and doesn't need to shadow IMR.

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

index 1eea187d9850abf00dc037c527d33e4dae0f11b2..da24e68adccae556899e1f8f1db893f05ca0a845 100644 (file)
@@ -437,6 +437,9 @@ static const struct of_device_id at91_rtc_dt_ids[] = {
        }, {
                .compatible = "atmel,sama5d2-rtc",
                .data = &sama5d4_config,
+       }, {
+               .compatible = "microchip,sam9x60-rtc",
+               .data = &sama5d4_config,
        }, {
                /* sentinel */
        }