Loading Documentation/devicetree/bindings/arm/msm/mpm_counter.txt 0 → 100644 +18 −0 Original line number Diff line number Diff line * MSM MPM sleep counter (mpm-v2) 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. The required nodes for the MPM timetick counter driver are: - compatible: "qcom,mpm2-sleep-counter" - reg: Specifies the physical address of the timetick count register. - clock-frequency: the physical counter frequency. Example: qcom,mpm2-sleep-counter@4a3000 { compatible = "qcom,mpm2-sleep-counter"; reg = <0x4a3000 0x1000>; clock-frequency = <32768>; }; arch/arm/boot/dts/qcom/mdmfermium.dtsi +6 −0 Original line number Diff line number Diff line Loading @@ -94,6 +94,12 @@ <0x0b002000 0x1000>; }; qcom,mpm2-sleep-counter@4a3000 { compatible = "qcom,mpm2-sleep-counter"; reg = <0x4a3000 0x1000>; clock-frequency = <32768>; }; timer@b020000 { #address-cells = <1>; #size-cells = <1>; Loading Loading
Documentation/devicetree/bindings/arm/msm/mpm_counter.txt 0 → 100644 +18 −0 Original line number Diff line number Diff line * MSM MPM sleep counter (mpm-v2) 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. The required nodes for the MPM timetick counter driver are: - compatible: "qcom,mpm2-sleep-counter" - reg: Specifies the physical address of the timetick count register. - clock-frequency: the physical counter frequency. Example: qcom,mpm2-sleep-counter@4a3000 { compatible = "qcom,mpm2-sleep-counter"; reg = <0x4a3000 0x1000>; clock-frequency = <32768>; };
arch/arm/boot/dts/qcom/mdmfermium.dtsi +6 −0 Original line number Diff line number Diff line Loading @@ -94,6 +94,12 @@ <0x0b002000 0x1000>; }; qcom,mpm2-sleep-counter@4a3000 { compatible = "qcom,mpm2-sleep-counter"; reg = <0x4a3000 0x1000>; clock-frequency = <32768>; }; timer@b020000 { #address-cells = <1>; #size-cells = <1>; Loading