From: Sven Schwermer <sven@svenschwermer.de>
To: linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org,
pavel@ucw.cz, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org, dmurphy@ti.com,
devicetree@vger.kernel.org
Cc: Sven Schwermer <sven.schwermer@disruptive-technologies.com>
Subject: [PATCH v2 1/2] dt-bindings: leds: Add multi-color default-intensities property
Date: Tue, 3 May 2022 13:27:06 +0200 [thread overview]
Message-ID: <364df52a196fa0ae5db07e599995fcf8dfafb43e.1651577132.git.sven.schwermer@disruptive-technologies.com> (raw)
In-Reply-To: <20220502204616.GA27288@ucw.cz>
From: Sven Schwermer <sven.schwermer@disruptive-technologies.com>
This allows to assign intensity values to the indivisual sub LEDs
(colors) at driver probe time, i.e. most commonly at kernel boot time.
This is crucial for setting a specific color early in the boot process.
Signed-off-by: Sven Schwermer <sven.schwermer@disruptive-technologies.com>
---
Notes:
V1->V2: no changes
.../devicetree/bindings/leds/leds-class-multicolor.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml b/Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml
index 37445c68cdef..c483967a847c 100644
--- a/Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml
@@ -31,6 +31,13 @@ patternProperties:
include/linux/leds/common.h.
enum: [ 8, 9 ]
+ default-intensities:
+ description: |
+ This parameter, if present, sets the initial intensities of the
+ individual colors. This array must have the same length as the
+ multi-color LED has sub LEDs (colors).
+ $ref: /schemas/types.yaml#/definitions/uint32-array
+
$ref: "common.yaml#"
required:
--
2.36.0
next prev parent reply other threads:[~2022-05-03 11:27 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
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 ` Sven Schwermer [this message]
2022-05-03 11:27 ` [PATCH v2 " 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=364df52a196fa0ae5db07e599995fcf8dfafb43e.1651577132.git.sven.schwermer@disruptive-technologies.com \
--to=sven@svenschwermer.de \
--cc=devicetree@vger.kernel.org \
--cc=dmurphy@ti.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=robh+dt@kernel.org \
--cc=sven.schwermer@disruptive-technologies.com \
/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.