public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ARM: at91: properly handle LPDDR poweroff
@ 2016-10-19 11:44 Alexandre Belloni
  2016-10-19 11:44 ` [PATCH v2 1/2] ARM: at91: define LPDDR types Alexandre Belloni
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Alexandre Belloni @ 2016-10-19 11:44 UTC (permalink / raw)
  To: Sebastian Reichel, Dmitry Eremin-Solenikov
  Cc: Jean-Jacques Hiblot, linux-pm, Nicolas Ferre, linux-kernel,
	Alexandre Belloni, linux-arm-kernel

Hi,

This patch set improves LPDDR support on SoCs using the Atmel MPDDR controller.

LPDDR memories can only handle up to 400 uncontrolled power offs in their
life. The proper power off sequence has to be applied before shutting down the
SoC.

I'm not too happy with the code duplication but this is a design choice
that has been made before because both shutdown controllers are really
different apart from the shutdown itself.

I guess it is still better than slowly killing the LPDDR.

Changes in v2:
 - Fix typos
 - Add a comment for the dummy read access of AT91_SHDW_CR
 - Properly set up pm_power_off in at91_poweroff_probe()


Alexandre Belloni (2):
  ARM: at91: define LPDDR types
  power/reset: at91-poweroff: timely shutdown LPDDR memories

 drivers/power/reset/at91-poweroff.c      | 54 +++++++++++++++++++++++++++++++-
 drivers/power/reset/at91-sama5d2_shdwc.c | 49 ++++++++++++++++++++++++++++-
 include/soc/at91/at91sam9_ddrsdr.h       |  3 ++
 3 files changed, 104 insertions(+), 2 deletions(-)

-- 
2.9.3

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-10-19 14:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-19 11:44 [PATCH v2 0/2] ARM: at91: properly handle LPDDR poweroff Alexandre Belloni
2016-10-19 11:44 ` [PATCH v2 1/2] ARM: at91: define LPDDR types Alexandre Belloni
2016-10-19 11:44 ` [PATCH v2 2/2] power/reset: at91-poweroff: timely shutdown LPDDR memories Alexandre Belloni
2016-10-19 14:07 ` [PATCH v2 0/2] ARM: at91: properly handle LPDDR poweroff Geert Uytterhoeven
2016-10-19 14:30   ` Nicolas Ferre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox