[PATCH v2] Create add_rtc() function to enable the RTC CMOS driver

Segher Boessenkool segher at kernel.crashing.org
Wed Jun 20 20:06:48 EST 2007


> This creates a function to register the platform device based on the 
> RTC
> device node and verifies that the RTC port against the hard-coded value
> in asm/mc146818rtc.h.  It also sets the RTC to 24-hr mode as 12-hr mode
> is not currently supported by the driver.

The 24h thing should be set in the driver itself.  Does the
driver handle binary vs. decimal mode btw?  If not, you'll
want to do the analogue thing for that.


Segher




More information about the Linuxppc-dev mailing list