Linux-ARM-MSM Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH v2] ARM: dts: qcom: ipq4019: fix high resolution timer
@ 2019-06-15 16:29 Christian Lamparter
  2019-06-18 14:01 ` Marc Gonzalez
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Lamparter @ 2019-06-15 16:29 UTC (permalink / raw)
  To: linux-arm-msm
  Cc: Abhishek Sahu, Andy Gross, David Brown, linux-kernel, Pavel Kubelun

From: Abhishek Sahu <absahu@codeaurora.org>


Cherry-picked from CAF QSDK repo with Change-Id
I7c00b3c74d97c2a30ac9f05e18b511a0550fd459.

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>
---

v2: fixed subject [Abhishek Sahu is bouncing]
---
 arch/arm/boot/dts/qcom-ipq4019.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi
index bbcb7db810f7..0e3e79442c50 100644
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
@@ -169,6 +169,7 @@
 			     <1 4 0xf08>,
 			     <1 1 0xf08>;
 		clock-frequency = <48000000>;
+		always-on;
 	};
 
 	soc {
-- 
2.20.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] ARM: dts: qcom: ipq4019: fix high resolution timer
  2019-06-15 16:29 [PATCH v2] ARM: dts: qcom: ipq4019: fix high resolution timer Christian Lamparter
@ 2019-06-18 14:01 ` Marc Gonzalez
  0 siblings, 0 replies; 2+ messages in thread
From: Marc Gonzalez @ 2019-06-18 14:01 UTC (permalink / raw)
  To: Christian Lamparter
  Cc: Abhishek Sahu, Andy Gross, Bjorn Andersson, Pavel Kubelun, MSM, LKML

On 15/06/2019 18:29, Christian Lamparter wrote:

> From: Abhishek Sahu <absahu@codeaurora.org>
> 
> 

Isn't there a spurious newline there?

> Cherry-picked from CAF QSDK repo with Change-Id
> I7c00b3c74d97c2a30ac9f05e18b511a0550fd459.

Do we really care about the downstream change-id?
Is this publicly available somewhere?

> Original commit message:

Not sure this introduction brings any info.

> 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>
> ---
> 
> v2: fixed subject [Abhishek Sahu is bouncing]
> ---
>  arch/arm/boot/dts/qcom-ipq4019.dtsi | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi
> index bbcb7db810f7..0e3e79442c50 100644
> --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
> +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
> @@ -169,6 +169,7 @@
>  			     <1 4 0xf08>,
>  			     <1 1 0xf08>;
>  		clock-frequency = <48000000>;
> +		always-on;
>  	};
>  
>  	soc {
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-15 16:29 [PATCH v2] ARM: dts: qcom: ipq4019: fix high resolution timer Christian Lamparter
2019-06-18 14:01 ` Marc Gonzalez

Linux-ARM-MSM Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-arm-msm/0 linux-arm-msm/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-arm-msm linux-arm-msm/ https://lore.kernel.org/linux-arm-msm \
		linux-arm-msm@vger.kernel.org linux-arm-msm@archiver.kernel.org
	public-inbox-index linux-arm-msm


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-arm-msm


AGPL code for this site: git clone https://public-inbox.org/ public-inbox