From: Christian Marangi Date: Wed, 26 Jun 2024 16:00:06 +0000 (+0200) Subject: dt-bindings: leds-lp55xx: Limit pwr-sel property to ti,lp8501 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=468434a059a7d1fad4b98c2ca080817b1520cbdc;p=users%2Fjedix%2Flinux-maple.git dt-bindings: leds-lp55xx: Limit pwr-sel property to ti,lp8501 pwr-sel property is specific to ti,lp8501, make it conditional of the related compatible. Signed-off-by: Christian Marangi Acked-by: Rob Herring (Arm) Link: https://lore.kernel.org/r/20240626160027.19703-2-ansuelsmth@gmail.com Signed-off-by: Lee Jones --- diff --git a/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml b/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml index e9d4514d0166..77828dedbb9f 100644 --- a/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml +++ b/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml @@ -151,6 +151,16 @@ patternProperties: $ref: /schemas/types.yaml#/definitions/string description: name of channel +if: + not: + properties: + compatible: + contains: + const: ti,lp8501 +then: + properties: + pwr-sel: false + required: - compatible - reg