All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jacek Anaszewski <j.anaszewski@samsung.com>
To: "Sean Nyekjær" <Sean.Nyekjaer@prevas.dk>
Cc: "linux-leds@vger.kernel.org" <linux-leds@vger.kernel.org>
Subject: Re: Synchronized led trigger
Date: Fri, 14 Aug 2015 10:40:53 +0200	[thread overview]
Message-ID: <55CDA995.6010709@samsung.com> (raw)
In-Reply-To: <715D9F6A60DF2F458F39683D45F6609A7E22E57B@VMPREVAS1.prevas.se>

Hi Sean,

On 08/13/2015 09:37 AM, Sean Nyekjær wrote:
> Hi
>
> I couldn't find any synchronized led triggers in the kernel. The timer trigger was blinking in random when I tried to set our 5 leds. :-)

It is impossible to synchronize brightness setting operation for
different devices. It would only make sense for two separate
LED class devices exposed by a driver controlling one hardware
device. Effectively the issue boils down to the problem of
adding an API for synchronizing brightness setting operation
for several LED class devices exposed by a single LED class
driver. We were trying to implement similar functionality
for synchronizing flash strobe for LED flash class devices,
but it has been given up. You could try to pursue the subject
if you want, here are references: [1], [2].

> So i created this led trigger, which can blink with a half and one hz.
>
> Is there any place for something like this upstream? I'm prepared to make changes so it can be configured by the dtb or some other way.
>
> Cheers
> Sean Nyekjær
>

[1] https://lwn.net/Articles/634465/
[2] http://www.spinics.net/lists/linux-leds/msg02995.html

-- 
Best Regards,
Jacek Anaszewski

      reply	other threads:[~2015-08-14  8:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-13  7:37 Synchronized led trigger Sean Nyekjær
2015-08-14  8:40 ` Jacek Anaszewski [this message]

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=55CDA995.6010709@samsung.com \
    --to=j.anaszewski@samsung.com \
    --cc=Sean.Nyekjaer@prevas.dk \
    --cc=linux-leds@vger.kernel.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.