From: Krzysztof Kozlowski Date: Tue, 19 Jul 2022 07:45:42 +0000 (+0200) Subject: dt-bindings: leds: pwm-multicolor: document max-brigthness X-Git-Tag: v6.1-rc5~653^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e625e2238a270df743cbc623b3abad8d0010abc9;p=platform%2Fkernel%2Flinux-starfive.git 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: Rob Herring Reviewed-by: Rob Herring Signed-off-by: Krzysztof Kozlowski Signed-off-by: Pavel Machek --- diff --git a/Documentation/devicetree/bindings/leds/leds-pwm-multicolor.yaml b/Documentation/devicetree/bindings/leds/leds-pwm-multicolor.yaml index 70b4bad..43f1cd6a 100644 --- a/Documentation/devicetree/bindings/leds/leds-pwm-multicolor.yaml +++ b/Documentation/devicetree/bindings/leds/leds-pwm-multicolor.yaml @@ -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