dt-bindings: leds: class-multicolor: reference class directly in multi-led node
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 24 Jun 2022 11:21:06 +0000 (13:21 +0200)
committerPavel Machek <pavel@ucw.cz>
Sun, 17 Jul 2022 12:45:01 +0000 (14:45 +0200)
commitde40c8496ead3e25d1e989999eed0c3ecee8fc96
tree35e33866f7e96d103a7c201960657c855744fdb1
parenta0ba692072d89075d0a75c7ad9df31f2c1ee9a1c
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>
Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml
Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml
Documentation/devicetree/bindings/leds/leds-lp50xx.yaml
Documentation/devicetree/bindings/leds/leds-pwm-multicolor.yaml
Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml