1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/soc/qcom/qcom-stats.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Qualcomm Technologies, Inc. (QTI) Stats bindings 8 9maintainers: 10 - Maulik Shah <mkshah@codeaurora.org> 11 12description: 13 Always On Processor/Resource Power Manager maintains statistics of the SoC 14 sleep modes involving powering down of the rails and oscillator clock. 15 16 Statistics includes SoC sleep mode type, number of times low power mode were 17 entered, time of last entry, time of last exit and accumulated sleep duration. 18 19properties: 20 compatible: 21 enum: 22 - qcom,rpmh-stats 23 - qcom,rpm-stats 24 25 reg: 26 maxItems: 1 27 28required: 29 - compatible 30 - reg 31 32additionalProperties: false 33 34examples: 35 # Example of rpmh sleep stats 36 - | 37 sram@c3f0000 { 38 compatible = "qcom,rpmh-stats"; 39 reg = <0x0c3f0000 0x400>; 40 }; 41 # Example of rpm sleep stats 42 - | 43 sram@4690000 { 44 compatible = "qcom,rpm-stats"; 45 reg = <0x04690000 0x10000>; 46 }; 47... 48