]> www.infradead.org Git - users/willy/xarray.git/commitdiff
power: reset: at91-poweroff: lookup for proper pmc dt node for sam9x7
authorVarshini Rajendran <varshini.rajendran@microchip.com>
Thu, 10 Oct 2024 12:04:04 +0000 (17:34 +0530)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Thu, 12 Dec 2024 23:03:08 +0000 (00:03 +0100)
Use sam9x7 pmc's compatible to lookup for in the SHDWC driver.

Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
Link: https://lore.kernel.org/r/20241010120404.92893-1-varshini.rajendran@microchip.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/reset/at91-sama5d2_shdwc.c

index edb0df86aff45e053d6f35b5df076fab793dd856..c2801bd6384d8a8a2b89f869a39aa532626c258e 100644 (file)
@@ -326,6 +326,7 @@ static const struct of_device_id at91_pmc_ids[] = {
        { .compatible = "atmel,sama5d2-pmc" },
        { .compatible = "microchip,sam9x60-pmc" },
        { .compatible = "microchip,sama7g5-pmc" },
+       { .compatible = "microchip,sam9x7-pmc" },
        { /* Sentinel. */ }
 };