xref: /rk3399_ARM-atf/plat/allwinner/sun50i_a64/sunxi_idle_states.c (revision e2b18771fc2a0528dda18dbdaac08dd8530df25a)
1*e2b18771SSamuel Holland /*
2*e2b18771SSamuel Holland  * Copyright (c) 2022, ARM Limited and Contributors. All rights reserved.
3*e2b18771SSamuel Holland  *
4*e2b18771SSamuel Holland  * SPDX-License-Identifier: BSD-3-Clause
5*e2b18771SSamuel Holland  */
6*e2b18771SSamuel Holland 
7*e2b18771SSamuel Holland #include <sunxi_private.h>
8*e2b18771SSamuel Holland 
9*e2b18771SSamuel Holland const struct psci_cpu_idle_state sunxi_idle_states[] = {
10*e2b18771SSamuel Holland 	{
11*e2b18771SSamuel Holland 		.name			= "cpu-sleep",
12*e2b18771SSamuel Holland 		.power_state		= 0x00010003,
13*e2b18771SSamuel Holland 		.local_timer_stop	= true,
14*e2b18771SSamuel Holland 		.entry_latency_us	= 800,
15*e2b18771SSamuel Holland 		.exit_latency_us	= 1500,
16*e2b18771SSamuel Holland 		.min_residency_us	= 25000
17*e2b18771SSamuel Holland 	},
18*e2b18771SSamuel Holland 	{
19*e2b18771SSamuel Holland 		.name			= "cluster-sleep",
20*e2b18771SSamuel Holland 		.power_state		= 0x01010013,
21*e2b18771SSamuel Holland 		.local_timer_stop	= true,
22*e2b18771SSamuel Holland 		.entry_latency_us	= 850,
23*e2b18771SSamuel Holland 		.exit_latency_us	= 1500,
24*e2b18771SSamuel Holland 		.min_residency_us	= 50000
25*e2b18771SSamuel Holland 	},
26*e2b18771SSamuel Holland 	{}
27*e2b18771SSamuel Holland };
28