]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit07e7e73fbf1c5201c10436168ea57b28325ff490
tree89af253aae0c93f791281bd2682bcb7db281361f
parent6cd51f71cdac990ecc741a98470629fc58cc8703
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]