xref: /linux/include/soc/qcom/spm.h (revision 594ce0b8a998aa4d05827cd7c0d0dcec9a1e3ae2)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (c) 2011-2014, The Linux Foundation. All rights reserved.
4  * Copyright (c) 2014,2015, Linaro Ltd.
5  */
6 
7 #ifndef __SPM_H__
8 #define __SPM_H__
9 
10 enum pm_sleep_mode {
11 	PM_SLEEP_MODE_STBY,
12 	PM_SLEEP_MODE_RET,
13 	PM_SLEEP_MODE_SPC,
14 	PM_SLEEP_MODE_PC,
15 	PM_SLEEP_MODE_NR,
16 };
17 
18 struct spm_driver_data;
19 void spm_set_low_power_mode(struct spm_driver_data *drv,
20 			    enum pm_sleep_mode mode);
21 
22 #endif /* __SPM_H__ */
23