b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | From 8acc36189dcaf4487d8c6ba7445948f39b1d248a Mon Sep 17 00:00:00 2001 |
| 2 | From: Abhishek Sahu <absahu@codeaurora.org> |
| 3 | Date: Fri, 3 Apr 2020 13:40:40 +0200 |
| 4 | Subject: [PATCH] ARM: dts: qcom: ipq4019: fix high resolution timer |
| 5 | |
| 6 | Cherry-picked from CAF QSDK repo. |
| 7 | Original commit message: |
| 8 | The kernel is failing in switching the timer for high resolution |
| 9 | mode and clock source operates in 10ms resolution. The always-on |
| 10 | property needs to be given for timer device tree node to make |
| 11 | clock source working in 1ns resolution. |
| 12 | |
| 13 | Signed-off-by: Abhishek Sahu <absahu@codeaurora.org> |
| 14 | Signed-off-by: Pavel Kubelun <be.dissent@gmail.com> |
| 15 | Signed-off-by: Christian Lamparter <chunkeey@gmail.com> |
| 16 | Tested-by: Robert Marko <robert.marko@sartura.hr> |
| 17 | Cc: Luka Perkov <luka.perkov@sartura.hr> |
| 18 | Link: https://lore.kernel.org/r/20200403114040.349787-1-robert.marko@sartura.hr |
| 19 | Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> |
| 20 | --- |
| 21 | arch/arm/boot/dts/qcom-ipq4019.dtsi | 1 + |
| 22 | 1 file changed, 1 insertion(+) |
| 23 | |
| 24 | --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi |
| 25 | +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi |
| 26 | @@ -167,6 +167,7 @@ |
| 27 | <1 4 0xf08>, |
| 28 | <1 1 0xf08>; |
| 29 | clock-frequency = <48000000>; |
| 30 | + always-on; |
| 31 | }; |
| 32 | |
| 33 | soc { |