Hi Alexandre, On Tue, Oct 25, 2016 at 11:37:57AM +0200, Alexandre Belloni wrote: > 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. Sorry, I totally forgot about this one. I queued it into my for-next branch using an immutable topic branch, in case you need the patch against the arm include to also go through arm-soc. Feel free to use or ignore it: The following changes since commit 7ce7d89f48834cefece7804d38fc5d85382edf77: Linux 4.10-rc1 (2016-12-25 16:13:08 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git tags/ib-psy-arm-at91-4.11 for you to fetch changes up to 0b0408745e7ff24757cbfd571d69026c0ddb803c: power: reset: at91-poweroff: timely shutdown LPDDR memories (2017-01-16 23:21:33 +0100) ---------------------------------------------------------------- immutable branch between ARM at91 and power-supply for v4.11 ---------------------------------------------------------------- Alexandre Belloni (2): ARM: at91: define LPDDR types power: reset: at91-poweroff: timely shutdown LPDDR memories drivers/power/reset/Kconfig | 2 +- drivers/power/reset/at91-poweroff.c | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++- drivers/power/reset/at91-sama5d2_shdwc.c | 49 ++++++++++++++++++++++++++++++++++++++++++++++++- include/soc/at91/at91sam9_ddrsdr.h | 3 +++ 4 files changed, 105 insertions(+), 3 deletions(-) -- Sebastian