aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorVarshini Rajendran <varshini.rajendran@microchip.com>2024-10-10 17:34:04 +0530
committerSebastian Reichel <sebastian.reichel@collabora.com>2024-12-13 00:03:08 +0100
commit2a16675e254a35f13203c6738a1137093c773056 (patch)
tree1662f968f69cde8fe5233aefabc03ae80091cfa5
parentdt-bindings: power: reset: atmel,sama5d2-shdwc: add sam9x7 (diff)
downloadwireguard-linux-2a16675e254a35f13203c6738a1137093c773056.tar.xz
wireguard-linux-2a16675e254a35f13203c6738a1137093c773056.zip
power: reset: at91-poweroff: lookup for proper pmc dt node for sam9x7
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>
Diffstat (limited to '')
-rw-r--r--drivers/power/reset/at91-sama5d2_shdwc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/reset/at91-sama5d2_shdwc.c b/drivers/power/reset/at91-sama5d2_shdwc.c
index edb0df86aff4..c2801bd6384d 100644
--- a/drivers/power/reset/at91-sama5d2_shdwc.c
+++ b/drivers/power/reset/at91-sama5d2_shdwc.c
@@ -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. */ }
};