aboutsummaryrefslogtreecommitdiff
path: root/product/rddaniel
diff options
context:
space:
mode:
authorAditya Angadi <aditya.angadi@arm.com>2020-01-08 14:48:07 +0530
committerjimqui01 <54316584+jimqui01@users.noreply.github.com>2020-02-05 18:37:04 +0000
commit795604d63860b2dc63757ba00ae24cd57c19ed86 (patch)
tree442d962b454ceb38ccde484099354c6b68c43c4c /product/rddaniel
parent428b6e6f14f9ef27ea7bca67070818b50e293bf4 (diff)
product/rddaniel: add config data for scmi system power
Provide the configuration data for scmi system power module to manage system states. Change-Id: Ic1630103fb8b278a2b3c08d7bda5ec881610160e Signed-off-by: Aditya Angadi <aditya.angadi@arm.com>
Diffstat (limited to 'product/rddaniel')
-rw-r--r--product/rddaniel/scp_ramfw/config_scmi_system_power.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/product/rddaniel/scp_ramfw/config_scmi_system_power.c b/product/rddaniel/scp_ramfw/config_scmi_system_power.c
new file mode 100644
index 00000000..cc704ed6
--- /dev/null
+++ b/product/rddaniel/scp_ramfw/config_scmi_system_power.c
@@ -0,0 +1,17 @@
+/*
+ * Arm SCP/MCP Software
+ * Copyright (c) 2020, Arm Limited and Contributors. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#include <fwk_module.h>
+#include <mod_scmi_system_power.h>
+#include <mod_system_power.h>
+
+const struct fwk_module_config config_scmi_system_power = {
+ .data = &((struct mod_scmi_system_power_config) {
+ .system_view = MOD_SCMI_SYSTEM_VIEW_FULL,
+ .system_suspend_state = MOD_SYSTEM_POWER_POWER_STATE_SLEEP0
+ }),
+};