ARM: dts: qcom: ipq4019: fix high resolution timer
authorAbhishek Sahu <absahu@codeaurora.org>
Fri, 3 Apr 2020 11:40:40 +0000 (13:40 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 14 Apr 2020 05:03:09 +0000 (22:03 -0700)
Cherry-picked from CAF QSDK repo.
Original commit message:
The kernel is failing in switching the timer for high resolution
mode and clock source operates in 10ms resolution. The always-on
property needs to be given for timer device tree node to make
clock source working in 1ns resolution.

Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Tested-by: Robert Marko <robert.marko@sartura.hr>
Cc: Luka Perkov <luka.perkov@sartura.hr>
Link: https://lore.kernel.org/r/20200403114040.349787-1-robert.marko@sartura.hr
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm/boot/dts/qcom-ipq4019.dtsi

index bfa9ce4c6e69d8951e84e9fae1ce7b1cf61fea9e..c6956015dedce5157544a6567c3065966df9655b 100644 (file)
                             <1 4 0xf08>,
                             <1 1 0xf08>;
                clock-frequency = <48000000>;
+               always-on;
        };
 
        soc {