From: David Brownell <david-b@pacbell.net>
To: rtc-linux@googlegroups.com,
Linux Kernel list <linux-kernel@vger.kernel.org>,
linux-pm@lists.osdl.org
Cc: Andrew Morton <akpm@linux-foundation.org>,
Alessandro Zummo <alessandro.zummo@towertech.it>,
john stultz <johnstul@us.ibm.com>
Subject: [patch/rfc 0/6] rtc framework: remove class_device, use class suspend()/resume()
Date: Wed, 21 Feb 2007 19:45:14 -0800 [thread overview]
Message-ID: <200702211945.15003.david-b@pacbell.net> (raw)
Hi,
Following this message (on the RTC list) are six patches:
- Remove the /sys/class/rtc-dev class_device, and a class_interface
- Use "struct rtc_device" in the external interface, not class_device
- Simplify the sysfs attribute handling, removing a class_interface
- Simplify the /proc/driver/rtc handling, removing the last class_interface
- Remove the class_device in "struct rtc_device"; now suspend()/resume() work
- Implement class suspend()/resume() so the system clock is updated on resume
The main point of this series of patches is that last one, which I'll
circulate just a bit more widely. (Although I think the first four are
also nice cleanups!) It might be the first example of a framework that
uses the "new" class level suspend()/resume() calls to offload drivers.
Other than actually using that new PM infrastructure, this series should
be interesting since it addresses one of the few remaining obstacles to
having the "Generic Time-Of-Day" (GTOD) framework be fully generic, in
the sense of working with whatever RTC is available on the platform (which
includes ones accessed through I2C or SPI, so that spinlocked access is
insufficient) and removing arch-specific RTC hooks.
This has been lightly tested on one of the ARMs that doesn't yet have
new-style dynamic tick working. I'm sure fault paths need tweaking yet.
- Dave
next reply other threads:[~2007-02-22 3:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-22 3:45 David Brownell [this message]
2007-02-22 18:09 ` [patch/rfc 0/6] rtc framework: remove class_device, use class suspend()/resume() Greg KH
2007-02-22 20:44 ` David Brownell
2007-02-22 21:37 ` Alessandro Zummo
2007-02-22 22:21 ` David Brownell
2007-02-23 12:09 ` [rtc-linux] " Alessandro Zummo
2007-02-23 17:34 ` David Brownell
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=200702211945.15003.david-b@pacbell.net \
--to=david-b@pacbell.net \
--cc=akpm@linux-foundation.org \
--cc=alessandro.zummo@towertech.it \
--cc=johnstul@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.osdl.org \
--cc=rtc-linux@googlegroups.com \
/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