On Sun, 31 Aug 2014, Oleksij Rempel wrote: > - 1 timer can be used for clocksource other as clock_event_device, how > can i use other 2 timers on same controller. and how can i use other 3 > controllers?
All you need is two. One for the clocksource (free running counter): 100MHz is fine, it gives the timekeeping code nice granularity. There is no need for a wrap around interrupt. The core code knows how to deal with it. The second one is for the clock event device Avoid a match timer if possible, it's a pain in the neck. Either a autoreloading timer for the periodic mode or a simple downcounting one for one shot mode is good enough. The other timers are not of any value for Linux. Just leave them alone. Thanks, tglx -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/