1 /* 2 * Arm SCP/MCP Software 3 * Copyright (c) 2021, Arm Limited and Contributors. All rights reserved. 4 * 5 * SPDX-License-Identifier: BSD-3-Clause 6 */ 7 8 #include <config_dvfs.h> 9 #include <morello_scp_scmi.h> 10 11 #include <mod_scmi_perf.h> 12 13 #include <fwk_element.h> 14 #include <fwk_module.h> 15 16 #include <stdint.h> 17 18 static const struct mod_scmi_perf_domain_config 19 domains[DVFS_ELEMENT_IDX_COUNT] = { 20 [DVFS_ELEMENT_IDX_CLUS0] = {}, 21 [DVFS_ELEMENT_IDX_CLUS1] = {}, 22 [DVFS_ELEMENT_IDX_GPU] = {}, 23 }; 24 25 struct fwk_module_config config_scmi_perf = { 26 .data = &((struct mod_scmi_perf_config){ 27 .domains = &domains, 28 .fast_channels_alarm_id = FWK_ID_NONE_INIT, 29 .perf_doms_count = FWK_ARRAY_SIZE(domains), 30 }), 31 }; 32