Rtwo/kernel/motorola/sm8550-devicetrees/bindings/arm/msm/mpm_counter.yaml
2025-09-30 19:22:48 -05:00

36 lines
812 B
YAML

%YAML 1.2
---
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: MSM MPM sleep counter (mpm-v2)
maintainers:
- Prakruthi Deepak Heragu <pheragu@quicinc.com>
description: |
The MPM provides a timetick that starts when the device is powered up and
is not reset by any of the boot loaders or the HLOS. The MPM timetick counter
driver provides an api to get this value.
properties:
compatible:
const: qcom,mpm2-sleep-counter
reg:
description: Specifies the physical address of the timetick count register.
clock-frequency:
description: the physical counter frequency.
required:
- compatible
- reg
example:
- |
qcom,mpm2-sleep-counter@4a3000 {
compatible = "qcom,mpm2-sleep-counter";
reg = <0x4a3000 0x1000>;
clock-frequency = <32768>;
};