ARM: at91: pm: add ULP1 support for SAM9X60
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Thu, 14 Feb 2019 15:54:57 +0000 (15:54 +0000)
committerLudovic Desroches <ludovic.desroches@microchip.com>
Thu, 28 Mar 2019 10:05:53 +0000 (11:05 +0100)
commiteaedc0d379da6d1157a4f274d186001d11615b2b
treeecb6d52dda6a05f24de58626ba05efec9ab66746
parenta958156dac936d336f6f56fd2de86e36bc868ff4
ARM: at91: pm: add ULP1 support for SAM9X60

Add ULP1 support for SAM9X60. In pm_suspend.S enable RC oscillator in
PMC if it is not enabled. At resume the state before suspend is
restored.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
arch/arm/mach-at91/pm.c
arch/arm/mach-at91/pm_suspend.S
include/linux/clk/at91_pmc.h