Qualcomm Technologies, Inc. (QTI) Stats
Schema identifier ($id): "http://devicetree.org/schemas/soc/qcom/qcom-stats.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Maulik Shah <quic_mkshah@quicinc.com>"
Always On Processor/Resource Power Manager maintains statistics of the SoC sleep modes involving powering down of the rails and oscillator clock. Statistics includes SoC sleep mode type, number of times low power mode were entered, time of last entry, time of last exit and accumulated sleep duration.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,rpmh-stats", "qcom,sdm845-rpmh-stats", "qcom,rpm-stats", "qcom,apq8084-rpm-stats", "qcom,msm8226-rpm-stats", "qcom,msm8916-rpm-stats", "qcom,msm8974-rpm-stats"
reg — required here #
Maximum number of items (maxItems): 1
qcom,qmp — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Reference to the AOSS side-channel message RAM
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #This rule must not match (
not)Properties and child nodes (
properties)
compatible— not listed as required hereExact value (
const):"qcom,rpmh-stats"When the condition matches (
then) #Properties and child nodes (
properties)
qcom,qmp— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
sram@c3f0000 {
compatible = "qcom,rpmh-stats";
reg = <0x0c3f0000 0x400>;
};
sram@4690000 {
compatible = "qcom,rpm-stats";
reg = <0x04690000 0x10000>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 25: For older RPM firmware versions with fixed offset for the sleep stats
Line 55: Example of rpmh sleep stats
Line 61: Example of rpm sleep stats