mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
Merge "ARM: dts: msm: Add CPUidle states and stats devices for ravelin"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
d87b2c4f07
@@ -48,6 +48,30 @@
|
||||
};
|
||||
};
|
||||
|
||||
&SILVER_CPU_OFF {
|
||||
status = "nok";
|
||||
};
|
||||
|
||||
&SILVER_CPU_RAIL_OFF {
|
||||
status = "nok";
|
||||
};
|
||||
|
||||
&GOLD_CPU_OFF {
|
||||
status = "nok";
|
||||
};
|
||||
|
||||
&GOLD_CPU_RAIL_OFF {
|
||||
status = "nok";
|
||||
};
|
||||
|
||||
&CLUSTER_OFF {
|
||||
status = "nok";
|
||||
};
|
||||
|
||||
&CX_RET {
|
||||
status = "nok";
|
||||
};
|
||||
|
||||
&disp_rsc {
|
||||
status = "nok";
|
||||
};
|
||||
|
||||
@@ -41,6 +41,9 @@
|
||||
compatible = "qcom,kryo";
|
||||
reg = <0x0 0x0>;
|
||||
enable-method = "psci";
|
||||
cpu-idle-states = <&SILVER_CPU_OFF &SILVER_CPU_RAIL_OFF>;
|
||||
power-domains = <&CPU_PD0>;
|
||||
power-domain-names = "psci";
|
||||
next-level-cache = <&L2_0>;
|
||||
L2_0: l2-cache {
|
||||
compatible = "arm,arch-cache";
|
||||
@@ -59,6 +62,9 @@
|
||||
compatible = "qcom,kryo";
|
||||
reg = <0x0 0x100>;
|
||||
enable-method = "psci";
|
||||
cpu-idle-states = <&SILVER_CPU_OFF &SILVER_CPU_RAIL_OFF>;
|
||||
power-domains = <&CPU_PD1>;
|
||||
power-domain-names = "psci";
|
||||
next-level-cache = <&L2_1>;
|
||||
L2_1: l2-cache {
|
||||
compatible = "arm,arch-cache";
|
||||
@@ -72,6 +78,9 @@
|
||||
compatible = "qcom,kryo";
|
||||
reg = <0x0 0x200>;
|
||||
enable-method = "psci";
|
||||
cpu-idle-states = <&SILVER_CPU_OFF &SILVER_CPU_RAIL_OFF>;
|
||||
power-domains = <&CPU_PD2>;
|
||||
power-domain-names = "psci";
|
||||
next-level-cache = <&L2_2>;
|
||||
L2_2: l2-cache {
|
||||
compatible = "arm,arch-cache";
|
||||
@@ -85,6 +94,9 @@
|
||||
compatible = "qcom,kryo";
|
||||
reg = <0x0 0x300>;
|
||||
enable-method = "psci";
|
||||
cpu-idle-states = <&SILVER_CPU_OFF &SILVER_CPU_RAIL_OFF>;
|
||||
power-domains = <&CPU_PD3>;
|
||||
power-domain-names = "psci";
|
||||
next-level-cache = <&L2_3>;
|
||||
L2_3: l2-cache {
|
||||
compatible = "arm,arch-cache";
|
||||
@@ -98,6 +110,9 @@
|
||||
compatible = "qcom,kryo";
|
||||
reg = <0x0 0x400>;
|
||||
enable-method = "psci";
|
||||
cpu-idle-states = <&SILVER_CPU_OFF &SILVER_CPU_RAIL_OFF>;
|
||||
power-domains = <&CPU_PD4>;
|
||||
power-domain-names = "psci";
|
||||
L2_4: l2-cache {
|
||||
compatible = "arm,arch-cache";
|
||||
cache-level = <2>;
|
||||
@@ -110,6 +125,9 @@
|
||||
compatible = "qcom,kryo";
|
||||
reg = <0x0 0x500>;
|
||||
enable-method = "psci";
|
||||
cpu-idle-states = <&SILVER_CPU_OFF &SILVER_CPU_RAIL_OFF>;
|
||||
power-domains = <&CPU_PD5>;
|
||||
power-domain-names = "psci";
|
||||
next-level-cache = <&L2_5>;
|
||||
L2_5: l2-cache {
|
||||
compatible = "arm,arch-cache";
|
||||
@@ -123,6 +141,9 @@
|
||||
compatible = "qcom,kryo";
|
||||
reg = <0x0 0x600>;
|
||||
enable-method = "psci";
|
||||
cpu-idle-states = <&GOLD_CPU_OFF &GOLD_CPU_RAIL_OFF>;
|
||||
power-domains = <&CPU_PD6>;
|
||||
power-domain-names = "psci";
|
||||
next-level-cache = <&L2_6>;
|
||||
L2_6: l2-cache {
|
||||
compatible = "arm,arch-cache";
|
||||
@@ -136,6 +157,9 @@
|
||||
compatible = "qcom,kryo";
|
||||
reg = <0x0 0x700>;
|
||||
enable-method = "psci";
|
||||
cpu-idle-states = <&GOLD_CPU_OFF &GOLD_CPU_RAIL_OFF>;
|
||||
power-domains = <&CPU_PD7>;
|
||||
power-domain-names = "psci";
|
||||
next-level-cache = <&L2_7>;
|
||||
L2_7: l2-cache {
|
||||
compatible = "arm,arch-cache";
|
||||
@@ -183,6 +207,68 @@
|
||||
};
|
||||
};
|
||||
|
||||
idle-states {
|
||||
entry-method = "psci";
|
||||
|
||||
SILVER_CPU_OFF: silver-c3 { /* C3 */
|
||||
compatible = "arm,idle-state";
|
||||
idle-state-name = "pc";
|
||||
entry-latency-us = <350>;
|
||||
exit-latency-us = <900>;
|
||||
min-residency-us = <1774>;
|
||||
arm,psci-suspend-param = <0x40000003>;
|
||||
local-timer-stop;
|
||||
};
|
||||
|
||||
SILVER_CPU_RAIL_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_CPU_OFF: gold-c3 { /* C3 */
|
||||
compatible = "arm,idle-state";
|
||||
idle-state-name = "pc";
|
||||
entry-latency-us = <400>;
|
||||
exit-latency-us = <1550>;
|
||||
min-residency-us = <2207>;
|
||||
arm,psci-suspend-param = <0x40000003>;
|
||||
local-timer-stop;
|
||||
};
|
||||
|
||||
GOLD_CPU_RAIL_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_OFF: 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>;
|
||||
};
|
||||
|
||||
CX_RET: cx-ret { /* Cx Ret */
|
||||
compatible = "domain-idle-state";
|
||||
idle-state-name = "cx-ret";
|
||||
entry-latency-us = <1561>;
|
||||
exit-latency-us = <2801>;
|
||||
min-residency-us = <8550>;
|
||||
arm,psci-suspend-param = <0x41003344>;
|
||||
};
|
||||
};
|
||||
|
||||
soc: soc { };
|
||||
|
||||
};
|
||||
@@ -286,6 +372,7 @@
|
||||
<WAKE_TCS 3>,
|
||||
<CONTROL_TCS 0>,
|
||||
<FAST_PATH_TCS 0>;
|
||||
power-domains = <&CLUSTER_PD>;
|
||||
|
||||
apps_bcm_voter: bcm_voter {
|
||||
compatible = "qcom,bcm-voter";
|
||||
@@ -319,6 +406,97 @@
|
||||
interrupt-controller;
|
||||
};
|
||||
|
||||
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_OFF &CX_RET>;
|
||||
};
|
||||
};
|
||||
|
||||
cluster-device {
|
||||
compatible = "qcom,lpm-cluster-dev";
|
||||
power-domains = <&CLUSTER_PD>;
|
||||
};
|
||||
|
||||
cpuss-sleep-stats@17800054 {
|
||||
compatible = "qcom,cpuss-sleep-stats";
|
||||
reg = <0x17800054 0x4>, <0x17810054 0x4>, <0x17820054 0x4>,
|
||||
<0x17830054 0x4>, <0x17840054 0x4>, <0x17850054 0x4>,
|
||||
<0x17860054 0x4>, <0x17870054 0x4>, <0x17880098 0x4>,
|
||||
<0x178C0000 0x10000>;
|
||||
reg-names = "seq_lpm_cntr_cfg_cpu0", "seq_lpm_cntr_cfg_cpu1",
|
||||
"seq_lpm_cntr_cfg_cpu2", "seq_lpm_cntr_cfg_cpu3",
|
||||
"seq_lpm_cntr_cfg_cpu4", "seq_lpm_cntr_cfg_cpu5",
|
||||
"seq_lpm_cntr_cfg_cpu6", "seq_lpm_cntr_cfg_cpu7",
|
||||
"l3_seq_lpm_cntr_cfg", "apss_seq_mem_base";
|
||||
num-cpus = <8>;
|
||||
};
|
||||
|
||||
rpmh-sleep-stats@c3f0000 {
|
||||
compatible = "qcom,rpmh-sleep-stats";
|
||||
reg = <0xc3f0000 0x400>;
|
||||
ss-name = "modem", "adsp", "adsp_island",
|
||||
"apss", "wpss";
|
||||
mboxes = <&qmp_aop 0>;
|
||||
ddr-freq-update;
|
||||
};
|
||||
|
||||
subsystem-sleep-stats@c3f0000 {
|
||||
compatible = "qcom,subsystem-sleep-stats";
|
||||
reg = <0xc3f0000 0x400>;
|
||||
ddr-freq-update;
|
||||
};
|
||||
|
||||
sys-pm-vx@c320000 {
|
||||
compatible = "qcom,sys-pm-violators", "qcom,sys-pm-ravelin";
|
||||
reg = <0xc320000 0x0400>;
|
||||
mboxes = <&qmp_aop 0>;
|
||||
mbox-names = "aop";
|
||||
};
|
||||
|
||||
memtimer: timer@17420000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
Reference in New Issue
Block a user