blob: a1efd936dd30d2ec18e08c9d5b76bae6afabe99b [file] [log] [blame]
Steven Miao93f89512012-05-16 18:26:10 +08001/*
2 * Blackfin bf609 power management
3 *
4 * Copyright 2011 Analog Devices Inc.
5 *
6 * Licensed under the GPL-2
7 */
8
9#ifndef __MACH_BF609_PM_H__
10#define __MACH_BF609_PM_H__
11
12#include <linux/suspend.h>
Steven Miaoc6a26ce2014-07-16 14:23:08 +080013#include <linux/platform_device.h>
Steven Miao93f89512012-05-16 18:26:10 +080014
Sonic Zhangc7e48e12012-07-23 11:35:30 +080015extern int bfin609_pm_enter(suspend_state_t state);
16extern int bf609_pm_prepare(void);
17extern void bf609_pm_finish(void);
Steven Miao93f89512012-05-16 18:26:10 +080018
19void bf609_hibernate(void);
20void bfin_sec_raise_irq(unsigned int sid);
21void coreb_enable(void);
Steven Miao923680c2012-06-07 14:17:12 +080022
Steven Miaoc6a26ce2014-07-16 14:23:08 +080023int bf609_nor_flash_init(struct platform_device *pdev);
24void bf609_nor_flash_exit(struct platform_device *pdev);
Steven Miao93f89512012-05-16 18:26:10 +080025#endif