LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Kumar Gala <galak@kernel.crashing.org>
To: Gerhard Pircher <gerhard_pircher@gmx.net>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: RTC class drivers and powerpc arch
Date: Fri, 14 Sep 2007 08:59:37 -0500	[thread overview]
Message-ID: <721E5D4F-1BDD-4A63-90B7-92D62386DF24@kernel.crashing.org> (raw)
In-Reply-To: <20070914083907.321820@gmx.net>


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

      reply	other threads:[~2007-09-14 13:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-14  8:39 RTC class drivers and powerpc arch Gerhard Pircher
2007-09-14 13:59 ` Kumar Gala [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=721E5D4F-1BDD-4A63-90B7-92D62386DF24@kernel.crashing.org \
    --to=galak@kernel.crashing.org \
    --cc=gerhard_pircher@gmx.net \
    --cc=linuxppc-dev@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox