All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Sven Schwermer <sven@svenschwermer.de>
Cc: linux-leds@vger.kernel.org
Subject: Re: Initial multicolor LED intensities
Date: Mon, 2 May 2022 22:46:16 +0200	[thread overview]
Message-ID: <20220502204616.GA27288@ucw.cz> (raw)
In-Reply-To: <bee0ab23-1324-6989-1d67-a6b4e9e29bdb@svenschwermer.de>

Hi!

> Is there a way to assign initial (non-zero) intensities to the individual
> colors of a multicolor LED via the device tree?

I don't believe we have such functionality. Patch would be welcome.

> In my use case, I'd like to assign a default trigger to a multicolor LED
> (e.g. linux,default-trigger="heartbeat"). However, since the color
> intensities are zero upon boot, I don't get a heartbeat on the multicolor
> LED.

Hmm. Defaulting to zero does not really make much sense. I guess we
should default to full on all channels?

Best regards,
								Pavel

  reply	other threads:[~2022-05-02 20:46 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-02 14:09 Initial multicolor LED intensities Sven Schwermer
2022-05-02 20:46 ` Pavel Machek [this message]
2022-05-03 11:04   ` [PATCH v1 1/2] dt-bindings: leds: Add multi-color default-intensities property Sven Schwermer
2022-05-03 11:04     ` [PATCH v1 2/2] leds: multicolor: Read " Sven Schwermer
2022-05-03 11:27   ` [PATCH v2 1/2] dt-bindings: leds: Add multi-color " Sven Schwermer
2022-05-03 11:27     ` [PATCH v2 2/2] leds: multicolor: Read " Sven Schwermer
2022-05-03 13:50     ` AW: [PATCH v2 1/2] dt-bindings: leds: Add multi-color " Sven Schuchmann
2022-05-03 18:58       ` Sven Schwermer
2022-05-04  7:17         ` AW: " Sven Schuchmann
2022-05-04  9:24           ` Sven Schwermer
2022-05-08 19:55             ` Jacek Anaszewski
2022-05-10 18:31               ` Sven Schwermer
2022-05-10 22:00                 ` Jacek Anaszewski
2022-05-05  9:50   ` [PATCH v3 " Sven Schwermer
2022-05-05  9:50     ` [PATCH v3 2/2] leds: multicolor: Read " Sven Schwermer
2022-05-17  0:08     ` [PATCH v3 1/2] dt-bindings: leds: Add multi-color " Rob Herring

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=20220502204616.GA27288@ucw.cz \
    --to=pavel@ucw.cz \
    --cc=linux-leds@vger.kernel.org \
    --cc=sven@svenschwermer.de \
    /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.