Merge "ARM: dts: msm: Add qcom_cpuss_sleep_stats_v4 device for sun"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
aeb391b14e
@@ -7,19 +7,21 @@ $schema: "http://devicetree.org/meta-schemas/core.yaml#"
|
|||||||
title: Qualcomm Technologies, Inc. cpuss sleep stats
|
title: Qualcomm Technologies, Inc. cpuss sleep stats
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Maulik Shah <quic_mkshah@quicinc.com>
|
- Maulik Shah <quic_mkshah@quicinc.com>
|
||||||
|
- Minghao Zhang <quic_minghao@quicinc.com>
|
||||||
|
|
||||||
description:
|
description:
|
||||||
The low power mode counts and residency in the low power mode is maintained in
|
The low power mode counts and residency in the low power mode is maintained in
|
||||||
the hardware. The cpu sleep stats allows to read this configuration and display
|
the hardware. The cpu sleep stats allows to read this configuration and display
|
||||||
the same.
|
the same.
|
||||||
This driver creates debugfs entry for all enabled lpm and provide LPM count and
|
This driver creates debugfs entry for all enabled lpm and provide LPM count and
|
||||||
Residency.
|
residency.
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
enum:
|
enum:
|
||||||
- qcom,cpuss-sleep-stats
|
- qcom,cpuss-sleep-stats
|
||||||
|
- qcom,cpuss-sleep-stats-v4
|
||||||
|
|
||||||
reg:
|
reg:
|
||||||
maxItems: 10
|
maxItems: 10
|
||||||
@@ -37,6 +39,7 @@ properties:
|
|||||||
- const: seq_lpm_cntr_cfg_cpu7
|
- const: seq_lpm_cntr_cfg_cpu7
|
||||||
- const: l3_seq_lpm_cntr_cfg
|
- const: l3_seq_lpm_cntr_cfg
|
||||||
- const: apss_seq_mem_base
|
- const: apss_seq_mem_base
|
||||||
|
- const: base
|
||||||
|
|
||||||
num-cpus:
|
num-cpus:
|
||||||
const: 8
|
const: 8
|
||||||
@@ -46,7 +49,16 @@ required:
|
|||||||
- compatible
|
- compatible
|
||||||
- reg
|
- reg
|
||||||
- reg-names
|
- reg-names
|
||||||
- num-cpus
|
|
||||||
|
if:
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
contains:
|
||||||
|
enum:
|
||||||
|
- qcom,cpuss-sleep-stats
|
||||||
|
then:
|
||||||
|
required:
|
||||||
|
- num-cpus
|
||||||
|
|
||||||
allOf:
|
allOf:
|
||||||
- if:
|
- if:
|
||||||
@@ -84,3 +96,10 @@ examples:
|
|||||||
"l3_seq_lpm_cntr_cfg", "apss_seq_mem_base";
|
"l3_seq_lpm_cntr_cfg", "apss_seq_mem_base";
|
||||||
num-cpus = <8>;
|
num-cpus = <8>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
- |
|
||||||
|
cpuss-sleep-stats@17850000 {
|
||||||
|
compatible = "qcom,cpuss-sleep-stats-v4";
|
||||||
|
reg = <0x17850000 0x4000>;
|
||||||
|
reg-names = "base";
|
||||||
|
};
|
||||||
|
@@ -1667,6 +1667,12 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cpuss-sleep-stats@17850000 {
|
||||||
|
compatible = "qcom,cpuss-sleep-stats-v4";
|
||||||
|
reg = <0x17850000 0x4000>;
|
||||||
|
reg-names = "base";
|
||||||
|
};
|
||||||
|
|
||||||
ram@c3f0000 {
|
ram@c3f0000 {
|
||||||
compatible = "qcom,rpmh-stats-v4";
|
compatible = "qcom,rpmh-stats-v4";
|
||||||
reg = <0x0c3f0000 0x400>;
|
reg = <0x0c3f0000 0x400>;
|
||||||
|
Reference in New Issue
Block a user