On Wed, Feb 23, 2011 at 06:08, Jonathan Cameron wrote: > On 02/22/11 22:35, Mike Frysinger wrote: >> On Tue, Feb 22, 2011 at 10:03, Jonathan Cameron wrote: >>> On 02/16/11 13:42, michael.hennerich@xxxxxxxxxx wrote: >>>> This driver allows any Blackfin system timer to be used as IIO trigger. >>>> It supports trigger rates from 0 to 100kHz in Hz resolution. >>> >>> The reason we ended up with a rtc based trigger in the first place, was that >>> I had a very similar set of timers on the pxa271 that I mainly develop with. >>> >>> At the time some debate opened up on whether there was a use case here for >>> a more general way of providing access to system periodic timers for exactly >>> this sort of device. ÂThe view seemed to be that there was, but I certainly didn't >>> have time to do it at the time and no one else seems to have looked at it since. >>> My dirty solution was an rtc driver that just added a lot of rtcs. It was never >>> going to merge though... >>> >>> Right now I can only track down a previous email from myself saying this has >>> been discussed a number of times, but naturally with no references at all. Oops. >>> >>> Anyhow, such a general subsystem for cpu timers doesn't exist AFAIK so for now >>> lets just go with your approach. Perhaps if we find other possible users we can >>> talk again about how best to support these. >> >> does this offer functionality that is not available in the new PWM framework ? >> http://thread.gmane.org/gmane.linux.kernel.embedded/3400 > > It's certainly conceivable that we could treat these as some sort of 'virtual' pwm, > possibly with rather more limited controls than you usual get. sorry, i was thinking the gptimers were being exposed via IIO for different purposes. this driver is OK independent of the PWM framework. i imagine in the future when the PWM framework is merged, it might obsolete this driver, but that can wait. Acked-by: Mike Frysinger <vapier@xxxxxxxxxx> -mike -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html