commit | 4e472096fa4ef751e7ea90e304d971843a1e350d | [log] [tgz] |
---|---|---|
author | Shawn Guo <shawn.guo@freescale.com> | Sat Dec 18 21:39:30 2010 +0800 |
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | Mon Dec 20 17:29:50 2010 +0100 |
tree | d40ae1af5e38803f942f99216d0991d0a25ca999 | |
parent | 41fa75bc09d31c47d6606233b60f595524c28cd4 [diff] |
ARM: mxs: Add timer support There are 2 versions of the timrot on Freescale MXS-based SoCs. The v1 on MX23 only gets 16 bits counter, while v2 on MX28 extends the counter to 32 bits. The implementation uses two timers, one for clock_event and another for clocksource. MX28 uses timrot 0 and 1, while MX23 uses 0 and 2. Signed-off-by: Shawn Guo <shawn.guo@freescale.com> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>