On Sunday 21 June 2009, [email protected] wrote:
> I would also like comments on where i am registering the
> RTC Driver for DM365. At present i register the RTC
> device in SOC specific file(dm365.c).
> RTC INTMUX should most probably be done in some other way
> than what i am doing at the moment.

I'd just add a comment that the alternative for INT 29
is getting a DDR2 EMIF interrupt, in case anyone gets
interested in handling such things.  Unless they do,
I can't see any reason not to handle it this way.


> I Added this just before registering the RTC.
> 
> Did some basic testing using this driver. "hwclock"
> command works. Also transitions between months/years/leap years
> has been verified

Try the "rtctest.c" at the end of Documentation/rtc.txt too,
that's the closest thing there is to a real test harness.

The once-per-second IRQs (first test case!) don't work.
A quick glance at docs suggests this RTC doesn't offer
such IRQs, just alarms on hour/minute/day match.  If so,
you should reject the once-per-second IRQs...

- Dave


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to