From: Pavel Machek <pavel@ucw.cz>
To: Greg KH <greg@kroah.com>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>,
Richard Purdie <rpurdie@rpsys.net>,
Jacek Anaszewski <jacek.anaszewski@gmail.com>,
linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org,
linux-arm-msm@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
devicetree@vger.kernel.org, Fenglin Wu <fenglinw@codeaurora.org>
Subject: Re: [PATCH v3 1/3] leds: core: Introduce generic pattern interface
Date: Tue, 21 Nov 2017 00:20:15 +0100 [thread overview]
Message-ID: <20171120232015.GB13906@amd> (raw)
In-Reply-To: <20171115073642.GA21307@kroah.com>
[-- Attachment #1: Type: text/plain, Size: 1964 bytes --]
On Wed 2017-11-15 08:36:42, Greg KH wrote:
> On Tue, Nov 14, 2017 at 11:13:43PM -0800, Bjorn Andersson wrote:
> > Some LED controllers have support for autonomously controlling
> > brightness over time, according to some preprogrammed pattern or
> > function.
> >
> > This adds a new optional operator that LED class drivers can implement
> > if they support such functionality as well as a new device attribute to
> > configure the pattern for a given LED.
> >
> > Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> > ---
> >
> > Changes since v2:
> > - None
> >
> > Changes since v1:
> > - New patch, based on discussions following v1
> >
> > Documentation/ABI/testing/sysfs-class-led | 20 ++++
> > drivers/leds/led-class.c | 150 ++++++++++++++++++++++++++++++
> > include/linux/leds.h | 21 +++++
> > 3 files changed, 191 insertions(+)
> >
> > diff --git a/Documentation/ABI/testing/sysfs-class-led b/Documentation/ABI/testing/sysfs-class-led
> > index 5f67f7ab277b..74a7f5b1f89b 100644
> > --- a/Documentation/ABI/testing/sysfs-class-led
> > +++ b/Documentation/ABI/testing/sysfs-class-led
> > @@ -61,3 +61,23 @@ Description:
> > gpio and backlight triggers. In case of the backlight trigger,
> > it is useful when driving a LED which is intended to indicate
> > a device in a standby like state.
> > +
> > +What: /sys/class/leds/<led>/pattern
> > +Date: July 2017
>
> That was many months ago :)
>
> > +KernelVersion: 4.14
>
> And that kernel version is long since released :)
Yeah, the other problem is it has some interesting format with ":|"
marking repeat, and is not really suitable for RGB LEDs...
I'd really prefer to get driver in first, and add pattern interface
later.
Pavel
--
(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-11-20 23:20 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-15 7:13 [PATCH v3 0/3] Qualcomm Light Pulse Generator Bjorn Andersson
[not found] ` <20171115071345.24331-1-bjorn.andersson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2017-11-15 7:13 ` [PATCH v3 1/3] leds: core: Introduce generic pattern interface Bjorn Andersson
2017-11-15 7:36 ` Greg KH
2017-11-20 23:20 ` Pavel Machek [this message]
2017-11-21 0:21 ` Bjorn Andersson
2017-12-08 14:27 ` Pavel Machek
2017-11-21 20:33 ` Jacek Anaszewski
2017-11-15 7:13 ` [PATCH v3 2/3] leds: Add driver for Qualcomm LPG Bjorn Andersson
2017-11-19 21:36 ` Jacek Anaszewski
2017-11-20 21:10 ` Bjorn Andersson
2017-11-20 23:22 ` Pavel Machek
2017-11-21 22:01 ` Jacek Anaszewski
2017-11-21 22:00 ` Jacek Anaszewski
2017-11-15 7:13 ` [PATCH v3 3/3] DT: leds: Add Qualcomm Light Pulse Generator binding Bjorn Andersson
[not found] ` <20171115071345.24331-4-bjorn.andersson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2017-11-16 5:09 ` Rob Herring
2017-11-19 21:35 ` Jacek Anaszewski
2017-11-20 19:58 ` Bjorn Andersson
2017-11-20 20:35 ` Jacek Anaszewski
2017-11-20 21:45 ` Bjorn Andersson
2017-11-22 20:42 ` Jacek Anaszewski
2017-12-18 20:49 ` Bjorn Andersson
2017-12-19 21:30 ` Jacek Anaszewski
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=20171120232015.GB13906@amd \
--to=pavel@ucw.cz \
--cc=bjorn.andersson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=fenglinw@codeaurora.org \
--cc=greg@kroah.com \
--cc=jacek.anaszewski@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--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;
as well as URLs for NNTP newsgroup(s).