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

Re: RTC_PIE possible using via-pmu?



On Wed, Mar 30, 2005 at 10:36:15AM +1000, Benjamin Herrenschmidt wrote:
> On Tue, 2005-03-29 at 13:17 +0100, Martin Habets wrote:
> > RTC_IRQP_SET sets the periodic interrupt rate.
> > RTC_PIE_ON turns on periodic interrupts.
> > RTC_PIE_OFF turns off periodic interrupts.
> > 
> > There are similar ioctls for setting alarms, but I don't see those
> > used very often.
> > 
> > I've pasted the relevant part of my dmesg below. It seems the OpenPIC
> > timer frequency will limit the usability of above iotctls to 4.16MHz.
> > Is that right?
> 
> Oh, those periodic interrupt things are features of x86 RTC chips, they
> aren't available on other architectures, at least not all of them,
> definitely not on pmac.

Not on Motorola PowerPlus based boards either. The funny thing
is that these have a standard PC RTC, but the missing link (literally)
is that the interrupt line of the chip is not connected anywhere.

> 
> Why not just normal timers ?

For some of these applications, the high resolution timers will
come handy.

	Gabriel



Reply to: