summaryrefslogtreecommitdiff
path: root/drivers/clocksource/sh_cmt.c
diff options
context:
space:
mode:
authorXiubo Li <Li.Xiubo@freescale.com>2014-05-23 10:12:04 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2014-05-23 10:12:04 +0200
commit2529c3a330797000d699d70c9a65b8525c6652de (patch)
tree262217477e6775a2321ef29558604669afa88638 /drivers/clocksource/sh_cmt.c
parent07513e1330a90253c564e2b9258f9cd12e1eb7ba (diff)
downloadlinux-next-2529c3a330797000d699d70c9a65b8525c6652de.tar.gz
clocksource: Add Freescale FlexTimer Module (FTM) timer support
The Freescale FlexTimer Module time reference is a 16-bit counter that can be used as an unsigned or signed increase counter. CNTIN defines the starting value of the count and MOD defines the final value of the count. The value of CNTIN is loaded into the FTM counter, and the counter increments until the value of MOD is reached, at which point the counter is reloaded with the value of CNTIN. That's also when an overflow interrupt will be generated. Here using the 'evt' prefix or postfix as clock event device and the 'src' as clock source device. Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com> Cc: Shawn Guo <shawn.guo@linaro.org> Cc: Jingchang Lu <b35083@freescale.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource/sh_cmt.c')
0 files changed, 0 insertions, 0 deletions