From: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: [4.4-rc][PATCH v2] ARM: dts: am4372: fix clock source for arm twd and global timers
Date: Wed, 9 Dec 2015 16:47:02 -0800 [thread overview]
Message-ID: <20151210004702.GD23396@atomide.com> (raw)
In-Reply-To: <87wpsolsvo.fsf@saruman.tx.rr.com>
* Felipe Balbi <balbi@ti.com> [151208 10:05]:
>
> Hi,
>
> Grygorii Strashko <grygorii.strashko@ti.com> writes:
> > ARM TWD and Global timer are clocked by PERIPHCLK which is MPU_CLK/2.
> > But now they are clocked by dpll_mpu_m2_ck == MPU_CLK and, as result.
> > Timekeeping core misbehaves. For example, execution of command
> > "sleep 5" will take 10 sec instead of 5.
> >
> > Hence, fix it by adding mpu_periphclk ("fixed-factor-clock") and use
> > it for clocking ARM TWD and Global timer (same way as on OMAP4).
> >
> > Cc: Tony Lindgren <tony@atomide.com>
> > Cc: Felipe Balbi <balbi@ti.com>
> > Cc: Tero Kristo <t-kristo@ti.com>
> > Fixes:commit 8cbd4c2f6a99 ("arm: boot: dts: am4372: add ARM timers and SCU nodes")
> > Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
>
> this seems to be the best fix for this problem, yeah.
>
> Reviewed-by: Felipe Balbi <balbi@ti.com>
OK applying into omap-for-v4.4/fixes thanks.
Tony
prev parent reply other threads:[~2015-12-10 0:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-30 15:56 [4.4-rc][PATCH v2] ARM: dts: am4372: fix clock source for arm twd and global timers Grygorii Strashko
2015-12-03 16:35 ` Tony Lindgren
2015-12-03 18:04 ` Grygorii Strashko
2015-12-08 17:41 ` Grygorii Strashko
2015-12-08 18:03 ` Felipe Balbi
2015-12-10 0:47 ` Tony Lindgren [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=20151210004702.GD23396@atomide.com \
--to=tony@atomide.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).