Commit e625e223 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Pavel Machek

dt-bindings: leds: pwm-multicolor: document max-brigthness

The Multicolor PWM LED uses max-brigthness property (in the example and
in the driver), so document it to fixi dt_binding_check warning like:

  leds/leds-pwm-multicolor.example.dtb:
    led-controller: multi-led: Unevaluated properties are not allowed ('max-brightness' was unexpected)
Reported-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
parent a01633cd
......@@ -22,6 +22,12 @@ properties:
$ref: leds-class-multicolor.yaml#
unevaluatedProperties: false
properties:
max-brightness:
description:
Maximum brightness possible for the LED
$ref: /schemas/types.yaml#/definitions/uint32
patternProperties:
"^led-[0-9a-z]+$":
type: object
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment