]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ARM: at91: pm: use proper compatible for sama5d2's rtc
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Mon, 23 May 2022 09:24:19 +0000 (12:24 +0300)
committerClaudiu Beznea <claudiu.beznea@microchip.com>
Tue, 28 Jun 2022 09:55:14 +0000 (12:55 +0300)
Use proper compatible strings for SAMA5D2's RTC IPs. This is necessary
for configuring wakeup sources for ULP1 PM mode.

Fixes: 06332b234e27 ("ARM: at91: pm: configure wakeup sources for ULP1 mode")
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20220523092421.317345-2-claudiu.beznea@microchip.com
arch/arm/mach-at91/pm.c

index b1a43d7bc56ce1c403eadfa1fdbd3f54a246b16d..4d62f686bd1eb2cd090a6a5260a1ebe71de95f9c 100644 (file)
@@ -202,7 +202,7 @@ static const struct wakeup_source_info ws_info[] = {
 
 static const struct of_device_id sama5d2_ws_ids[] = {
        { .compatible = "atmel,sama5d2-gem",            .data = &ws_info[0] },
-       { .compatible = "atmel,at91rm9200-rtc",         .data = &ws_info[1] },
+       { .compatible = "atmel,sama5d2-rtc",            .data = &ws_info[1] },
        { .compatible = "atmel,sama5d3-udc",            .data = &ws_info[2] },
        { .compatible = "atmel,at91rm9200-ohci",        .data = &ws_info[2] },
        { .compatible = "usb-ohci",                     .data = &ws_info[2] },