%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 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: Definition: Should be "qcom,subsystem-sleep-stats". reg: maxItems: 1 ddr-freq-update: Usage: optional Value type: 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>; };