1 /*
2  * Arm SCP/MCP Software
3  * Copyright (c) 2023, Arm Limited and Contributors. All rights reserved.
4  *
5  * SPDX-License-Identifier: BSD-3-Clause
6  */
7 
8 #include <mod_tc2_power_model.h>
9 
10 #include <fwk_module.h>
11 
12 static const struct fwk_element pm_elem_table[] = {
13     [0] = {
14         .name = "Power Model 0",
15         .data = &(struct mod_tc2_power_model_dev_config){
16             .coeff = 1,
17         },
18     },
19     [1] = {
20         .name = "Power Model 1",
21         .data = &(struct mod_tc2_power_model_dev_config){
22             .coeff = 1,
23         },
24     },
25     [2] = { 0 } /* Termination description */
26 };
27 
get_element_table(fwk_id_t module_id)28 static const struct fwk_element *get_element_table(fwk_id_t module_id)
29 {
30     return pm_elem_table;
31 };
32 
33 const struct fwk_module_config config_tc2_power_model = {
34     .data = NULL,
35     .elements = FWK_MODULE_DYNAMIC_ELEMENTS(get_element_table),
36 };
37