[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20241105185006.1380166-2-gnstark@salutedevices.com>
Date: Tue, 5 Nov 2024 21:50:05 +0300
From: George Stark <gnstark@...utedevices.com>
To: <pavel@....cz>, <lee@...nel.org>, <robh@...nel.org>, <krzk+dt@...nel.org>,
<conor+dt@...nel.org>
CC: <linux-leds@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <kernel@...utedevices.com>, George Stark
<gnstark@...utedevices.com>
Subject: [RESEND PATCH v2 1/2] dt-bindings: leds: pwm: Add default-brightness property
Optional default-brightness property specifies brightness value to be
used if default LED state is on.
Signed-off-by: George Stark <gnstark@...utedevices.com>
Acked-by: Rob Herring (Arm) <robh@...nel.org>
---
Documentation/devicetree/bindings/leds/leds-pwm.yaml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/leds/leds-pwm.yaml b/Documentation/devicetree/bindings/leds/leds-pwm.yaml
index 113b7c218303..61b97e8bc36d 100644
--- a/Documentation/devicetree/bindings/leds/leds-pwm.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-pwm.yaml
@@ -34,6 +34,12 @@ patternProperties:
Maximum brightness possible for the LED
$ref: /schemas/types.yaml#/definitions/uint32
+ default-brightness:
+ description:
+ Brightness to be set if LED's default state is on. Used only during
+ initialization. If the option is not set then max brightness is used.
+ $ref: /schemas/types.yaml#/definitions/uint32
+
required:
- pwms
- max-brightness
--
2.25.1
Powered by blists - more mailing lists