drivers: pm: sam: add code for enable/disable sama7g5 DRAM self-refresh mode
Add the header file "sama7-ddr.h" for sama7g5 DRAM controller. Add 2 macros for enable and disable sama7g5 DRAM self-refr
drivers: pm: sam: add code for enable/disable sama7g5 DRAM self-refresh mode
Add the header file "sama7-ddr.h" for sama7g5 DRAM controller. Add 2 macros for enable and disable sama7g5 DRAM self-refresh mode. Enable self-refresh mode before entering the low-power modes and disable it after exiting the low-power modes.
Signed-off-by: Tony Han <tony.han@microchip.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|