Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/soc/qcom/qcom-stats.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Qualcomm Technologies, Inc. (QTI) Stats bindings
0008 
0009 maintainers:
0010   - Maulik Shah <mkshah@codeaurora.org>
0011 
0012 description:
0013   Always On Processor/Resource Power Manager maintains statistics of the SoC
0014   sleep modes involving powering down of the rails and oscillator clock.
0015 
0016   Statistics includes SoC sleep mode type, number of times low power mode were
0017   entered, time of last entry, time of last exit and accumulated sleep duration.
0018 
0019 properties:
0020   compatible:
0021     enum:
0022       - qcom,rpmh-stats
0023       - qcom,rpm-stats
0024       # For older RPM firmware versions with fixed offset for the sleep stats
0025       - qcom,apq8084-rpm-stats
0026       - qcom,msm8226-rpm-stats
0027       - qcom,msm8916-rpm-stats
0028       - qcom,msm8974-rpm-stats
0029 
0030   reg:
0031     maxItems: 1
0032 
0033 required:
0034   - compatible
0035   - reg
0036 
0037 additionalProperties: false
0038 
0039 examples:
0040   # Example of rpmh sleep stats
0041   - |
0042     sram@c3f0000 {
0043       compatible = "qcom,rpmh-stats";
0044       reg = <0x0c3f0000 0x400>;
0045     };
0046   # Example of rpm sleep stats
0047   - |
0048     sram@4690000 {
0049       compatible = "qcom,rpm-stats";
0050       reg = <0x04690000 0x10000>;
0051     };
0052 ...