Re: [PATCH 1/2] plat-omap: dmtimer: Add support for interrupts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Andrei Varvara <andrei.varvara@xxxxxxxx> [160323 09:42]:
> Added the posibility to have interrupts from any timer.
> A client module can register a callback for each timer using the
> new API function omap_dm_timer_set_isr_callback.

A feature needed for sure.. But let's implement it using a Linux
generic framework instead, in this case request_irq().

You can add minimal irqchip support to dmtimer. Then you can specify
interrupts = <&timer2> in the board specific .dts file for the
consumer driver. And then we can just do request_irq() in the
consumer driver to get the timer events!

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux