mirror of
https://github.com/Evolution-X-Devices/kernel_oneplus_sm8550-devicetrees
synced 2026-02-01 09:49:52 +00:00
Merge "ARM: dts: msm: Add cpuidle states for kalama"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
cd1ffccc90
@@ -94,3 +94,19 @@
|
||||
|
||||
status = "ok";
|
||||
};
|
||||
|
||||
&SILVER_OFF {
|
||||
status = "nok";
|
||||
};
|
||||
|
||||
&GOLD_OFF {
|
||||
status = "nok";
|
||||
};
|
||||
|
||||
&CLUSTER_PWR_DN {
|
||||
status = "nok";
|
||||
};
|
||||
|
||||
&APSS_OFF {
|
||||
status = "nok";
|
||||
};
|
||||
|
||||
117
qcom/kalama.dtsi
117
qcom/kalama.dtsi
@@ -46,6 +46,9 @@
|
||||
compatible = "qcom,kryo";
|
||||
reg = <0x0 0x0>;
|
||||
enable-method = "psci";
|
||||
cpu-idle-states = <&SILVER_OFF>;
|
||||
power-domains = <&CPU_PD0>;
|
||||
power-domain-names = "psci";
|
||||
cpu-release-addr = <0x0 0xE3940000>;
|
||||
next-level-cache = <&L2_0>;
|
||||
L2_0: l2-cache {
|
||||
@@ -65,6 +68,9 @@
|
||||
compatible = "qcom,kryo";
|
||||
reg = <0x0 0x100>;
|
||||
enable-method = "psci";
|
||||
cpu-idle-states = <&SILVER_OFF>;
|
||||
power-domains = <&CPU_PD1>;
|
||||
power-domain-names = "psci";
|
||||
cpu-release-addr = <0x0 0xE3940000>;
|
||||
next-level-cache = <&L2_1>;
|
||||
L2_1: l2-cache {
|
||||
@@ -79,6 +85,9 @@
|
||||
compatible = "qcom,kryo";
|
||||
reg = <0x0 0x200>;
|
||||
enable-method = "psci";
|
||||
cpu-idle-states = <&SILVER_OFF>;
|
||||
power-domains = <&CPU_PD2>;
|
||||
power-domain-names = "psci";
|
||||
cpu-release-addr = <0x0 0xE3940000>;
|
||||
next-level-cache = <&L2_1>;
|
||||
};
|
||||
@@ -88,6 +97,9 @@
|
||||
compatible = "qcom,kryo";
|
||||
reg = <0x0 0x300>;
|
||||
enable-method = "psci";
|
||||
cpu-idle-states = <&GOLD_OFF>;
|
||||
power-domains = <&CPU_PD3>;
|
||||
power-domain-names = "psci";
|
||||
cpu-release-addr = <0x0 0xE3940000>;
|
||||
next-level-cache = <&L2_3>;
|
||||
L2_3: l2-cache {
|
||||
@@ -102,6 +114,9 @@
|
||||
compatible = "qcom,kryo";
|
||||
reg = <0x0 0x400>;
|
||||
enable-method = "psci";
|
||||
cpu-idle-states = <&GOLD_OFF>;
|
||||
power-domains = <&CPU_PD4>;
|
||||
power-domain-names = "psci";
|
||||
cpu-release-addr = <0x0 0xE3940000>;
|
||||
next-level-cache = <&L2_4>;
|
||||
L2_4: l2-cache {
|
||||
@@ -117,6 +132,9 @@
|
||||
compatible = "qcom,kryo";
|
||||
reg = <0x0 0x500>;
|
||||
enable-method = "psci";
|
||||
cpu-idle-states = <&GOLD_OFF>;
|
||||
power-domains = <&CPU_PD5>;
|
||||
power-domain-names = "psci";
|
||||
cpu-release-addr = <0x0 0xE3940000>;
|
||||
next-level-cache = <&L2_5>;
|
||||
L2_5: l2-cache {
|
||||
@@ -131,6 +149,9 @@
|
||||
compatible = "qcom,kryo";
|
||||
reg = <0x0 0x600>;
|
||||
enable-method = "psci";
|
||||
cpu-idle-states = <&GOLD_OFF>;
|
||||
power-domains = <&CPU_PD6>;
|
||||
power-domain-names = "psci";
|
||||
cpu-release-addr = <0x0 0xE3940000>;
|
||||
next-level-cache = <&L2_6>;
|
||||
L2_6: l2-cache {
|
||||
@@ -145,6 +166,9 @@
|
||||
compatible = "qcom,kryo";
|
||||
reg = <0x0 0x700>;
|
||||
enable-method = "psci";
|
||||
cpu-idle-states = <&GOLD_OFF>;
|
||||
power-domains = <&CPU_PD7>;
|
||||
power-domain-names = "psci";
|
||||
cpu-release-addr = <0x0 0xE3940000>;
|
||||
next-level-cache = <&L2_7>;
|
||||
L2_7: l2-cache {
|
||||
@@ -195,6 +219,48 @@
|
||||
};
|
||||
};
|
||||
|
||||
idle-states {
|
||||
entry-method = "psci";
|
||||
|
||||
SILVER_OFF: silver-c4 { /* C4 */
|
||||
compatible = "arm,idle-state";
|
||||
idle-state-name = "rail-pc";
|
||||
entry-latency-us = <800>;
|
||||
exit-latency-us = <750>;
|
||||
min-residency-us = <4090>;
|
||||
arm,psci-suspend-param = <0x40000004>;
|
||||
local-timer-stop;
|
||||
};
|
||||
|
||||
GOLD_OFF: gold-c4 { /* C4 */
|
||||
compatible = "arm,idle-state";
|
||||
idle-state-name = "rail-pc";
|
||||
entry-latency-us = <600>;
|
||||
exit-latency-us = <1550>;
|
||||
min-residency-us = <4791>;
|
||||
arm,psci-suspend-param = <0x40000004>;
|
||||
local-timer-stop;
|
||||
};
|
||||
|
||||
CLUSTER_PWR_DN: cluster-d4 { /* D4 */
|
||||
compatible = "domain-idle-state";
|
||||
idle-state-name = "l3-off";
|
||||
entry-latency-us = <1050>;
|
||||
exit-latency-us = <2500>;
|
||||
min-residency-us = <5309>;
|
||||
arm,psci-suspend-param = <0x41000044>;
|
||||
};
|
||||
|
||||
APSS_OFF: cluster-e3 { /* E3 */
|
||||
compatible = "domain-idle-state";
|
||||
idle-state-name = "llcc-off";
|
||||
entry-latency-us = <2700>;
|
||||
exit-latency-us = <3500>;
|
||||
min-residency-us = <13959>;
|
||||
arm,psci-suspend-param = <0x4100c344>;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
soc: soc { };
|
||||
};
|
||||
@@ -481,6 +547,51 @@
|
||||
psci {
|
||||
compatible = "arm,psci-1.0";
|
||||
method = "smc";
|
||||
|
||||
CPU_PD0: cpu-pd0 {
|
||||
#power-domain-cells = <0>;
|
||||
power-domains = <&CLUSTER_PD>;
|
||||
};
|
||||
|
||||
CPU_PD1: cpu-pd1 {
|
||||
#power-domain-cells = <0>;
|
||||
power-domains = <&CLUSTER_PD>;
|
||||
};
|
||||
|
||||
CPU_PD2: cpu-pd2 {
|
||||
#power-domain-cells = <0>;
|
||||
power-domains = <&CLUSTER_PD>;
|
||||
};
|
||||
|
||||
CPU_PD3: cpu-pd3 {
|
||||
#power-domain-cells = <0>;
|
||||
power-domains = <&CLUSTER_PD>;
|
||||
};
|
||||
|
||||
CPU_PD4: cpu-pd4 {
|
||||
#power-domain-cells = <0>;
|
||||
power-domains = <&CLUSTER_PD>;
|
||||
};
|
||||
|
||||
CPU_PD5: cpu-pd5 {
|
||||
#power-domain-cells = <0>;
|
||||
power-domains = <&CLUSTER_PD>;
|
||||
};
|
||||
|
||||
CPU_PD6: cpu-pd6 {
|
||||
#power-domain-cells = <0>;
|
||||
power-domains = <&CLUSTER_PD>;
|
||||
};
|
||||
|
||||
CPU_PD7: cpu-pd7 {
|
||||
#power-domain-cells = <0>;
|
||||
power-domains = <&CLUSTER_PD>;
|
||||
};
|
||||
|
||||
CLUSTER_PD: cluster-pd {
|
||||
#power-domain-cells = <0>;
|
||||
domain-idle-states = <&CLUSTER_PWR_DN &APSS_OFF>;
|
||||
};
|
||||
};
|
||||
|
||||
intc: interrupt-controller@17100000 {
|
||||
@@ -521,6 +632,7 @@
|
||||
<WAKE_TCS 3>,
|
||||
<CONTROL_TCS 0>,
|
||||
<FAST_PATH_TCS 0>;
|
||||
power-domains = <&CLUSTER_PD>;
|
||||
|
||||
apps_bcm_voter: bcm_voter {
|
||||
compatible = "qcom,bcm-voter";
|
||||
@@ -1658,6 +1770,11 @@
|
||||
"apss";
|
||||
};
|
||||
|
||||
cluster-device {
|
||||
compatible = "qcom,lpm-cluster-dev";
|
||||
power-domains = <&CLUSTER_PD>;
|
||||
};
|
||||
|
||||
subsystem-sleep-stats@c3f0000 {
|
||||
compatible = "qcom,subsystem-sleep-stats";
|
||||
reg = <0xc3f0000 0x400>;
|
||||
|
||||
Reference in New Issue
Block a user