]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00176068-1 mx6q: add smp_twd clock for localtimer
authorXinyu Chen <b03824@freescale.com>
Mon, 5 Mar 2012 08:15:20 +0000 (16:15 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:11:09 +0000 (14:11 +0200)
commit869f870ec3e113e138c4038efde2b67f1ee1e11f
tree3d4fa8e6213ed950f18e170ca84e8f3a53fc2ed2
parent5fd181644bfd0df4dc5e4c1b8ce3e0209bbc7d2e
ENGR00176068-1 mx6q: add smp_twd clock for localtimer

Add a smp_twd system clock which is simple clock
from parent of cpu_clk, and it's rate is half
of the cpu_clk.
This is used for reprograming the twd clock event
after cpu freq is changed.
Also disable local timer setup when wait mode enabled.

Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
arch/arm/mach-mx6/clock.c
arch/arm/mach-mx6/localtimer.c