dts: enable c7 cpu idle state

For platform-specific dts, it only need to enable the c7 cpu idle state
to enable the psci cpuidle driver. Other cpu idle states information and
configuration of cpu cores are specified in the soc overlay file.

Bug 3845478

Signed-off-by: Johnny Liu <johnliu@nvidia.com>
Change-Id: I8a84d3199d47cf4fcd32edf4d7f13272b7c7e4eb
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2871279
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Johnny Liu
2023-03-15 02:59:47 +00:00
committed by Laxman Dewangan
parent 1d6d671d5e
commit 04d2831976
2 changed files with 9 additions and 69 deletions

View File

@@ -35,75 +35,6 @@
hdr40_i2c1: i2c@c250000 {
};
};
cpus {
cpu_core_power_states {
C1: c1 {
compatible = "arm,idle-state";
state-name = "Clock gated";
wakeup-latency-us = <1>;
min-residency-us = <1>;
status = "okay";
};
C7: c7 {
compatible = "arm,idle-state";
state-name = "Core powergate";
wakeup-latency-us = <5000>;
arm,psci-suspend-param= <0x40000007>;
min-residency-us = <30000>;
status = "okay";
};
};
cpu@0 {
cpu-idle-states = <&C7>;
};
cpu@100 {
cpu-idle-states = <&C7>;
};
cpu@200 {
cpu-idle-states = <&C7>;
};
cpu@300 {
cpu-idle-states = <&C7>;
};
cpu@10000 {
cpu-idle-states = <&C7>;
};
cpu@10100 {
cpu-idle-states = <&C7>;
};
cpu@10200 {
cpu-idle-states = <&C7>;
};
cpu@10300 {
cpu-idle-states = <&C7>;
};
cpu@20000 {
cpu-idle-states = <&C7>;
};
cpu@20100 {
cpu-idle-states = <&C7>;
};
cpu@20200 {
cpu-idle-states = <&C7>;
};
cpu@20300 {
cpu-idle-states = <&C7>;
};
};
};
};
};

View File

@@ -303,6 +303,15 @@
status = "okay";
};
};
cpus {
idle-states {
c7 {
status = "okay";
};
};
};
};
};
};