All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
To: Bjorn Andersson
	<bjorn.andersson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Cc: Greg KH <greg-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>,
	Richard Purdie <rpurdie-Fm38FmjxZ/leoWH0uzbU5w@public.gmane.org>,
	Jacek Anaszewski
	<jacek.anaszewski-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-leds-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Fenglin Wu <fenglinw-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
Subject: Re: [PATCH v3 1/3] leds: core: Introduce generic pattern interface
Date: Fri, 8 Dec 2017 15:27:55 +0100	[thread overview]
Message-ID: <20171208142755.GE7793@amd> (raw)
In-Reply-To: <20171121002102.GD28761@minitux>

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

Hi!

> > > > +KernelVersion:	4.14
> > > 
> > > And that kernel version is long since released :)
> > 
> > Yeah, the other problem is it has some interesting format with ":|"
> > marking repeat,
> 
> So what would you prefer?
> 
> We can either add another file ("pattern_repeat"?) that allows you to
> describe this separately or some other symbol.

pattern_repeat should work, yes. And we can make it == 0: repeat
forever. == 1 ... repeat just once. == n, repeat n times.

Some leds can support that in hardware.

Thanks,
									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 --]

WARNING: multiple messages have this Message-ID (diff)
From: Pavel Machek <pavel@ucw.cz>
To: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Greg KH <greg@kroah.com>, 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: Fri, 8 Dec 2017 15:27:55 +0100	[thread overview]
Message-ID: <20171208142755.GE7793@amd> (raw)
In-Reply-To: <20171121002102.GD28761@minitux>

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

Hi!

> > > > +KernelVersion:	4.14
> > > 
> > > And that kernel version is long since released :)
> > 
> > Yeah, the other problem is it has some interesting format with ":|"
> > marking repeat,
> 
> So what would you prefer?
> 
> We can either add another file ("pattern_repeat"?) that allows you to
> describe this separately or some other symbol.

pattern_repeat should work, yes. And we can make it == 0: repeat
forever. == 1 ... repeat just once. == n, repeat n times.

Some leds can support that in hardware.

Thanks,
									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 --]

  reply	other threads:[~2017-12-08 14:27 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-15  7:13 [PATCH v3 0/3] Qualcomm Light Pulse Generator Bjorn Andersson
2017-11-15  7:13 ` 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:13     ` Bjorn Andersson
2017-11-15  7:36     ` Greg KH
2017-11-20 23:20       ` Pavel Machek
2017-11-21  0:21         ` Bjorn Andersson
2017-12-08 14:27           ` Pavel Machek [this message]
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-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-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=20171208142755.GE7793@amd \
    --to=pavel-+zi9xunit7i@public.gmane.org \
    --cc=bjorn.andersson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=fenglinw-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
    --cc=greg-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org \
    --cc=jacek.anaszewski-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-leds-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
    --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=rpurdie-Fm38FmjxZ/leoWH0uzbU5w@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.