diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2022-06-24 13:21:06 +0200 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2022-07-17 14:45:01 +0200 |
commit | de40c8496ead3e25d1e989999eed0c3ecee8fc96 (patch) | |
tree | 35e33866f7e96d103a7c201960657c855744fdb1 /Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml | |
parent | a0ba692072d89075d0a75c7ad9df31f2c1ee9a1c (diff) |
dt-bindings: leds: class-multicolor: reference class directly in multi-led node
The leds/common.yaml is referenced directly in each LED node, which
leads to people doing the same with leds/leds-class-multicolor.yaml.
This is not correct because leds-class-multicolor.yaml defined multi-led
property and its children. Some schemas implemented this incorrect.
Rework this to match same behavior common.yaml, so expect the multi-led
node to reference the leds-class-multicolor.yaml. Fixing allows to add
unevaluatedProperties:false.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml index 409a4c7298e1..fe336fa16518 100644 --- a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml +++ b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml @@ -58,6 +58,8 @@ properties: multi-led: type: object $ref: leds-class-multicolor.yaml# + unevaluatedProperties: false + properties: "#address-cells": const: 1 |