clk: at91: Add sama5d2 suspend/resume
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 8 Jun 2017 00:36:47 +0000 (02:36 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 30 Jun 2017 01:47:35 +0000 (18:47 -0700)
commitb3b02eac33eddda88992962d920b46348bb086da
tree7f905d035b2db5a24d60de9b0d72a5be819164b3
parent682430e87734799ff2d71311d29f04e86f10f2cc
clk: at91: Add sama5d2 suspend/resume

On sama5d2, VDD core maybe be cut while in suspend. This means registers
will be lost. Ensure they are saved and restored properly.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/at91/clk-generated.c
drivers/clk/at91/clk-peripheral.c
drivers/clk/at91/pmc.c
drivers/clk/at91/pmc.h