Re: [PATCH 2/2] spi: atmel: add PM support to SAMA5D2

2017-04-12 Thread Nicolas Ferre
Le 12/04/2017 à 09:05, Quentin Schulz a écrit : > This adds PM support to the ATMEL SAMA5D2 Xplained. Well not only for this board. The Backup+Self-Refresh PM state is available for all boards using the SAMA5D2 SoC (and beyond)... > When suspending, VDDCore is shut down and the SPI registers are

[PATCH 2/2] spi: atmel: add PM support to SAMA5D2

2017-04-12 Thread Quentin Schulz
This adds PM support to the ATMEL SAMA5D2 Xplained. When suspending, VDDCore is shut down and the SPI registers are lost. Thus, the SPI controller needs to be re-initialized after resuming from a system suspend. Signed-off-by: Quentin Schulz --- drivers/spi/spi-atmel.c | 9 + 1 file cha