On 01/12/15 13:02, Simon Arlott wrote: > Add the BCM6345/BCM6318 timer as an interrupt controller so that it can be > used by the watchdog to warn that its timer will expire soon. > > Support for clocksource/clockevents is not implemented as the timer > interrupt is not per CPU (except on the BCM6318) and the MIPS clock is > better. This could be added later if required without changing the device > tree binding. > > Signed-off-by: Simon Arlott <simon@xxxxxxxxxxx> > --- > drivers/irqchip/Kconfig | 5 + > drivers/irqchip/Makefile | 1 + > drivers/irqchip/irq-bcm6345-l2-timer.c | 386 +++++++++++++++++++++++++++++++++ > 3 files changed, 392 insertions(+) > create mode 100644 drivers/irqchip/irq-bcm6345-l2-timer.c I'm not sure how useful it is to have a bunch of timers that are just turned off, but from an irqchip PoV: Acked-by: Marc Zyngier <marc.zyngier@xxxxxxx> M. -- Jazz is not dead. It just smells funny...