From: George Stark Date: Tue, 5 Nov 2024 18:50:05 +0000 (+0300) Subject: dt-bindings: leds: pwm: Add default-brightness property X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=44e04fb8d69fa7fa4ec9a20762834eab1e7945af;p=users%2Fjedix%2Flinux-maple.git 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 Acked-by: Rob Herring (Arm) Link: https://lore.kernel.org/r/20241105185006.1380166-2-gnstark@salutedevices.com Signed-off-by: Lee Jones --- 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