Channagoud Kadabi | 0fb6cf6 | 2016-08-23 15:12:52 -0700 | [diff] [blame] | 1 | * MSM MPM sleep counter (mpm-v2) |
| 2 | |
| 3 | The MPM provides a timetick that starts when the device is powered up and |
| 4 | is not reset by any of the boot loaders or the HLOS. The MPM timetick counter |
| 5 | driver provides an api to get this value. |
| 6 | |
| 7 | The required nodes for the MPM timetick counter driver are: |
| 8 | |
| 9 | - compatible: "qcom,mpm2-sleep-counter" |
| 10 | - reg: Specifies the physical address of the timetick count register. |
| 11 | - clock-frequency: the physical counter frequency. |
| 12 | |
| 13 | Example: |
| 14 | qcom,mpm2-sleep-counter@4a3000 { |
| 15 | compatible = "qcom,mpm2-sleep-counter"; |
| 16 | reg = <0x4a3000 0x1000>; |
| 17 | clock-frequency = <32768>; |
| 18 | }; |