[PATCH v4 0/2] memory: Introduce ti-emif-sram driver
From: Dave Gerlach
Date: Tue Sep 26 2017 - 20:05:44 EST
Hi,
This is v4 of the series introduces a ti-emif-sram driver to be used on
am335x and am437x, based on v4.14-rc1. This version addresses some
comments from Russell King and Johan Hovold in v3 found here [1].
The main change in this version is dropping the additions to the
arch/arm/kernel/asm-offsets.c file and instead generating our own local
"emif-asm-offsets.h" using the same strategy in the drivers/memory Makefile.
This keeps our driver changes out of the arch or platform code and is a
cleaner implementation. Otherwise some small fixups based on comments from
Johan in v3 were done.
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/msg138314.html
[2] https://github.com/dgerlach/linux-pm/tree/upstream/v4.14/amx3-suspend-v4
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 +-
drivers/memory/.gitignore | 1 +
drivers/memory/Kconfig | 10 +
drivers/memory/Makefile | 20 ++
drivers/memory/emif-asm-offsets.c | 22 ++
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 | 148 +++++++++
9 files changed, 908 insertions(+), 1 deletion(-)
create mode 100644 drivers/memory/.gitignore
create mode 100644 drivers/memory/emif-asm-offsets.c
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.4