public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* RTC class drivers and powerpc arch
@ 2007-09-14  8:39 Gerhard Pircher
  2007-09-14 13:59 ` Kumar Gala
  0 siblings, 1 reply; 2+ messages in thread
From: Gerhard Pircher @ 2007-09-14  8:39 UTC (permalink / raw)
  To: linuxppc-dev

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: RTC class drivers and powerpc arch
  2007-09-14  8:39 RTC class drivers and powerpc arch Gerhard Pircher
@ 2007-09-14 13:59 ` Kumar Gala
  0 siblings, 0 replies; 2+ messages in thread
From: Kumar Gala @ 2007-09-14 13:59 UTC (permalink / raw)
  To: Gerhard Pircher; +Cc: linuxppc-dev


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-14 13:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-14  8:39 RTC class drivers and powerpc arch Gerhard Pircher
2007-09-14 13:59 ` Kumar Gala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox