mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Kumar, Udit" <u-kumar1@ti.com>
To: Anurag Dutta <a-dutta@ti.com>, <aaro.koskinen@iki.fi>,
	<andreas@kemnade.info>, <khilman@baylibre.com>,
	<rogerq@kernel.org>, <tony@atomide.com>
Cc: <linux-omap@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<vigneshr@ti.com>, <u-kumar1@ti.com>
Subject: Re: [PATCH 2/2] arm: dts: Use DMTimer as Clocksource instead of counter_32k
Date: Fri, 29 Aug 2025 19:55:36 +0530	[thread overview]
Message-ID: <bea3ce38-b78a-4ed2-a128-3f6643308adb@ti.com> (raw)
In-Reply-To: <20250829092947.855974-3-a-dutta@ti.com>


On 8/29/2025 2:59 PM, Anurag Dutta wrote:
> From: Sinthu Raja <sinthu.raja@ti.com>

Please check subject of patch


> Clock drift of approximately 500 ppm is observed with 'counter_32k'
> as clocksource. Clock drift is seen because 'counter_32k' is running
> with 32786Hz frequency instead it should run with 32768Hz. Use DMTimer as
> clocksource, which is running at 32768Hz to fix the clock drift issue.
>
> Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
> Signed-off-by: Anurag Dutta <a-dutta@ti.com>
> ---
>   arch/arm/boot/dts/ti/omap/am57xx-beagle-x15.dts | 9 +++++++++
>   arch/arm/boot/dts/ti/omap/dra7-l4.dtsi          | 2 +-
>   2 files changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/ti/omap/am57xx-beagle-x15.dts b/arch/arm/boot/dts/ti/omap/am57xx-beagle-x15.dts
> index 0a8b16505ed9..83009883277e 100644
> --- a/arch/arm/boot/dts/ti/omap/am57xx-beagle-x15.dts
> +++ b/arch/arm/boot/dts/ti/omap/am57xx-beagle-x15.dts
> @@ -36,3 +36,12 @@ &mmc2 {
>   &phy1 {
>   	max-speed = <100>;
>   };
> +
> +&timer12_target {
> +	ti,no-reset-on-init;
> +	ti,no-idle;
> +};
> +
> +&counter32k {
> +	status = "disabled";
> +};
> diff --git a/arch/arm/boot/dts/ti/omap/dra7-l4.dtsi b/arch/arm/boot/dts/ti/omap/dra7-l4.dtsi
> index ba7fdaae9c6e..a6ac4fd43b54 100644
> --- a/arch/arm/boot/dts/ti/omap/dra7-l4.dtsi
> +++ b/arch/arm/boot/dts/ti/omap/dra7-l4.dtsi
> @@ -4439,7 +4439,7 @@ segment@20000 {					/* 0x4ae20000 */
>   			 <0x0000c000 0x0002c000 0x001000>,	/* ap 29 */
>   			 <0x0000f000 0x0002f000 0x001000>;	/* ap 32 */
>   
> -		target-module@0 {			/* 0x4ae20000, ap 19 08.0 */
> +		timer12_target: target-module@0 {			/* 0x4ae20000, ap 19 08.0 */


you can reduce tab between { and comments


>   			compatible = "ti,sysc-omap4-timer", "ti,sysc";
>   			reg = <0x0 0x4>,
>   			      <0x10 0x4>;

      reply	other threads:[~2025-08-29 14:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-29  9:29 [PATCH 0/2] AM57 timer fixes Anurag Dutta
2025-08-29  9:29 ` [PATCH 1/2] bus: ti-sysc: Add DRA7 SoC matching Anurag Dutta
2025-08-29 14:22   ` Kumar, Udit
2025-08-29  9:29 ` [PATCH 2/2] arm: dts: Use DMTimer as Clocksource instead of counter_32k Anurag Dutta
2025-08-29 14:25   ` Kumar, Udit [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bea3ce38-b78a-4ed2-a128-3f6643308adb@ti.com \
    --to=u-kumar1@ti.com \
    --cc=a-dutta@ti.com \
    --cc=aaro.koskinen@iki.fi \
    --cc=andreas@kemnade.info \
    --cc=khilman@baylibre.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=rogerq@kernel.org \
    --cc=tony@atomide.com \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®