1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) 2012-2019 ARM Limited (or its affiliates). */
7 #ifndef __CC_POWER_MGR_H__
8 #define __CC_POWER_MGR_H__
10 #include "cc_driver.h"
12 #define CC_SUSPEND_TIMEOUT 3000
14 #if defined(CONFIG_PM)
16 extern const struct dev_pm_ops ccree_pm
;
18 int cc_pm_get(struct device
*dev
);
19 void cc_pm_put_suspend(struct device
*dev
);
23 static inline int cc_pm_get(struct device
*dev
)
28 static inline void cc_pm_put_suspend(struct device
*dev
) {}
32 #endif /*__POWER_MGR_H__*/