RTC class drivers and powerpc arch

2 messages, 2 authors, 2007-09-14 · open the first message on its own page

RTC class drivers and powerpc arch

From: Gerhard Pircher <hidden>
Date: 2007-09-14 08:39:10

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?

Thanks!

regards,

Gerhard
-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail

Re: RTC class drivers and powerpc arch

From: Kumar Gala <hidden>
Date: 2007-09-14 13:56:42

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help