ARM: dts: msm: Enable idle states for Kera VM

Enable idle states for kera VM to enable VCPUs to enter LPM
when no load is running on them.

Change-Id: I0e01f36557fedf68a7beb152025ab14b66fff7dc
Signed-off-by: Sneh Mankad <quic_smankad@quicinc.com>
This commit is contained in:
Sneh Mankad
2025-01-24 11:27:15 +05:30
parent 6086f3584a
commit b5dcb3d9e2
2 changed files with 30 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
/* /*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. * Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
*/ */
#include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/arm-gic.h>
@@ -40,14 +40,23 @@
}; };
idle-states { idle-states {
CPU_PWR_DWN: c4 { /* Using Medium C4 latencies */ CPU_PWR_DWN: c4 { /* Using Gold C4 latencies */
compatible = "arm,idle-state"; compatible = "arm,idle-state";
status = "disabled"; idle-state-name = "rail-pc";
entry-latency-us = <550>;
exit-latency-us = <1050>;
min-residency-us = <7951>;
arm,psci-suspend-param = <0x40000004>;
local-timer-stop;
}; };
CLUSTER_PWR_DWN: d4 { /* C4+D4 */
CLUSTER_PWR_DWN: ss3 { /* C4+CL5+SS3 */
compatible = "arm,idle-state"; compatible = "arm,idle-state";
status = "disabled"; idle-state-name = "l3-pc";
entry-latency-us = <750>;
exit-latency-us = <2350>;
min-residency-us = <9144>;
arm,psci-suspend-param = <0x40000044>;
local-timer-stop;
}; };
}; };

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
/* /*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. * Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
*/ */
#include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/arm-gic.h>
@@ -42,14 +42,23 @@
}; };
idle-states { idle-states {
CPU_PWR_DWN: c4 { /* Using Medium C4 latencies */ CPU_PWR_DWN: c4 { /* Using Gold C4 latencies */
compatible = "arm,idle-state"; compatible = "arm,idle-state";
status = "disabled"; idle-state-name = "rail-pc";
entry-latency-us = <550>;
exit-latency-us = <1050>;
min-residency-us = <7951>;
arm,psci-suspend-param = <0x40000004>;
local-timer-stop;
}; };
CLUSTER_PWR_DWN: d4 { /* C4+D4 */
CLUSTER_PWR_DWN: ss3 { /* C4+CL5+SS3 */
compatible = "arm,idle-state"; compatible = "arm,idle-state";
status = "disabled"; idle-state-name = "l3-pc";
entry-latency-us = <750>;
exit-latency-us = <2350>;
min-residency-us = <9144>;
arm,psci-suspend-param = <0x40000044>;
local-timer-stop;
}; };
}; };