linux/Documentation/devicetree/bindings
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
..
arc
arm ACPI and power management updates for 3.18-rc1 2014-10-09 16:07:43 -04:00
ata ata: qcom: Add device tree bindings information 2014-09-23 09:16:56 -04:00
bus bus: mvebu-mbus: suspend/resume support 2014-11-30 16:40:10 +00:00
c6x
clock The clk tree changes for 3.18 are dominated by clock drivers. Mostly 2014-10-15 07:05:03 +02:00
cpufreq cpufreq: cpu0: rename driver and internals to 'cpufreq_dt' 2014-10-03 15:37:54 +02:00
crypto Documentation: treewide: fix typos and grammar 2014-08-26 09:35:51 +02:00
dma Merge branch 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma 2014-10-18 18:11:04 -07:00
drm drm/tilcdc: panel: Add support for enable GPIO 2014-09-17 10:55:27 +10:00
extcon dt-bindings: extcon: Add support for Richtek RT8973A MUIC device 2014-09-22 11:43:08 +09:00
fb
fuse soc/tegra: Add efuse and apbmisc bindings 2014-07-17 14:36:10 +02:00
gpio power supply and reset changes for the v3.18 series 2014-10-15 06:56:23 +02:00
gpu ARM: SoC device-tree changes for 3.17 2014-08-08 11:16:58 -07:00
hid
hsi
hwmon hwmon: (ntc_thermistor) Add ntc thermistor to thermal subsystem as a sensor. 2014-09-22 11:14:52 -07:00
hwrng
i2c Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2014-10-19 12:50:44 -07:00
iio Staging patches for 3.18-rc1 2014-10-08 06:50:18 -04:00
input Merge branch 'next' into for-linus 2014-10-03 11:24:46 -07:00
interrupt-controller Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2014-10-09 06:42:04 -04:00
iommu iommu/arm-smmu: support MMU-401 2014-09-16 19:15:23 +01:00
leds leds: add device tree bindings for register bit LEDs 2014-09-26 00:27:19 +02:00
lpddr2
mailbox Documentation: dt: add omap mailbox bindings 2014-09-11 11:39:14 -07:00
media [media] rc: Add DT bindings for hix5hd2 2014-09-23 16:13:51 -03:00
memory-controllers Documentation: dt-bindings: minimal documentation for MVEBU SDRAM controller 2014-11-22 01:03:57 +00:00
metag
mfd Changes to existing drivers: 2014-10-15 06:58:16 +02:00
mipi
mips
misc soc/tegra: Add efuse and apbmisc bindings 2014-07-17 14:36:10 +02:00
mmc mmc: tmio-mmc: Add support for SDHI on new R-Car Gen2 SoCs 2014-09-09 13:59:19 +02:00
mtd MTD updates for 3.18 2014-10-18 11:48:03 -07:00
net stmmac: dwmac-sti: review the glue-logic for STi4xx and STiD127 SoCs 2014-10-14 16:40:06 -04:00
nvec
panel drm/panel/simple: add optronics B101XTN01.0 (v3) 2014-09-10 11:19:07 -04:00
pci Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux 2014-10-11 20:34:00 -04:00
phy USB patches for 3.18-rc1 2014-10-08 06:47:31 -04:00
pinctrl This is the bulk of pin control changes for the v3.18 2014-10-07 20:56:28 -04:00
power power supply and reset changes for the v3.18 series 2014-10-15 06:56:23 +02:00
power_supply Documentation: treewide: fix typos and grammar 2014-08-26 09:35:51 +02:00
powerpc powerpc/85xx: Add binding for CPLD 2014-07-31 00:10:45 -05:00
pps
pwm pwm: rockchip: document RK3288 SoC compatible 2014-08-08 13:12:46 +02:00
regmap regmap: Add the DT binding documentation for endianness 2014-08-16 16:56:23 -05:00
regulator ARM: SoC DT updates for 3.18 2014-10-08 17:22:23 -04:00
reserved-memory
reset
rng Documentation: rng: Add X-Gene SoC RNG driver documentation 2014-08-29 21:46:40 +08:00
rtc Documentation: dt-bindings: trickle charger dt binding document for ds1339 2014-10-14 02:18:18 +02:00
serial DTS: serial: Add bindings documention for the Mediatek UARTs 2014-09-10 06:59:41 -07:00
serio
soc Documentation: dt: soc: add Keystone Navigator DMA bindings 2014-09-24 09:49:15 -04:00
sound sound updates for 3.18-rc1 2014-10-10 22:13:25 -04:00
spi Merge remote-tracking branches 'spi/topic/pl022', 'spi/topic/pxa2xx', 'spi/topic/rspi', 'spi/topic/sh-msiof' and 'spi/topic/sirf' into spi-next 2014-10-03 16:33:42 +01:00
spmi
staging Staging patches for 3.18-rc1 2014-10-08 06:50:18 -04:00
thermal Merge branches 'exynos-fix', 'for-rc', 'int3403-fix', 'misc', 'rcar-thermal' and 'sti-thermal' of .git into next 2014-07-22 10:13:00 +08:00
timer Renesas Clocksource Updates for v3.18 2014-09-29 01:59:51 +02:00
ufs ufs: Add freq-table-hz property for UFS device 2014-10-01 13:11:25 +02:00
usb usb3503: fix typos in devicetree binding documentation 2014-09-23 22:15:18 -07:00
video fbdev changes for 3.18 2014-10-18 18:03:02 -07:00
virtio
w1
watchdog watchdog: imx2_wdt: adds big endianness support. 2014-08-05 22:43:11 +02:00
x86
xillybus xillybus: Move out of staging 2014-09-23 23:44:16 -07:00
ABI.txt
eeprom.txt
graph.txt
marvell.txt
open-pic.txt
resource-names.txt
submitting-patches.txt
vendor-prefixes.txt Merge tag 'qcom-dt-for-3.18-3' of git://git.kernel.org/pub/scm/linux/kernel/git/galak/linux-qcom into fixes 2014-10-19 13:39:08 -07:00
xilinx.txt