linux/drivers/bus
Thomas Petazzoni a0e89c02da bus: mvebu-mbus: suspend/resume support
This commit extends the mvebu-mbus driver to provide suspend/resume
support. Since mvebu-mbus is not a platform_driver, the syscore_ops
mechanism is used to get ->suspend() and ->resume() hooks called into
the driver.

In those hooks, we save and restore the MBus windows state, to make
sure after resume all Mbus windows are properly restored. Note that
while the state of some windows could be gathered by looking again at
the Device Tree (for statically described windows), it is not the case
of dynamically described windows such as the PCIe memory and I/O
windows. Therefore, we take the simple approach of saving and
restoring the registers for all MBus windows.

In addition, the commit extends the Device Tree binding of the MBus
controller, to control the MBus bridge registers (which define which
parts of the physical address space is routed to MBus windows
vs. normal RAM memory). Those registers must be saved and restored
during suspend/resume. The Device Tree binding extension is made is a
backward compatible fashion, but of course, suspend/resume will not
work without the Device Tree update.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1416585613-2113-7-git-send-email-thomas.petazzoni@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
2014-11-30 16:40:10 +00:00
..
arm-cci.c drivers: CCI: Correct use of ! and & 2014-07-30 22:58:54 -07:00
arm-ccn.c ARM: SoC driver updates for 3.18 2014-10-08 17:37:16 -04:00
brcmstb_gisb.c devres: remove devm_request_and_ioremap() 2014-06-19 20:01:36 -07:00
imx-weim.c bus: imx-weim: populate devices on a simple bus 2014-07-18 16:11:36 +08:00
Kconfig bus: ARM CCN: add PERF_EVENTS dependency 2014-07-24 13:18:22 +02:00
Makefile bus: ARM CCN PMU driver 2014-07-23 22:14:43 +02:00
mvebu-mbus.c bus: mvebu-mbus: suspend/resume support 2014-11-30 16:40:10 +00:00
omap_l3_noc.c bus: omap_l3_noc: Add AM4372 interconnect error data 2014-05-05 14:34:37 -05:00
omap_l3_noc.h bus: omap_l3_noc: Fix connID for OMAP4 2014-09-11 10:43:39 -07:00
omap_l3_smx.c
omap_l3_smx.h
omap-ocp2scp.c ARM: OMAP2+: Remove omap4 ocp2scp pdata 2013-05-30 13:09:31 -07:00
vexpress-config.c ARM: vexpress: refine dependencies for new code 2014-05-26 21:26:52 +02:00