From 6d6fbd1449e06dd1c70c7ae5d5b3a0c40a113ddb Mon Sep 17 00:00:00 2001 From: Lina Iyer Date: Tue, 25 Aug 2020 22:02:43 -0600 Subject: [PATCH] ARM: dts: msm: add cluster power down state for Trusted VM Add cluster idle state for Trusted VM. Since the Trusted VM does cpuidle using Platform Coordinated PSCI mode, specify the cluster power down as a idle state in the CPU node. Change-Id: I245530ac738ab7e35e9bd5c5d81e58a93eb178fa --- qcom/lahaina-vm.dtsi | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/qcom/lahaina-vm.dtsi b/qcom/lahaina-vm.dtsi index 456517912aa2..c7e230103dee 100644 --- a/qcom/lahaina-vm.dtsi +++ b/qcom/lahaina-vm.dtsi @@ -30,7 +30,8 @@ reg = <0x0 0x0>; device_type = "cpu"; enable-method = "psci"; - cpu-idle-states = <&CPU_PWR_DWN>; + cpu-idle-states = <&CPU_PWR_DWN + &CLUSTER_PWR_DWN>; }; CPU1: cpu@100 { @@ -38,7 +39,8 @@ reg = <0x0 0x100>; device_type = "cpu"; enable-method = "psci"; - cpu-idle-states = <&CPU_PWR_DWN>; + cpu-idle-states = <&CPU_PWR_DWN + &CLUSTER_PWR_DWN>; }; }; @@ -52,6 +54,16 @@ arm,psci-suspend-param = <0x40000004>; local-timer-stop; }; + + CLUSTER_PWR_DWN: d4 { /* C4+D4 */ + compatible = "arm,idle-state"; + idle-state-name = "l3-pc"; + entry-latency-us = <2752>; + exit-latency-us = <3048>; + min-residency-us = <6118>; + arm,psci-suspend-param = <0x40000044>; + local-timer-stop; + }; }; neuron-client-block {