From: bryan.wu@canonical.com (Bryan Wu)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/4] Introduce a led trigger for CPU activity
Date: Sun, 26 Jun 2011 06:10:00 +0800 [thread overview]
Message-ID: <1309039804-659-1-git-send-email-bryan.wu@canonical.com> (raw)
Based on Linus Walleij's ARM LED consolidation work, this patchset introduce a
new generic led trigger for CPU not only for ARM but also for others.
For enabling CPU idle event, CPU arch code should call ledtrig_cpu() stub to
trigger idle start or idle end event.
These 4 patches is against 3.0-rc4 and build successfully for versatile and
realview.
Bryan Wu (2):
leds: create a trigger for CPU activity
ARM: use new LEDS CPU trigger stub to replace old one
Linus Walleij (2):
mach-realview: retire custom LED code
mach-versatile: retire custom LED code
arch/arm/kernel/process.c | 6 +-
arch/arm/mach-realview/core.c | 39 --------
arch/arm/mach-realview/core.h | 2 -
arch/arm/mach-realview/realview_eb.c | 4 -
arch/arm/mach-realview/realview_pb1176.c | 4 -
arch/arm/mach-realview/realview_pb11mp.c | 4 -
arch/arm/mach-realview/realview_pba8.c | 4 -
arch/arm/mach-realview/realview_pbx.c | 4 -
arch/arm/mach-versatile/core.c | 42 ---------
arch/arm/plat-versatile/Kconfig | 6 +-
arch/arm/plat-versatile/leds.c | 13 ++-
drivers/leds/Kconfig | 10 ++
drivers/leds/Makefile | 1 +
drivers/leds/ledtrig-cpu.c | 145 ++++++++++++++++++++++++++++++
include/linux/leds.h | 15 +++
15 files changed, 188 insertions(+), 111 deletions(-)
create mode 100644 drivers/leds/ledtrig-cpu.c
--
1.7.4.1
next reply other threads:[~2011-06-25 22:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-25 22:10 Bryan Wu [this message]
2011-06-25 22:10 ` [PATCH 1/4] leds: create a trigger for CPU activity Bryan Wu
2011-06-25 22:10 ` [PATCH 2/4] ARM: use new LEDS CPU trigger stub to replace old one Bryan Wu
2011-06-26 11:08 ` Linus Walleij
2011-06-27 6:00 ` Bryan Wu
2011-06-25 22:10 ` [PATCH 3/4] mach-realview: retire custom LED code Bryan Wu
2011-06-26 11:10 ` Linus Walleij
2011-06-25 22:10 ` [PATCH 4/4] mach-versatile: " Bryan Wu
2011-06-26 11:02 ` [PATCH 0/4] Introduce a led trigger for CPU activity Linus Walleij
2011-06-27 5:59 ` Bryan Wu
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=1309039804-659-1-git-send-email-bryan.wu@canonical.com \
--to=bryan.wu@canonical.com \
--cc=linux-arm-kernel@lists.infradead.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).