mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 10:31:33 -04:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user