From bb99201e08ad9acd8f39f0e389b4b63622993973 Mon Sep 17 00:00:00 2001 From: Minghao Zhang Date: Mon, 27 May 2024 12:30:56 +0530 Subject: [PATCH] dt-bindings: Add new compatible v2, v3 for cpuss sleep stats Add new compatible qcom,cpuss-sleep-stats-v2 and qcom,cpuss-sleep-stats-v3. Change-Id: I3efb27195f81efc0b46d653cd9b0253eb495ff29 Signed-off-by: Minghao Zhang --- bindings/soc/qcom/cpuss-sleep-stats.yaml | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/bindings/soc/qcom/cpuss-sleep-stats.yaml b/bindings/soc/qcom/cpuss-sleep-stats.yaml index 46b007d3..5d592662 100644 --- a/bindings/soc/qcom/cpuss-sleep-stats.yaml +++ b/bindings/soc/qcom/cpuss-sleep-stats.yaml @@ -21,6 +21,8 @@ properties: compatible: enum: - qcom,cpuss-sleep-stats + - qcom,cpuss-sleep-stats-v2 + - qcom,cpuss-sleep-stats-v3 - qcom,cpuss-sleep-stats-v4 reg: @@ -97,6 +99,30 @@ examples: num-cpus = <8>; }; + - | + cpuss-sleep-stats@18000054 { + compatible = "qcom,cpuss-sleep-stats-v2"; + reg = <0x17800054 0x4>, <0x17810054 0x4>, <0x17820054 0x4>, + <0x17830054 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", + "l3_seq_lpm_cntr_cfg", "apss_seq_mem_base"; + num-cpus = <4>; + }; + + - | + cpuss-sleep-stats@17800054 { + compatible = "qcom,cpuss-sleep-stats-v3"; + reg = <0x17800054 0x4>, <0x17810054 0x4>, <0x17820054 0x4>, + <0x17830054 0x4>, <0x17840054 0x4>, <0x17850054 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", + "l3_seq_lpm_cntr_cfg", "apss_seq_mem_base"; + num-cpus = <6>; + }; + - | cpuss-sleep-stats@17850000 { compatible = "qcom,cpuss-sleep-stats-v4";