xref: /linux/include/soc/qcom/spm.h (revision 78c3925c048c752334873f56c3a3d1c9d53e0416)
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