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)
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]

Simple merge
Simple merge
Simple merge