linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "mahendra varman" <mahendravarman15@gmail.com>
To: linuxppc-embedded@ozlabs.org.,
	linux-kernel@vger.kernel.org,
	"linux-mips@linux-mips.org" <linux-mips@linux-mips.org>
Subject: rtc integration with hwclock
Date: Sun, 13 Jul 2008 20:23:26 +0530	[thread overview]
Message-ID: <4ac2955e0807130753ydaf0d10n9d95d4d51baf660b@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 451 bytes --]

Hi

Help me to solve the below point

Hi have wrote a simple i2c based driver for rtc chip (x1226) in linux 2.6
with inbuilt i2c routines.

In the get_rtc_time routine i can able to read the values from the rtc chip
and store it in variables

I need to know how to update those values into the rtc structure so that if
i put hwclock it should display the read value....


Any example code depicting the above point is also welcome


Thanks in advance

[-- Attachment #2: Type: text/html, Size: 498 bytes --]

                 reply	other threads:[~2008-07-13 14:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4ac2955e0807130753ydaf0d10n9d95d4d51baf660b@mail.gmail.com \
    --to=mahendravarman15@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=linuxppc-embedded@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;
as well as URLs for NNTP newsgroup(s).