diff options
author | Xiubo Li <Li.Xiubo@freescale.com> | 2014-09-26 05:36:28 (GMT) |
---|---|---|
committer | Matthew Weigel <Matthew.Weigel@freescale.com> | 2014-12-11 18:36:40 (GMT) |
commit | 74b7f31fe4fb995171a3132d9cfa44398cbcc8bd (patch) | |
tree | e86d398f39e643b788f284e969147012ca8b9749 /Documentation | |
parent | 3c1adef68a2fa5f03ef0b6af293a770782913172 (diff) | |
download | linux-fsl-qoriq-74b7f31fe4fb995171a3132d9cfa44398cbcc8bd.tar.xz |
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>
---
This patch is pulled back from upstream:
commit 2529c3a330797000d699d70c9a65b8525c6652de
Change-Id: I9a224167f82b13b2f868af82f9bdc5dc1ebb5e48
Reviewed-on: http://git.am.freescale.net:8181/19870
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions