From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Tull Subject: [PATCHv5 0/2] socfpga: support suspend to ram Date: Thu, 28 May 2015 16:19:35 -0500 Message-ID: <1432847977-18880-1-git-send-email-atull@opensource.altera.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Dinh Nguyen , Rob Herring Cc: Mark Rutland , devicetree@vger.kernel.org, Russell King , Arnd Bergmann , Pawel Moll , Ian Campbell , Alan Tull , Pavel Machek , linux-kernel@vger.kernel.org, Kumar Gala , Steffen Trumtrar , Delicious Quinoq , linux-arm-kernel@lists.infradead.org List-Id: devicetree@vger.kernel.org Support suspend to ram on socfpga. * allocate space in ocram using sram driver. * Add a function in ocram to place DDR in self-refresh and suspend. * Prevent suspend if EDAC is enabled. * Add a device tree binding document for the Altera SOCFPGA SDRAM controller that is used to put DDR in self-refresh mode. Alan Tull (2): ARM: socfpga: support suspend to ram ARM: socfpga: dts: add sdram controller dt binding doc .../arm/altera/socfpga-sdram-controller.txt | 12 ++ arch/arm/mach-socfpga/Kconfig | 10 +- arch/arm/mach-socfpga/Makefile | 1 + arch/arm/mach-socfpga/core.h | 6 +- arch/arm/mach-socfpga/pm.c | 149 ++++++++++++++++++++ arch/arm/mach-socfpga/self-refresh.S | 136 ++++++++++++++++++ arch/arm/mach-socfpga/socfpga.c | 6 +- drivers/edac/altera_edac.c | 20 +++ 8 files changed, 337 insertions(+), 3 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/altera/socfpga-sdram-controller.txt create mode 100644 arch/arm/mach-socfpga/pm.c create mode 100644 arch/arm/mach-socfpga/self-refresh.S -- 1.7.9.5