diff options
author | George Stark <gnstark@salutedevices.com> | 2024-11-05 21:50:05 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-11-12 12:14:00 +0000 |
commit | 44e04fb8d69fa7fa4ec9a20762834eab1e7945af (patch) | |
tree | bc98a57614b1fab82700f5822007e91fd9abd140 | |
parent | 4ca7cd938725a4050dcd62ae9472e931d603118d (diff) | |
download | lwn-44e04fb8d69fa7fa4ec9a20762834eab1e7945af.tar.gz lwn-44e04fb8d69fa7fa4ec9a20762834eab1e7945af.zip |
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@salutedevices.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20241105185006.1380166-2-gnstark@salutedevices.com
Signed-off-by: Lee Jones <lee@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/leds/leds-pwm.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
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 |