dt-bindings: Update dt-binding for cpuss sleep stats v4

This change updates dt-bindings for qcom_cpuss_sleep_stats_v4 driver
that lpm count and residency can be read.

Change-Id: Ia5dc8fc905610a61561dfba0e8235a4d9dddcf9c
Signed-off-by: Minghao Zhang <quic_minghao@quicinc.com>
This commit is contained in:
Minghao Zhang
2024-03-29 15:07:07 +08:00
parent 7815414198
commit 5c5fb0afd7

View File

@@ -8,18 +8,20 @@ title: Qualcomm Technologies, Inc. cpuss sleep stats
maintainers:
- Maulik Shah <quic_mkshah@quicinc.com>
- Minghao Zhang <quic_minghao@quicinc.com>
description:
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 same.
This driver creates debugfs entry for all enabled lpm and provide LPM count and
Residency.
residency.
properties:
compatible:
enum:
- qcom,cpuss-sleep-stats
- qcom,cpuss-sleep-stats-v4
reg:
maxItems: 10
@@ -37,6 +39,7 @@ properties:
- const: seq_lpm_cntr_cfg_cpu7
- const: l3_seq_lpm_cntr_cfg
- const: apss_seq_mem_base
- const: base
num-cpus:
const: 8
@@ -46,6 +49,15 @@ required:
- compatible
- reg
- reg-names
if:
properties:
compatible:
contains:
enum:
- qcom,cpuss-sleep-stats
then:
required:
- num-cpus
allOf:
@@ -84,3 +96,10 @@ examples:
"l3_seq_lpm_cntr_cfg", "apss_seq_mem_base";
num-cpus = <8>;
};
- |
cpuss-sleep-stats@17850000 {
compatible = "qcom,cpuss-sleep-stats-v4";
reg = <0x17850000 0x4000>;
reg-names = "base";
};