diff options
Diffstat (limited to 'arch/arm/plat-s5p/pm.c')
-rw-r--r-- | arch/arm/plat-s5p/pm.c | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/arch/arm/plat-s5p/pm.c b/arch/arm/plat-s5p/pm.c new file mode 100644 index 000000000000..d592b6304b48 --- /dev/null +++ b/arch/arm/plat-s5p/pm.c | |||
@@ -0,0 +1,52 @@ | |||
1 | /* linux/arch/arm/plat-s5p/pm.c | ||
2 | * | ||
3 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. | ||
4 | * http://www.samsung.com | ||
5 | * | ||
6 | * S5P Power Manager (Suspend-To-RAM) support | ||
7 | * | ||
8 | * Based on arch/arm/plat-s3c24xx/pm.c | ||
9 | * Copyright (c) 2004,2006 Simtec Electronics | ||
10 | * Ben Dooks <ben@simtec.co.uk> | ||
11 | * | ||
12 | * This program is free software; you can redistribute it and/or modify | ||
13 | * it under the terms of the GNU General Public License version 2 as | ||
14 | * published by the Free Software Foundation. | ||
15 | */ | ||
16 | |||
17 | #include <linux/suspend.h> | ||
18 | #include <plat/pm.h> | ||
19 | |||
20 | #define PFX "s5p pm: " | ||
21 | |||
22 | /* s3c_pm_check_resume_pin | ||
23 | * | ||
24 | * check to see if the pin is configured correctly for sleep mode, and | ||
25 | * make any necessary adjustments if it is not | ||
26 | */ | ||
27 | |||
28 | static void s3c_pm_check_resume_pin(unsigned int pin, unsigned int irqoffs) | ||
29 | { | ||
30 | /* nothing here yet */ | ||
31 | } | ||
32 | |||
33 | /* s3c_pm_configure_extint | ||
34 | * | ||
35 | * configure all external interrupt pins | ||
36 | */ | ||
37 | |||
38 | void s3c_pm_configure_extint(void) | ||
39 | { | ||
40 | /* nothing here yet */ | ||
41 | } | ||
42 | |||
43 | void s3c_pm_restore_core(void) | ||
44 | { | ||
45 | /* nothing here yet */ | ||
46 | } | ||
47 | |||
48 | void s3c_pm_save_core(void) | ||
49 | { | ||
50 | /* nothing here yet */ | ||
51 | } | ||
52 | |||