Rtwo/kernel/motorola/sm8550-devicetrees/bindings/soc/qcom/subsystem-sleep-stats.yaml
2025-09-30 19:22:48 -05:00

50 lines
1.3 KiB
YAML

%YAML 1.2
---
$id: http://devicetree.org/schemas/bindings/arm/msm/subsystem-sleep-stats.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: The document describes the device tree binding for subsystem-sleep-stats
maintainers:
- Tushar Nimkar <tnimkar@qti.qualcomm.com>
description: |+
Differet Subsystems maintains stats data in SMEM.
It tells about the individual subsystem information at any given
time like system sleep counts, system sleep last entered at
and accumulated duration etc. This drive provide a IOCTL way
to read those stats from respective SMEMs.
The required properties for subsystem stats driver is:
properties:
compatible:
Usage: required
Value type: <string>
Definition: Should be "qcom,subsystem-sleep-stats".
reg:
maxItems: 1
ddr-freq-update:
Usage: optional
Value type: <boolean>
Definition: Boolean property to support to get ddr freq distribution.
example:
- |
subsystem-sleep-stats {
compatible = "qcom,subsystem-sleep-stats";
reg = <0xc3f0000 0 0x400>;
};
- |
subsystem-sleep-stats {
compatible = "qcom,subsystem-sleep-stats";
reg = <0xc3f0000 0 0x400>;
ddr-freq-update;
};
- |
subsystem-sleep-stats@4690000 {
compatible = "qcom,subsystem-sleep-stats-v2";
reg = <0x4690000 0x400>;
};