RTC class drivers and powerpc arch
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
Signature · 2 lines
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
Quoted 7 lines · Gerhard Pircher
Hi,
Since todc was removed from
arch/powerpcI 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