All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 00/10] Various patches for SAMA5D2 backup mode
@ 2017-09-08 15:35 ` Romain Izard
  0 siblings, 0 replies; 58+ messages in thread
From: Romain Izard @ 2017-09-08 15:35 UTC (permalink / raw)
  To: Nicolas Ferre, Boris Brezillon, Michael Turquette, Stephen Boyd,
	Ludovic Desroches, Jonathan Cameron, Wenyou Yang, Josh Wu,
	David Woodhouse, Brian Norris, Marek Vasut, Cyrille Pitchen,
	Thierry Reding, Richard Genoud, Greg Kroah-Hartman, Alan Stern
  Cc: linux-clk, linux-kernel, linux-iio, linux-mtd, linux-pwm,
	linux-serial, linux-usb, linux-arm-kernel, Romain Izard

While the core of the backup mode for SAMA5D2 has been integrated in
v4.13, it is far from complete. Individual controllers in the chip have
drivers that do not support the reset of the registers during suspend,
and they need to be adapted to handle it.

The first patch uses the clock wakeup code from the prototype backup
mode instead of the version integrated in the mainline, as the mainline
version is not stable. During a test loop with two-second backup
suspend, the mainline version will hang in less than one day, whereas
the prototype version has been running the same test for more than a
week without hanging.

Romain Izard (10):
  clk: at91: pmc: Wait for clocks when resuming
  clk: at91: pmc: Save SCSR during suspend
  clk: at91: pmc: Support backup for programmable clocks
  mtd: nand: atmel: Avoid ECC errors when leaving backup mode
  mtd: nand: atmel: Report PMECC failures as errors
  ehci-atmel: Power down during suspend is normal
  iio:adc:at91-sama5d2: Support backup mode
  pwm: atmel-tcb: Support backup mode
  atmel_flexcom: Support backup mode
  tty/serial: atmel: Prevent a warning on suspend

 drivers/clk/at91/pmc.c             | 33 ++++++++++++------
 drivers/iio/adc/at91-sama5d2_adc.c | 71 ++++++++++++++++++++++++++++++++------
 drivers/mfd/atmel-flexcom.c        | 65 ++++++++++++++++++++++++++--------
 drivers/mtd/nand/atmel/pmecc.c     | 15 ++++----
 drivers/pwm/pwm-atmel-tcb.c        | 63 +++++++++++++++++++++++++++++++--
 drivers/tty/serial/atmel_serial.c  | 13 +++++++
 drivers/usb/host/ehci-atmel.c      |  3 +-
 7 files changed, 216 insertions(+), 47 deletions(-)

-- 
2.11.0

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

end of thread, other threads:[~2017-09-22 12:12 UTC | newest]

Thread overview: 58+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-08 15:35 [PATCH v1 00/10] Various patches for SAMA5D2 backup mode Romain Izard
2017-09-08 15:35 ` Romain Izard
2017-09-08 15:35 ` [PATCH v1 01/10] clk: at91: pmc: Wait for clocks when resuming Romain Izard
2017-09-08 15:35   ` Romain Izard
2017-09-13 12:15   ` Nicolas Ferre
2017-09-13 12:15     ` Nicolas Ferre
2017-09-13 12:15     ` Nicolas Ferre
2017-09-14 16:15     ` Romain Izard
2017-09-14 16:15       ` Romain Izard
2017-09-14 16:15       ` Romain Izard
2017-09-22 12:12       ` Nicolas Ferre
2017-09-22 12:12         ` Nicolas Ferre
2017-09-22 12:12         ` Nicolas Ferre
2017-09-08 15:35 ` [PATCH v1 02/10] clk: at91: pmc: Save SCSR during suspend Romain Izard
2017-09-08 15:35   ` Romain Izard
2017-09-08 15:35   ` Romain Izard
2017-09-13 12:10   ` Nicolas Ferre
2017-09-13 12:10     ` Nicolas Ferre
2017-09-13 12:10     ` Nicolas Ferre
2017-09-08 15:35 ` [PATCH v1 03/10] clk: at91: pmc: Support backup for programmable clocks Romain Izard
2017-09-08 15:35   ` Romain Izard
2017-09-13 12:29   ` Nicolas Ferre
2017-09-13 12:29     ` Nicolas Ferre
2017-09-13 12:29     ` Nicolas Ferre
2017-09-13 17:03     ` Alexandre Belloni
2017-09-13 17:03       ` Alexandre Belloni
2017-09-13 17:03       ` Alexandre Belloni
2017-09-14  7:41       ` romain izard
2017-09-14  7:41         ` romain izard
2017-09-14  7:41         ` romain izard
2017-09-14  9:38         ` Nicolas Ferre
2017-09-14  9:38           ` Nicolas Ferre
2017-09-14  9:38           ` Nicolas Ferre
2017-09-08 15:35 ` [PATCH v1 04/10] mtd: nand: atmel: Avoid ECC errors when leaving backup mode Romain Izard
2017-09-08 15:35   ` Romain Izard
2017-09-08 15:35 ` [PATCH v1 05/10] mtd: nand: atmel: Report PMECC failures as errors Romain Izard
2017-09-08 15:35   ` Romain Izard
2017-09-08 15:36 ` [PATCH v1 06/10] ehci-atmel: Power down during suspend is normal Romain Izard
2017-09-08 15:36   ` Romain Izard
2017-09-08 15:36 ` [PATCH v1 07/10] iio:adc:at91-sama5d2: Support backup mode Romain Izard
2017-09-08 15:36   ` Romain Izard
2017-09-08 16:03   ` Nicolas Ferre
2017-09-08 16:03     ` Nicolas Ferre
2017-09-08 16:03     ` Nicolas Ferre
2017-09-08 16:21     ` Romain Izard
2017-09-08 16:21       ` Romain Izard
2017-09-08 16:21       ` Romain Izard
2017-09-08 15:36 ` [PATCH v1 08/10] pwm: atmel-tcb: " Romain Izard
2017-09-08 15:36   ` Romain Izard
2017-09-08 15:36   ` Romain Izard
2017-09-08 15:36 ` [PATCH v1 09/10] atmel_flexcom: " Romain Izard
2017-09-08 15:36   ` Romain Izard
2017-09-08 15:36 ` [PATCH v1 10/10] tty/serial: atmel: Prevent a warning on suspend Romain Izard
2017-09-08 15:36   ` Romain Izard
2017-09-08 15:36   ` Romain Izard
2017-09-11  9:52   ` Romain Izard
2017-09-11  9:52     ` Romain Izard
2017-09-11  9:52     ` Romain Izard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.