[4.4-rc][PATCH v2] ARM: dts: am4372: fix clock source for arm twd and global timers

Felipe Balbi balbi at ti.com
Tue Dec 8 10:03:55 PST 2015


Hi,

Grygorii Strashko <grygorii.strashko at 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 at atomide.com>
> Cc: Felipe Balbi <balbi at ti.com>
> Cc: Tero Kristo <t-kristo at ti.com>
> Fixes:commit 8cbd4c2f6a99 ("arm: boot: dts: am4372: add ARM timers and SCU nodes")
> Signed-off-by: Grygorii Strashko <grygorii.strashko at ti.com>

this seems to be the best fix for this problem, yeah.

Reviewed-by: Felipe Balbi <balbi at ti.com>

-- 
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20151208/b82a5540/attachment.sig>


More information about the linux-arm-kernel mailing list