Skip to content

Commit 44e04fb

Browse files
geo-starklag-linaro
authored andcommitted
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 <[email protected]> Acked-by: Rob Herring (Arm) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent 4ca7cd9 commit 44e04fb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/devicetree/bindings/leds/leds-pwm.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ patternProperties:
3434
Maximum brightness possible for the LED
3535
$ref: /schemas/types.yaml#/definitions/uint32
3636

37+
default-brightness:
38+
description:
39+
Brightness to be set if LED's default state is on. Used only during
40+
initialization. If the option is not set then max brightness is used.
41+
$ref: /schemas/types.yaml#/definitions/uint32
42+
3743
required:
3844
- pwms
3945
- max-brightness

0 commit comments

Comments
 (0)