mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-25 19:07:46 +00:00
ea31fd4330
This patch adds suspend-to-ram support for S5PV210. Note. This patch is confirmed on SMDKV210 and SMDKC110 board. Signed-off-by: Jongpill Lee <boyko.lee@samsung.com> Signed-off-by: Sangbeom Kim <sbkim73@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
53 lines
1.0 KiB
C
53 lines
1.0 KiB
C
/* linux/arch/arm/plat-s5p/pm.c
|
|
*
|
|
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
|
|
* http://www.samsung.com
|
|
*
|
|
* S5P Power Manager (Suspend-To-RAM) support
|
|
*
|
|
* Based on arch/arm/plat-s3c24xx/pm.c
|
|
* Copyright (c) 2004,2006 Simtec Electronics
|
|
* Ben Dooks <ben@simtec.co.uk>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#include <linux/suspend.h>
|
|
#include <plat/pm.h>
|
|
|
|
#define PFX "s5p pm: "
|
|
|
|
/* s3c_pm_check_resume_pin
|
|
*
|
|
* check to see if the pin is configured correctly for sleep mode, and
|
|
* make any necessary adjustments if it is not
|
|
*/
|
|
|
|
static void s3c_pm_check_resume_pin(unsigned int pin, unsigned int irqoffs)
|
|
{
|
|
/* nothing here yet */
|
|
}
|
|
|
|
/* s3c_pm_configure_extint
|
|
*
|
|
* configure all external interrupt pins
|
|
*/
|
|
|
|
void s3c_pm_configure_extint(void)
|
|
{
|
|
/* nothing here yet */
|
|
}
|
|
|
|
void s3c_pm_restore_core(void)
|
|
{
|
|
/* nothing here yet */
|
|
}
|
|
|
|
void s3c_pm_save_core(void)
|
|
{
|
|
/* nothing here yet */
|
|
}
|
|
|