18cc087a1SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 28cc087a1SEmmanuel Vadot%YAML 1.2 38cc087a1SEmmanuel Vadot--- 48cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/soc/qcom/qcom-stats.yaml# 58cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 68cc087a1SEmmanuel Vadot 78cc087a1SEmmanuel Vadottitle: Qualcomm Technologies, Inc. (QTI) Stats bindings 88cc087a1SEmmanuel Vadot 98cc087a1SEmmanuel Vadotmaintainers: 108cc087a1SEmmanuel Vadot - Maulik Shah <mkshah@codeaurora.org> 118cc087a1SEmmanuel Vadot 128cc087a1SEmmanuel Vadotdescription: 138cc087a1SEmmanuel Vadot Always On Processor/Resource Power Manager maintains statistics of the SoC 148cc087a1SEmmanuel Vadot sleep modes involving powering down of the rails and oscillator clock. 158cc087a1SEmmanuel Vadot 168cc087a1SEmmanuel Vadot Statistics includes SoC sleep mode type, number of times low power mode were 178cc087a1SEmmanuel Vadot entered, time of last entry, time of last exit and accumulated sleep duration. 188cc087a1SEmmanuel Vadot 198cc087a1SEmmanuel Vadotproperties: 208cc087a1SEmmanuel Vadot compatible: 218cc087a1SEmmanuel Vadot enum: 228cc087a1SEmmanuel Vadot - qcom,rpmh-stats 238cc087a1SEmmanuel Vadot - qcom,rpm-stats 24*e67e8565SEmmanuel Vadot # For older RPM firmware versions with fixed offset for the sleep stats 25*e67e8565SEmmanuel Vadot - qcom,apq8084-rpm-stats 26*e67e8565SEmmanuel Vadot - qcom,msm8226-rpm-stats 27*e67e8565SEmmanuel Vadot - qcom,msm8916-rpm-stats 28*e67e8565SEmmanuel Vadot - qcom,msm8974-rpm-stats 298cc087a1SEmmanuel Vadot 308cc087a1SEmmanuel Vadot reg: 318cc087a1SEmmanuel Vadot maxItems: 1 328cc087a1SEmmanuel Vadot 338cc087a1SEmmanuel Vadotrequired: 348cc087a1SEmmanuel Vadot - compatible 358cc087a1SEmmanuel Vadot - reg 368cc087a1SEmmanuel Vadot 378cc087a1SEmmanuel VadotadditionalProperties: false 388cc087a1SEmmanuel Vadot 398cc087a1SEmmanuel Vadotexamples: 408cc087a1SEmmanuel Vadot # Example of rpmh sleep stats 418cc087a1SEmmanuel Vadot - | 428cc087a1SEmmanuel Vadot sram@c3f0000 { 438cc087a1SEmmanuel Vadot compatible = "qcom,rpmh-stats"; 448cc087a1SEmmanuel Vadot reg = <0x0c3f0000 0x400>; 458cc087a1SEmmanuel Vadot }; 468cc087a1SEmmanuel Vadot # Example of rpm sleep stats 478cc087a1SEmmanuel Vadot - | 488cc087a1SEmmanuel Vadot sram@4690000 { 498cc087a1SEmmanuel Vadot compatible = "qcom,rpm-stats"; 508cc087a1SEmmanuel Vadot reg = <0x04690000 0x10000>; 518cc087a1SEmmanuel Vadot }; 528cc087a1SEmmanuel Vadot... 53