summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2013-03-21 18:48:45 +0100
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:43:23 +0900
commit2cca3eddf1bded86eaa43228f0b5672ecf1110be (patch)
tree05e3a6e39b5e3ab67a8bc2950e6f162f6fbc987f /arch/arm/include
parentaa75091c073173c5b3eadd7fcae80af8556e0b68 (diff)
downloadlinux-3.10-2cca3eddf1bded86eaa43228f0b5672ecf1110be.tar.gz
linux-3.10-2cca3eddf1bded86eaa43228f0b5672ecf1110be.tar.bz2
linux-3.10-2cca3eddf1bded86eaa43228f0b5672ecf1110be.zip
ARM: EXYNOS: Add support for firmware-assisted suspend/resume
This patch adds firmware ops related to system suspend/resume that allows suspend/resume of systems with secure firmware. Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/firmware.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/include/asm/firmware.h b/arch/arm/include/asm/firmware.h
index 15631300c23..f459d255ac1 100644
--- a/arch/arm/include/asm/firmware.h
+++ b/arch/arm/include/asm/firmware.h
@@ -37,6 +37,18 @@ struct firmware_ops {
* Initializes L2 cache
*/
int (*l2x0_init)(void);
+ /*
+ * Suspends the system
+ */
+ int (*suspend)(unsigned long resume_addr);
+ /*
+ * Acknowledges system resume
+ */
+ int (*resume)(void);
+ /*
+ * Restores coprocessor 15 registers
+ */
+ int (*c15resume)(u32 *regs);
};
/* Global pointer for current firmware_ops structure, can't be NULL. */