Re: [PATCH] clk: at91: Add sama5d2 suspend/resume

2017-04-24 Thread Nicolas Ferre
Le 14/04/2017 à 23:56, Alexandre Belloni a écrit : > On sama5d2, VDD core maybe be cut while in suspend. This means registers > will be lost. Ensure they are saved and restored properly. I'm pretty sure we can't just restore them like you do. But the bootloader must have restored the registers

Re: [PATCH] clk: at91: Add sama5d2 suspend/resume

2017-04-24 Thread Nicolas Ferre
Le 14/04/2017 à 23:56, Alexandre Belloni a écrit : > On sama5d2, VDD core maybe be cut while in suspend. This means registers > will be lost. Ensure they are saved and restored properly. I'm pretty sure we can't just restore them like you do. But the bootloader must have restored the registers

[PATCH] clk: at91: Add sama5d2 suspend/resume

2017-04-14 Thread Alexandre Belloni
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 --- drivers/clk/at91/pmc.c | 108 + 1 file

[PATCH] clk: at91: Add sama5d2 suspend/resume

2017-04-14 Thread Alexandre Belloni
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 --- drivers/clk/at91/pmc.c | 108 + 1 file changed, 108 insertions(+) diff --git