1 /*
2  * Copyright 2023-2024 NXP
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 #ifndef SM_POWER_H_
7 #define SM_POWER_H_
8 
9 #include "fsl_common.h"
10 #include "sm_platform.h"
11 #include "scmi_power.h"
12 
13 /*******************************************************************************
14  * definition
15  ******************************************************************************/
16 typedef struct
17 {
18     uint32_t channel;
19     uint32_t domain_id;
20     uint32_t flag;
21     uint32_t power_st;
22 } sm_power_t;
23 
24 /*******************************************************************************
25  * API
26  ******************************************************************************/
27 
28 #if defined(__cplusplus)
29 extern "C" {
30 #endif /*__cplusplus */
31 
32 void SM_POWER_SetState(sm_power_t *sm_power);
33 uint32_t SM_POWER_GetState(sm_power_t *sm_power);
34 
35 #if defined(__cplusplus)
36 }
37 #endif /*__cplusplus */
38 
39 /*! @} */
40 
41 #endif /* SM_POWER_H_ */
42