Merge "ARM: dts: msm: Add devicetree bindings for bootstat driver"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
30a945eb67
40
bindings/arm/msm/mpm_counter.yaml
Normal file
40
bindings/arm/msm/mpm_counter.yaml
Normal file
@@ -0,0 +1,40 @@
|
||||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: http://devicetree.org/schemas/arm/msm/mpm_counter.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: MSM MPM sleep counter (mpm-v2)
|
||||
|
||||
maintainers:
|
||||
- Prakruthi Deepak Heragu <quic_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
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
qcom,mpm2-sleep-counter@4a3000 {
|
||||
compatible = "qcom,mpm2-sleep-counter";
|
||||
reg = <0x4a3000 0x1000>;
|
||||
clock-frequency = <32768>;
|
||||
};
|
||||
|
Reference in New Issue
Block a user