power: reset: at91-poweroff: lookup for proper PMC DT node
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Thu, 26 Sep 2019 10:25:37 +0000 (13:25 +0300)
committerSebastian Reichel <sre@kernel.org>
Thu, 10 Oct 2019 16:42:56 +0000 (18:42 +0200)
commitb0ac8596edc8b37de90a5ec095a25abbbc24f169
tree70e6d098745cd8c80863ab6699c2fdd7883ac0ed
parent69318b399569e3b03f7e6dcaac41c0ed348913a2
power: reset: at91-poweroff: lookup for proper PMC DT node

Driver has been enabled also for SAM9X60. At the moment the patch which did
this has been sent to mainline the PMC for SAM9X60 wasn't integrated.
SAM9X60 has a new PMC compatible (see commit 01e2113de9a5
("clk: at91: add sam9x60 pmc driver")). Do to this we have to
look for proper PMC compatible here, in SHDWC driver.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/reset/at91-sama5d2_shdwc.c