Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: leds: Add default-brightness property to common.yaml

Add default-brightness property to leds/common.yaml to establish a single
canonical definition for LED brightness initialization.

The property is currently defined locally in leds/leds-pwm.yaml and is
needed by auxdisplay/titanmec,tm16xx.yaml. Properties should be defined
in only one location to avoid type inconsistencies across bindings.

Signed-off-by: Jean-François Lessard <jefflessard3@gmail.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Jean-François Lessard and committed by
Lee Jones
2a7ee990 98888f6d

+6
+6
Documentation/devicetree/bindings/leds/common.yaml
··· 173 173 led-max-microamp. 174 174 $ref: /schemas/types.yaml#/definitions/uint32 175 175 176 + default-brightness: 177 + description: 178 + Brightness to be set if LED's default state is on. Used only during 179 + initialization. If the option is not set then max brightness is used. 180 + $ref: /schemas/types.yaml#/definitions/uint32 181 + 176 182 panic-indicator: 177 183 description: 178 184 This property specifies that the LED should be used, if at all possible,