devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] memory: Introduce ti-emif-sram driver
@ 2017-07-24 21:24 Dave Gerlach
  2017-07-24 21:24 ` [PATCH v3 1/2] Documentation: dt: Update ti,emif bindings Dave Gerlach
  2017-07-24 21:24 ` [PATCH v3 2/2] memory: ti-emif-sram: introduce relocatable suspend/resume handlers Dave Gerlach
  0 siblings, 2 replies; 11+ messages in thread
From: Dave Gerlach @ 2017-07-24 21:24 UTC (permalink / raw)
  To: Rob Herring, Tony Lindgren, Santosh Shilimkar, Russell King
  Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Dave Gerlach, Keerthy J,
	Johan Hovold

This is v3 of the series introduces a ti-emif-sram driver to be used on
am335x and am437x, based on v4.13-rc2. This version addresses some
comments from Russell King and Johan Hovold in v2 found here [1].

Main changes are to patch two with grouping all the driver data into a single
struct and allowing this to be passed to static functions in the driver,
making sure all probe failures are handled so that we don't use invalid
leftover data in any variables from the exported APIs, fixing a typo in
the ASM code that caused botht he EMIF power management register and its
shadow register to be saved to the same place, cleanup asm-offset macro
definitions, and some general code fixups.

This code is required for low-power modes to work on AM335x and AM437x and a
forthcoming PM series for those platforms will depend on this series. After
both this and the PM series are reviewed I will send the necessary device tree
changes for both, but in the meantime all remaining patches for am335x and
am437x PM can be found here [2].

Regards,
Dave

[1] https://www.spinics.net/lists/linux-omap/msg137203.html
[2] https://github.com/dgerlach/linux-pm/tree/upstream/v4.13/amx3-suspend-v3

Dave Gerlach (2):
  Documentation: dt: Update ti,emif bindings
  memory: ti-emif-sram: introduce relocatable suspend/resume handlers

 .../bindings/memory-controllers/ti/emif.txt        |  18 +-
 arch/arm/kernel/asm-offsets.c                      |   4 +
 drivers/memory/Kconfig                             |  10 +
 drivers/memory/Makefile                            |   4 +
 drivers/memory/emif.h                              |  17 ++
 drivers/memory/ti-emif-pm.c                        | 339 +++++++++++++++++++++
 drivers/memory/ti-emif-sram-pm.S                   | 334 ++++++++++++++++++++
 include/linux/ti-emif-sram.h                       | 147 +++++++++
 8 files changed, 872 insertions(+), 1 deletion(-)
 create mode 100644 drivers/memory/ti-emif-pm.c
 create mode 100644 drivers/memory/ti-emif-sram-pm.S
 create mode 100644 include/linux/ti-emif-sram.h

-- 
2.13.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2017-09-18 19:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-24 21:24 [PATCH v3 0/2] memory: Introduce ti-emif-sram driver Dave Gerlach
2017-07-24 21:24 ` [PATCH v3 1/2] Documentation: dt: Update ti,emif bindings Dave Gerlach
2017-07-25 15:53   ` Rob Herring
2017-07-24 21:24 ` [PATCH v3 2/2] memory: ti-emif-sram: introduce relocatable suspend/resume handlers Dave Gerlach
2017-07-26 16:54   ` Santosh Shilimkar
     [not found]     ` <9b856bf5-f404-5cfc-6f1e-5ae527c6e0b1-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2017-08-01 18:08       ` Santosh Shilimkar
2017-08-11 15:42         ` Dave Gerlach
2017-08-31 14:03   ` Russell King - ARM Linux
     [not found]     ` <20170831140332.GD23750-l+eeeJia6m9URfEZ8mYm6t73F7V6hmMc@public.gmane.org>
2017-09-18 19:57       ` Dave Gerlach
     [not found]   ` <20170724212454.27574-3-d-gerlach-l0cyMroinI0@public.gmane.org>
2017-09-01 10:26     ` Johan Hovold
2017-09-18 19:28       ` Dave Gerlach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).