[PATCH 2/4] dt-bindings: leds: lp55xx: allow label

From: Krzysztof Kozlowski
Date: Fri Nov 25 2022 - 09:33:53 EST


The Linux driver and at least one upstream board use 'label' property:

qcom/msm8996-xiaomi-gemini.dtb: lp5562@30: 'label' does not match any of the regexes: '^led@[0-8]$', '^multi-led@[0-8]$', 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
---
Documentation/devicetree/bindings/leds/leds-lp55xx.yaml | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml b/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml
index 7ec676e53851..dfaa957eee74 100644
--- a/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml
@@ -48,6 +48,8 @@ properties:
description: |
GPIO attached to the chip's enable pin

+ label: true
+
pwr-sel:
$ref: /schemas/types.yaml#/definitions/uint8
description: |
--
2.34.1