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

Krzysztof Kozlowski
2022-11-27T20:41:13Z

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@linaro.org>
---
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