[PATCH V2 4/4] ARM: OMAP2+: AM43x: Use gptimer as clocksource
From: tony@atomide.com (Tony Lindgren)
Date: 2014-02-28 23:34:02
Also in:
linux-omap
From: tony@atomide.com (Tony Lindgren)
Date: 2014-02-28 23:34:02
Also in:
linux-omap
* Lokesh Vutla [off-list ref] [140224 05:08]:
Hi Tony, On Friday 14 February 2014 02:16 PM, Rajendra Nayak wrote:quoted
On Friday 14 February 2014 04:49 AM, Tony Lindgren wrote:quoted
* Lokesh Vutla [off-list ref] [140207 02:24]:quoted
From: Rajendra Nayak <redacted> The SyncTimer in AM43x is clocked using the following two sources: 1) An inaccuarte 32k clock (CLK_32KHZ) derived from PER DPLL, causing system time to go slowly (~10% deviation). 2) external 32KHz RTC clock, which may not always be available on board like in the case of ePOS EVM Use gptimer as clocksource instead, as is done in the case of AM335x (which does not have a SyncTimer). With this, system time keeping works accurately.Hmm doesn't this also mean that PM for any deeper idle states won't work properly?Thats true. This would mean we cannot put the peripheral/core domain down in idle. Suspend however can still work if suspend/resume callbacks are added to the clockevent and clocksource code to shut the non-wakeup domain timer.This is a platform level limitation that only MPU domain can be put down in idle, just like AM335x.
OK applying all four into omap-for-v3.15/soc thanks. Tony