On Sunday 21 June 2009, [email protected] wrote:

> +#define DM365_RTC_BASE               0x01c69000

This is actually the PRTCIF, which is used by more than just
the RTC.  I think there should be

 - a small mach-davinci/prtcif.c module that maps this
   region and exports accessor routines;

 - and a <mach/prtcif.c> module declaring those accessors
   plus maybe the dm365 registers in the prtcif module.

That prtcif.c might be a reasonable place to package the
support for the 11 GPIOs exported by that module, I guess.

There's not much to be done with those on the EVM, since
most of them go to the CPLD which then ignores them.  But
updated VHDL there, or another board, might well need to
use those GPIOs or their IRQs.

- Dave



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

Reply via email to