]> 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)
commit885e0249f521c2d80ef84268ae19ed4297558da6
tree89af253aae0c93f791281bd2682bcb7db281361f
parent1ada1c347da42a96482bf0275c1e49db84ff376f
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]