1 /* 2 * Arm SCP/MCP Software 3 * Copyright (c) 2019-2021, Arm Limited and Contributors. All rights reserved. 4 * 5 * SPDX-License-Identifier: BSD-3-Clause 6 */ 7 8 #include <juno_alarm_idx.h> 9 10 #include <mod_scmi_system_power.h> 11 #include <mod_system_power.h> 12 13 #include <fwk_module.h> 14 15 struct fwk_module_config config_scmi_system_power = { 16 .data = 17 &(struct mod_scmi_system_power_config){ 18 .system_view = MOD_SCMI_SYSTEM_VIEW_FULL, 19 .system_suspend_state = 20 (unsigned int)MOD_SYSTEM_POWER_POWER_STATE_SLEEP0, 21 .alarm_id = FWK_ID_SUB_ELEMENT_INIT( 22 FWK_MODULE_IDX_TIMER, 23 JUNO_ALARM_ELEMENT_IDX, 24 JUNO_SYSTEM_POWER_ALARM_IDX), 25 .graceful_timeout = 1000, /* ms */ 26 }, 27 }; 28