* [PATCH] rtc: at91rm9200: Add sam9x60 compatible
@ 2020-11-17 13:39 Alexandre Belloni
2020-11-17 15:48 ` Nicolas Ferre
0 siblings, 1 reply; 2+ messages in thread
From: Alexandre Belloni @ 2020-11-17 13:39 UTC (permalink / raw)
To: Alessandro Zummo, Alexandre Belloni, Nicolas Ferre, Ludovic Desroches
Cc: linux-rtc, linux-arm-kernel, linux-kernel
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>
---
drivers/rtc/rtc-at91rm9200.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/rtc/rtc-at91rm9200.c b/drivers/rtc/rtc-at91rm9200.c
index 1eea187d9850..da24e68adcca 100644
--- a/drivers/rtc/rtc-at91rm9200.c
+++ b/drivers/rtc/rtc-at91rm9200.c
@@ -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 */
}
--
2.28.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] rtc: at91rm9200: Add sam9x60 compatible
2020-11-17 13:39 [PATCH] rtc: at91rm9200: Add sam9x60 compatible Alexandre Belloni
@ 2020-11-17 15:48 ` Nicolas Ferre
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Ferre @ 2020-11-17 15:48 UTC (permalink / raw)
To: Alexandre Belloni, Alessandro Zummo, Ludovic Desroches
Cc: linux-rtc, linux-arm-kernel, linux-kernel
On 17/11/2020 at 14:39, Alexandre Belloni wrote:
> 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>
> ---
> drivers/rtc/rtc-at91rm9200.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/rtc/rtc-at91rm9200.c b/drivers/rtc/rtc-at91rm9200.c
> index 1eea187d9850..da24e68adcca 100644
> --- a/drivers/rtc/rtc-at91rm9200.c
> +++ b/drivers/rtc/rtc-at91rm9200.c
> @@ -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 */
> }
> --
> 2.28.0
>
--
Nicolas Ferre
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-17 15:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-17 13:39 [PATCH] rtc: at91rm9200: Add sam9x60 compatible Alexandre Belloni
2020-11-17 15:48 ` Nicolas Ferre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).