RTC class drivers and powerpc arch

Kumar Gala galak at kernel.crashing.org
Fri Sep 14 23:59:37 EST 2007


On Sep 14, 2007, at 3:39 AM, Gerhard Pircher wrote:

> Hi,
>
> Since todc was removed from arch/powerpc I wonder how to use the  
> rtc-cmos
> RTC class driver for my AmigaOne with its VIA southbridge. Do I  
> have to
> define a platform device and the get/set_rtc_time hook functions or  
> can
> the driver probe for and access the hardware automatically, if  
> there's a
> device node for the RTC in the device tree?

Take a look at the RTC nodes that exist in arch/powerpc/boot/dts/ 
mpc8544ds.dts for an example related to rtc-cmos.

- k



More information about the Linuxppc-dev mailing list