mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
dt-bindings: Add dt-binding for mpm counter
Add dt-bindings for mpm counter. Change-Id: If8706a3ccc17f1d3d0e79c78bab43f8e5bd0b3b8
This commit is contained in:
parent
6ee21cefc7
commit
64484f7029
1 changed files with 37 additions and 0 deletions
37
bindings/arm/msm/mpm_counter.yaml
Normal file
37
bindings/arm/msm/mpm_counter.yaml
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
%YAML 1.2
|
||||
---
|
||||
$id: http://devicetree.org/schemas/bindings/arm/msm/mpm_counter.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: MSM MPM sleep counter (mpm-v2)
|
||||
|
||||
maintainers:
|
||||
- Prakruthi Deepak Heragu <pheragu@codeaurora.org>
|
||||
|
||||
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>;
|
||||
};
|
||||
|
||||
Loading…
Reference in a new issue