blob: 66be7ee67e209d617f215b820a1cd4b1e67c3daf [file] [log] [blame]
developer5f735162021-01-04 00:02:34 +08001/*
2 * Copyright (c) 2020, MediaTek Inc. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef MT_SPM_SSPM_NOTIFIER_H
8#define MT_SPM_SSPM_NOTIFIER_H
9
10enum MT_SPM_SSPM_NOTIFY_ID {
11 MT_SPM_NOTIFY_LP_ENTER,
12 MT_SPM_NOTIFY_LP_LEAVE,
13};
14
15int mt_spm_sspm_notify(int type, unsigned int lp_mode);
16
17static inline int mt_spm_sspm_notify_u32(int type, unsigned int lp_mode)
18{
19 return mt_spm_sspm_notify(type, lp_mode);
20}
21#endif /* MT_SPM_SSPM_NOTIFIER_H */