From: Stephen Boyd Date: Tue, 8 Nov 2011 18:34:05 +0000 (-0800) Subject: msm: timer: Use GPT for clockevents and DGT for clocksource X-Git-Tag: v3.3-rc1~136^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd15ab814149df65187943c32ca09e4eeaac0047;p=pandora-kernel.git msm: timer: Use GPT for clockevents and DGT for clocksource The clocksource shouldn't stop ticking when the clockevent stops. This is exactly what happens today with MSM timers. The same hardware is used for both the clockevent and the clocksource because the ratings of the two are the same. Fix this by registering a clockevent based on the GPT and a clocksource based on the DGT. This removes any other possible configuration (e.g. a GPT clocksource and a DGT clockevent) but that shouldn't be a big issue since we want higher precision timing than high precision scheduling interrupts. Signed-off-by: Stephen Boyd Cc: Thomas Gleixner Cc: Marc Zyngier Signed-off-by: David Brown --- Reading git-diff-tree failed