2020-12-01 06:44:18 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020, Intel Corporation
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/ {
|
|
|
|
power_states: power_states {
|
2021-08-18 23:51:14 +08:00
|
|
|
compatible = "test-power-states-api";
|
2020-12-23 13:08:55 +08:00
|
|
|
cpu-power-states = <&state0 &state1 &state2>;
|
2020-12-01 06:44:18 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
state0: state0 {
|
2020-12-23 13:08:55 +08:00
|
|
|
compatible = "zephyr,power-state";
|
|
|
|
power-state-name = "suspend-to-idle";
|
2021-04-02 06:49:49 +08:00
|
|
|
min-residency-us = <10000>;
|
2021-04-02 13:43:17 +08:00
|
|
|
exit-latency-us = <100>;
|
2020-12-01 06:44:18 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
state1: state1 {
|
2020-12-23 13:08:55 +08:00
|
|
|
compatible = "zephyr,power-state";
|
|
|
|
power-state-name = "suspend-to-ram";
|
2021-04-02 06:49:49 +08:00
|
|
|
min-residency-us = <50000>;
|
2021-04-02 13:43:17 +08:00
|
|
|
exit-latency-us = <500>;
|
2020-12-01 06:44:18 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
state2: state2 {
|
2020-12-23 13:08:55 +08:00
|
|
|
compatible = "zephyr,power-state";
|
|
|
|
power-state-name = "standby";
|
2020-12-01 06:44:18 +08:00
|
|
|
};
|
|
|
|
};
|