Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
26 lines
575 B
C
26 lines
575 B
C
/*
|
|
* Blackfin bf609 power management
|
|
*
|
|
* Copyright 2011 Analog Devices Inc.
|
|
*
|
|
* Licensed under the GPL-2
|
|
*/
|
|
|
|
#ifndef __MACH_BF609_PM_H__
|
|
#define __MACH_BF609_PM_H__
|
|
|
|
#include <linux/suspend.h>
|
|
#include <linux/platform_device.h>
|
|
|
|
extern int bfin609_pm_enter(suspend_state_t state);
|
|
extern int bf609_pm_prepare(void);
|
|
extern void bf609_pm_finish(void);
|
|
|
|
void bf609_hibernate(void);
|
|
void bfin_sec_raise_irq(unsigned int sid);
|
|
void coreb_enable(void);
|
|
|
|
int bf609_nor_flash_init(struct platform_device *pdev);
|
|
void bf609_nor_flash_exit(struct platform_device *pdev);
|
|
#endif
|