From: Pavel Machek <pavel@ucw.cz>
To: Paulo Costa <me@paulo.costa.nom.br>
Cc: linux-leds@vger.kernel.org, Richard Purdie <rpurdie@rpsys.net>
Subject: Re: [PATCH v2] leds/trigger/cpu: Add LED trigger for all CPUs aggregated
Date: Fri, 10 Feb 2017 22:25:17 +0100 [thread overview]
Message-ID: <20170210212517.GB7711@amd> (raw)
In-Reply-To: <20170209230735.27007-1-me@paulo.costa.nom.br>
[-- Attachment #1: Type: text/plain, Size: 680 bytes --]
On Thu 2017-02-09 21:07:35, Paulo Costa wrote:
> Currently there is one CPU led trigger per cpu ('cpu0', 'cpu1', ...)
>
> This patch adds a new trigger, 'cpu', with brightness proportional to
> the number of active CPUs.
>
> If multiple brightness levels aren't supported on the LED,
> it effectively indicates if there is any CPU active.
>
> This is particularly useful on tiny linux boards with more CPU cores than LED pins.
>
> Signed-off-by: Paulo Costa <me@paulo.costa.nom.br>
Acked-by: Pavel Machek <pavel@ucw.cz>
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
next prev parent reply other threads:[~2017-02-10 21:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-09 23:07 [PATCH v2] leds/trigger/cpu: Add LED trigger for all CPUs aggregated Paulo Costa
2017-02-10 21:25 ` Pavel Machek [this message]
2017-02-12 20:45 ` Jacek Anaszewski
2017-02-13 0:49 ` Paulo Costa
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=20170210212517.GB7711@amd \
--to=pavel@ucw.cz \
--cc=linux-leds@vger.kernel.org \
--cc=me@paulo.costa.nom.br \
--cc=rpurdie@rpsys.net \
/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