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 <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Reviewed-by: Ezequiel Garcia <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>