summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/time-lpc32xx.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* clocksource/drivers/lpc32xx: Add the lpc32xx timer driverJoachim Eastwood2015-06-021-0/+272
Add support for using the NXP LPC timer as clocksource and clock event. These timers are present on many NXP devices including LPC32xx, LPC17xx, LPC18xx and LPC43xx. The timer has a 32-bit timer counter register with a programmable 32-bit prescaler. It supports up to 4 compare match values with interrupt generation and reset/stop timer counter action. Signed-off-by: Joachim Eastwood <manabian@gmail.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Reviewed-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Acked-by: Arnd Bergmann <arnd@arndb.de>