clocksource/drivers/lpc32xx: Add the lpc32xx timer driver
authorJoachim Eastwood <manabian@gmail.com>
Mon, 11 May 2015 22:00:48 +0000 (00:00 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 2 Jun 2015 10:10:10 +0000 (12:10 +0200)
commit050dd3222ba9fe8cadcb5146de052139ffb30b61
tree89af253aae0c93f791281bd2682bcb7db281361f
parent65ec7b2718719cef0c9e9db853a014db5a102def
clocksource/drivers/lpc32xx: Add the lpc32xx timer driver

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>
drivers/clocksource/Kconfig
drivers/clocksource/Makefile
drivers/clocksource/time-lpc32xx.c [new file with mode: 0644]