summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2022-06-24 14:21:06 +0300
committerPavel Machek <pavel@ucw.cz>2022-07-17 15:45:01 +0300
commitde40c8496ead3e25d1e989999eed0c3ecee8fc96 (patch)
tree35e33866f7e96d103a7c201960657c855744fdb1 /Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml
parenta0ba692072d89075d0a75c7ad9df31f2c1ee9a1c (diff)
downloadlinux-de40c8496ead3e25d1e989999eed0c3ecee8fc96.tar.xz
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/cznic,turris-omnia-leds.yaml')
-rw-r--r--Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml b/Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml
index 9362b1ef9e88..14bebe1ad8f8 100644
--- a/Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml
+++ b/Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml
@@ -33,6 +33,8 @@ patternProperties:
"^multi-led@[0-9a-b]$":
type: object
$ref: leds-class-multicolor.yaml#
+ unevaluatedProperties: false
+
description:
This node represents one of the RGB LED devices on Turris Omnia.
No subnodes need to be added for subchannels since this controller only